org.drools.reteoo.impl
Class JoinNodeImpl
java.lang.Object
|
+--org.drools.reteoo.impl.TupleSourceImpl
|
+--org.drools.reteoo.impl.JoinNodeImpl
- All Implemented Interfaces:
- JoinNode, TupleSource
- public class JoinNodeImpl
- extends TupleSourceImpl
- implements JoinNode
A two-input Rete-OO join node.
- Author:
- bob mcwhirter
- See Also:
TupleSource
,
TupleSink
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoinNodeImpl
public JoinNodeImpl(TupleSourceImpl leftInput,
TupleSourceImpl rightInput)
- Construct.
- Parameters:
leftInput
- The left input TupleSource
.rightInput
- The right input TupleSource
.
getCommonDeclarations
public java.util.Set getCommonDeclarations()
- Retrieve the set of common
Declarations
across the two input TupleSources
.
- Specified by:
getCommonDeclarations
in interface JoinNode
- Returns:
- The
Set
of common Declarations
.
getLeftInput
public TupleSource getLeftInput()
- Retrieve the left input
TupleSource
.
- Specified by:
getLeftInput
in interface JoinNode
- Returns:
- The left input
TupleSource
.
getRightInput
public TupleSource getRightInput()
- Retrieve the right input
TupleSource
.
- Specified by:
getRightInput
in interface JoinNode
- Returns:
- The right input
TupleSource
.
retractTuples
public void retractTuples(org.drools.reteoo.impl.TupleKey key,
WorkingMemory workingMemory)
throws RetractionException
- Retract tuples.
- Parameters:
key
- The tuple key.workingMemory
- The working memory seesion.- Throws:
RetractionException
- If an error occurs while retracting.
getTupleDeclarations
public java.util.Set getTupleDeclarations()
- Retrieve the
Set
of Declaration
s.
in the propagated Tuples
.
- Specified by:
getTupleDeclarations
in interface TupleSource
- Returns:
- The
Set
of Declarations
in progated Tuples
. - See Also:
Declaration
Copyright © 2001-2003 The Werken Company. All Rights Reserved.