public static class LeftInputAdapterNode.RightTupleSinkAdapter extends Object implements ObjectSink
Constructor and Description |
---|
RightTupleSinkAdapter(LeftInputAdapterNode liaNode) |
RightTupleSinkAdapter(LeftTupleSink sink,
boolean leftTupleMemoryEnabled) |
Modifier and Type | Method and Description |
---|---|
void |
assertObject(InternalFactHandle factHandle,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
byPassModifyToBetaNode(InternalFactHandle factHandle,
ModifyPreviousTuples modifyPreviousTuples,
PropagationContext context,
InternalWorkingMemory workingMemory) |
int |
getAssociatedRuleSize()
Returns the number of rules that are associated with this node,
regardless of how many times the node is associated with a single rule.
|
int |
getAssociationsSize()
Returns how many times this nodes has been associated.
|
int |
getAssociationsSize(org.kie.api.definition.rule.Rule rule) |
int |
getId()
Returns the unique id that represents the node in the Rete network
|
RuleBasePartitionId |
getPartitionId()
Returns the partition ID to which this node belongs to
|
short |
getType() |
boolean |
isAssociatedWith(org.kie.api.definition.rule.Rule rule) |
void |
modifyObject(InternalFactHandle factHandle,
ModifyPreviousTuples modifyPreviousTuples,
PropagationContext context,
InternalWorkingMemory workingMemory) |
int |
nodeHashCode() |
void |
readExternal(ObjectInput in) |
boolean |
thisNodeEquals(Object object) |
void |
writeExternal(ObjectOutput out) |
public RightTupleSinkAdapter(LeftInputAdapterNode liaNode)
public RightTupleSinkAdapter(LeftTupleSink sink, boolean leftTupleMemoryEnabled)
public void assertObject(InternalFactHandle factHandle, PropagationContext context, InternalWorkingMemory workingMemory)
assertObject
in interface ObjectSink
public void modifyObject(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
modifyObject
in interface ObjectSink
public int getId()
NetworkNode
getId
in interface NetworkNode
public RuleBasePartitionId getPartitionId()
NetworkNode
getPartitionId
in interface NetworkNode
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void byPassModifyToBetaNode(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
byPassModifyToBetaNode
in interface ObjectSink
public short getType()
getType
in interface NetworkNode
public int getAssociationsSize()
NetworkNode
getAssociationsSize
in interface NetworkNode
public int getAssociatedRuleSize()
NetworkNode
getAssociatedRuleSize
in interface NetworkNode
public int getAssociationsSize(org.kie.api.definition.rule.Rule rule)
getAssociationsSize
in interface NetworkNode
public boolean isAssociatedWith(org.kie.api.definition.rule.Rule rule)
isAssociatedWith
in interface NetworkNode
public boolean thisNodeEquals(Object object)
public int nodeHashCode()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.