Drools :: Core 6.1.0.Beta1

org.drools.core.reteoo
Interface LeftTupleSink

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

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, LeftTuple leftTuple, LeftTupleSink sink)
           
 LeftTuple createLeftTuple(InternalFactHandle factHandle, LeftTupleSink sink, boolean leftTupleMemoryEnabled)
           
 LeftTuple createLeftTuple(LeftTuple leftTuple, LeftTupleSink sink, PropagationContext pctx, boolean leftTupleMemoryEnabled)
           
 LeftTuple createLeftTuple(LeftTuple leftTuple, RightTuple rightTuple, LeftTuple currentLeftChild, LeftTuple currentRightChild, LeftTupleSink sink, boolean leftTupleMemoryEnabled)
           
 LeftTuple createLeftTuple(LeftTuple leftTuple, RightTuple rightTuple, LeftTupleSink sink)
           
 LeftTuple createPeer(LeftTuple original)
           
 long getLeftInferredMask()
           
 ObjectTypeNode.Id getLeftInputOtnId()
           
 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 setLeftInputOtnId(ObjectTypeNode.Id leftInputOtnId)
           
 void setLeftTupleMemoryEnabled(boolean tupleMemoryEnabled)
           
 
Methods inherited from interface org.drools.core.common.NetworkNode
getAssociations, getId, getPartitionId
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

getType

short getType()
Specified by:
getType in interface NetworkNode

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)

createPeer

LeftTuple createPeer(LeftTuple original)

createLeftTuple

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

createLeftTuple

LeftTuple createLeftTuple(InternalFactHandle factHandle,
                          LeftTuple leftTuple,
                          LeftTupleSink sink)

createLeftTuple

LeftTuple createLeftTuple(LeftTuple leftTuple,
                          LeftTupleSink sink,
                          PropagationContext pctx,
                          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)

getLeftInputOtnId

ObjectTypeNode.Id getLeftInputOtnId()

setLeftInputOtnId

void setLeftInputOtnId(ObjectTypeNode.Id leftInputOtnId)

getLeftInferredMask

long getLeftInferredMask()

Drools :: Core 6.1.0.Beta1

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