|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.reteoo.JoinMemory
class JoinMemory
Memory for left and right inputs of a JoinNode
.
ReteTuple
Constructor Summary | |
---|---|
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()
|
(package private) boolean |
removeTuples(TupleKey key)
Remove 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 removeTuples(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
public String toString()
toString
in class Object
public void dump()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |