|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.reteoo.JoinMemory
Memory for left and right inputs of a JoinNode
.
ReteTuple
Constructor Summary | |
(package private) |
JoinMemory(Set tupleDeclarations,
Set commonDeclarations)
Construct. |
Method Summary | |
(package private) TupleSet |
addLeftTuple(ReteTuple tuple)
Add a ReteTuple received from the JoinNode's
left input to the left side of this memory, and attempt to join to
existing Tuples in the right side. |
(package private) TupleSet |
addRightTuple(ReteTuple tuple)
Add a ReteTuple received from the JoinNode's
right input to the right side of this memory, and attempt to join to
existing Tuples in the left side. |
void |
dump()
|
protected TupleSet |
getLeftTuples()
Retrieve the List of Tuples held in the
left side memory. |
protected TupleSet |
getRightTuples()
Retrieve the List of Tuples held in the
right side memory. |
(package private) TupleSet |
modifyLeftTuples(FactHandle trigger)
Modify tuples on the left-side. |
(package private) TupleSet |
modifyRightTuples(FactHandle trigger)
Modify tuples on the right-side. |
(package private) boolean |
retractTuples(TupleKey key)
Retract tuples from this memory. |
String |
toString()
Produce debug string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
JoinMemory(Set tupleDeclarations, Set commonDeclarations)
tupleDeclarations
- commonDeclarations
- Method Detail |
boolean retractTuples(TupleKey key)
key
- The key for the tuples to be removed.
true
if at least one tuple was removed; false
otherwise.TupleSet addLeftTuple(ReteTuple tuple)
ReteTuple
received from the JoinNode's
left input to the left side of this memory, and attempt to join to
existing Tuples
in the right side.
tuple
- The Tuple
to add to the left side memory.
Set
of Tuples
successfully
created by joining the incoming tuple
against
existing Tuples
on the right side memory.JoinNode
,
ReteTuple
TupleSet addRightTuple(ReteTuple tuple)
ReteTuple
received from the JoinNode's
right input to the right side of this memory, and attempt to join to
existing Tuples
in the left side.
tuple
- The Tuple
to add to the right side memory.
Set
of Tuples
successfully
created by joining the incoming tuple
against
existing Tuples
on the left side memory.JoinNode
,
ReteTuple
protected TupleSet getLeftTuples()
List
of Tuples
held in the
left side memory.
List
of Tuples
help in the left
side memory.protected TupleSet getRightTuples()
List
of Tuples
held in the
right side memory.
List
of Tuples
help in the
right side memory.TupleSet modifyLeftTuples(FactHandle trigger)
trigger
- Triggering object handle.
TupleSet modifyRightTuples(FactHandle trigger)
trigger
- Triggering object handle.
public String toString()
public void dump()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |