|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.reteoo.TupleSource
org.drools.reteoo.JoinNode
class JoinNode
A two-input Rete-OO join node .
TupleSource
,
TupleSink
Constructor Summary | |
---|---|
JoinNode(TupleSource leftInput,
TupleSource rightInput)
Construct. |
Method Summary | |
---|---|
(package private) void |
assertLeftTuple(ReteTuple tuple,
WorkingMemoryImpl workingMemory)
Assert a new Tuple from the left input. |
(package private) void |
assertRightTuple(ReteTuple tuple,
WorkingMemoryImpl workingMemory)
Assert a new Tuple from the right input. |
void |
attach()
Attaches this node into the network. |
boolean |
equals(Object object)
|
Set |
getCommonDeclarations()
Retrieve the set of common Declarations across the two
input TupleSources . |
Set |
getTupleDeclarations()
Retrieve the Set of Declaration s. |
int |
hashCode()
|
void |
retractTuples(TupleKey key,
WorkingMemoryImpl workingMemory)
Retract tuples. |
String |
toString()
|
Methods inherited from class org.drools.reteoo.TupleSource |
---|
addTupleSink, getTupleSinks, propagateAssertTuple, propagateRetractTuples |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JoinNode(TupleSource leftInput, TupleSource rightInput)
leftInput
- The left input TupleSource
.rightInput
- The right input TupleSource
.Method Detail |
---|
public Set getCommonDeclarations()
Declarations
across the two
input TupleSources
.
Set
of common Declarations
.void assertLeftTuple(ReteTuple tuple, WorkingMemoryImpl workingMemory) throws AssertionException
Tuple
from the left input.
tuple
- The Tuple
being asserted.workingMemory
- The working memory seesion.
AssertionException
- If an error occurs while asserting.void assertRightTuple(ReteTuple tuple, WorkingMemoryImpl workingMemory) throws AssertionException
Tuple
from the right input.
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
key
- The tuple key.workingMemory
- The working memory seesion.
RetractionException
- If an error occurs while retracting.public Set getTupleDeclarations()
Set
of Declaration
s. in the
propagated Tuples
.
getTupleDeclarations
in class TupleSource
Set
of Declarations
in progated
Tuples
.Declaration
public void attach()
TupleSource
attach
in class TupleSource
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object object)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |