org.drools.core.reteoo
Class LeftInputAdapterNode.RightTupleSinkAdapter
java.lang.Object
org.drools.core.reteoo.LeftInputAdapterNode.RightTupleSinkAdapter
- All Implemented Interfaces:
- Externalizable, Serializable, NetworkNode, ObjectSink, Sink
- Enclosing class:
- LeftInputAdapterNode
public static class LeftInputAdapterNode.RightTupleSinkAdapter
- extends Object
- implements ObjectSink
Used with the updateSink method, so that the parent ObjectSource
can update the TupleSink
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LeftInputAdapterNode.RightTupleSinkAdapter
public LeftInputAdapterNode.RightTupleSinkAdapter(LeftInputAdapterNode liaNode)
LeftInputAdapterNode.RightTupleSinkAdapter
public LeftInputAdapterNode.RightTupleSinkAdapter(LeftTupleSink sink,
boolean leftTupleMemoryEnabled)
assertObject
public void assertObject(InternalFactHandle factHandle,
PropagationContext context,
InternalWorkingMemory workingMemory)
- Specified by:
assertObject in interface ObjectSink
modifyObject
public void modifyObject(InternalFactHandle factHandle,
ModifyPreviousTuples modifyPreviousTuples,
PropagationContext context,
InternalWorkingMemory workingMemory)
- Specified by:
modifyObject in interface ObjectSink
getId
public int getId()
- Description copied from interface:
NetworkNode
- Returns the unique id that represents the node in the Rete network
- Specified by:
getId in interface NetworkNode
- Returns:
- unique int value
getPartitionId
public RuleBasePartitionId getPartitionId()
- Description copied from interface:
NetworkNode
- Returns the partition ID to which this node belongs to
- Specified by:
getPartitionId in interface NetworkNode
- Returns:
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
byPassModifyToBetaNode
public void byPassModifyToBetaNode(InternalFactHandle factHandle,
ModifyPreviousTuples modifyPreviousTuples,
PropagationContext context,
InternalWorkingMemory workingMemory)
- Specified by:
byPassModifyToBetaNode in interface ObjectSink
getType
public short getType()
- Specified by:
getType in interface NetworkNode
getAssociations
public Map<org.kie.api.definition.rule.Rule,RuleComponent> getAssociations()
- Specified by:
getAssociations in interface NetworkNode
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.