|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.reteoo.JoinNodeInput
Input TupleSinkImpl
for a JoinNodeImpl
.
JoinNode
Field Summary | |
(package private) static int |
LEFT
Left-side input. |
(package private) static int |
RIGHT
Right-side input. |
Constructor Summary | |
(package private) |
JoinNodeInput(JoinNode joinNode,
int side)
Construct. |
Method Summary | |
void |
assertTuple(ReteTuple tuple,
WorkingMemoryImpl workingMemory)
Assert a new Tuple . |
(package private) JoinNode |
getJoinNode()
Retrieve the destination join node. |
(package private) int |
getSide()
Retrieve the side marker. |
void |
modifyTuples(FactHandle trigger,
TupleSet newTuples,
WorkingMemoryImpl workingMemory)
Modify tuples. |
void |
retractTuples(TupleKey key,
WorkingMemoryImpl workingMemory)
Retract tuples. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static final int LEFT
static final int RIGHT
Constructor Detail |
JoinNodeInput(JoinNode joinNode, int side)
joinNode
- Join node.side
- Side marker.Method Detail |
public String toString()
int getSide()
JoinNode getJoinNode()
public void assertTuple(ReteTuple tuple, WorkingMemoryImpl workingMemory) throws AssertionException
Tuple
.
assertTuple
in interface TupleSink
tuple
- The Tuple
being asserted.workingMemory
- The working memory seesion.
AssertionException
- If an error occurs while asserting.public void retractTuples(TupleKey key, WorkingMemoryImpl workingMemory) throws RetractionException
retractTuples
in interface TupleSink
key
- The tuple key.workingMemory
- The working memory seesion.
RetractionException
- If an error occurs while retracting.public void modifyTuples(FactHandle trigger, TupleSet newTuples, WorkingMemoryImpl workingMemory) throws FactException
modifyTuples
in interface TupleSink
trigger
- The root fact object handle.newTuples
- Modification replacement tuples.workingMemory
- The working memory session.
FactException
- If an error occurs while modifying.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |