org.drools.reteoo
Interface LeftTupleSink

All Superinterfaces:
Externalizable, NetworkNode, Serializable, Sink
All Known Subinterfaces:
LeftTupleSinkNode, TerminalNode
All Known Implementing Classes:
AccumulateNode, BetaNode, ElseNode, EvalConditionNode, ExistsNode, FromNode, JoinNode, NotNode, QueryElementNode, QueryRiaFixerNode, QueryTerminalNode, RightInputAdapterNode, RuleTerminalNode

public interface LeftTupleSink
extends Externalizable, Sink

Receiver of propagated ReteTuples from a TupleSource.

See Also:
LeftTupleSource

Method Summary
 void assertLeftTuple(LeftTuple leftTuple, PropagationContext context, InternalWorkingMemory workingMemory)
          Assert a new ReteTuple.
 LeftTuple createLeftTuple(InternalFactHandle factHandle, LeftTupleSink sink, boolean leftTupleMemoryEnabled)
           
 LeftTuple createLeftTuple(LeftTuple leftTuple, LeftTupleSink sink, boolean leftTupleMemoryEnabled)
           
 LeftTuple createLeftTuple(LeftTuple leftTuple, RightTuple rightTuple, LeftTuple currentLeftChild, LeftTuple currentRightChild, LeftTupleSink sink, boolean leftTupleMemoryEnabled)
           
 LeftTuple createLeftTuple(LeftTuple leftTuple, RightTuple rightTuple, LeftTupleSink sink)
           
 LeftTupleSource getLeftTupleSource()
           
 short getType()
           
 boolean isLeftTupleMemoryEnabled()
           
 void modifyLeftTuple(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void modifyLeftTuple(LeftTuple leftTuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void retractLeftTuple(LeftTuple leftTuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void setLeftTupleMemoryEnabled(boolean tupleMemoryEnabled)
           
 
Methods inherited from interface org.drools.common.NetworkNode
getId, getPartitionId
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

getType

short getType()

assertLeftTuple

void assertLeftTuple(LeftTuple leftTuple,
                     PropagationContext context,
                     InternalWorkingMemory workingMemory)
Assert a new ReteTuple.

Parameters:
leftTuple - The ReteTuple to propagate.
context - The PropagationContext of the WorkingMemory action
workingMemory - the WorkingMemory session.

retractLeftTuple

void retractLeftTuple(LeftTuple leftTuple,
                      PropagationContext context,
                      InternalWorkingMemory workingMemory)

isLeftTupleMemoryEnabled

boolean isLeftTupleMemoryEnabled()

setLeftTupleMemoryEnabled

void setLeftTupleMemoryEnabled(boolean tupleMemoryEnabled)

modifyLeftTuple

void modifyLeftTuple(InternalFactHandle factHandle,
                     ModifyPreviousTuples modifyPreviousTuples,
                     PropagationContext context,
                     InternalWorkingMemory workingMemory)

getLeftTupleSource

LeftTupleSource getLeftTupleSource()

modifyLeftTuple

void modifyLeftTuple(LeftTuple leftTuple,
                     PropagationContext context,
                     InternalWorkingMemory workingMemory)

createLeftTuple

LeftTuple createLeftTuple(InternalFactHandle factHandle,
                          LeftTupleSink sink,
                          boolean leftTupleMemoryEnabled)

createLeftTuple

LeftTuple createLeftTuple(LeftTuple leftTuple,
                          LeftTupleSink sink,
                          boolean leftTupleMemoryEnabled)

createLeftTuple

LeftTuple createLeftTuple(LeftTuple leftTuple,
                          RightTuple rightTuple,
                          LeftTupleSink sink)

createLeftTuple

LeftTuple createLeftTuple(LeftTuple leftTuple,
                          RightTuple rightTuple,
                          LeftTuple currentLeftChild,
                          LeftTuple currentRightChild,
                          LeftTupleSink sink,
                          boolean leftTupleMemoryEnabled)


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