Drools :: Core 6.0.0.Beta5

org.drools.core.reteoo
Class LeftInputAdapterNode.RightTupleSinkAdapter

java.lang.Object
  extended by 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

Constructor Summary
LeftInputAdapterNode.RightTupleSinkAdapter(LeftInputAdapterNode liaNode)
           
LeftInputAdapterNode.RightTupleSinkAdapter(LeftTupleSink sink, boolean leftTupleMemoryEnabled)
           
 
Method Summary
 void assertObject(InternalFactHandle factHandle, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void byPassModifyToBetaNode(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
           
 Map<org.kie.api.definition.rule.Rule,RuleComponent> getAssociations()
           
 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()
           
 void modifyObject(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeftInputAdapterNode.RightTupleSinkAdapter

public LeftInputAdapterNode.RightTupleSinkAdapter(LeftInputAdapterNode liaNode)

LeftInputAdapterNode.RightTupleSinkAdapter

public LeftInputAdapterNode.RightTupleSinkAdapter(LeftTupleSink sink,
                                                  boolean leftTupleMemoryEnabled)
Method Detail

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

Drools :: Core 6.0.0.Beta5

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.