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 ObjectSinkpublic void modifyObject(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
modifyObject in interface ObjectSinkpublic int getId()
NetworkNodegetId in interface NetworkNodepublic RuleBasePartitionId getPartitionId()
NetworkNodegetPartitionId in interface NetworkNodepublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void byPassModifyToBetaNode(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
byPassModifyToBetaNode in interface ObjectSinkpublic short getType()
getType in interface NetworkNodepublic int getAssociationsSize()
NetworkNodegetAssociationsSize in interface NetworkNodepublic int getAssociatedRuleSize()
NetworkNodegetAssociatedRuleSize in interface NetworkNodepublic int getAssociationsSize(org.kie.api.definition.rule.Rule rule)
getAssociationsSize in interface NetworkNodepublic boolean isAssociatedWith(org.kie.api.definition.rule.Rule rule)
isAssociatedWith in interface NetworkNodepublic boolean thisNodeEquals(Object object)
thisNodeEquals in interface NetworkNodepublic int nodeHashCode()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.