org.drools.reteoo
Interface LeftTupleSink
- All Superinterfaces:
- Externalizable, NetworkNode, Serializable, Sink
- All Known Subinterfaces:
- LeftTupleSinkNode, TerminalNode
- All Known Implementing Classes:
- AbstractTerminalNode, AccumulateNode, BetaNode, ConditionalBranchNode, 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)
|
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)
|
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 actionworkingMemory - 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)
getLeftInputOtnId
ObjectTypeNode.Id getLeftInputOtnId()
setLeftInputOtnId
void setLeftInputOtnId(ObjectTypeNode.Id leftInputOtnId)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.