org.drools.reteoo
Interface LeftTupleSink

All Superinterfaces:
Externalizable, NetworkNode, Serializable, Sink
All Known Subinterfaces:
LeftTupleSinkNode, TerminalNode
All Known Implementing Classes:
AccumulateNode, BetaNode, 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.
 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)

modifyLeftTuple

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


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.