| org.drools.reteoo.TupleSource org.drools.reteoo.BetaNode org.drools.reteoo.CollectNode
Constructor Summary | |
| CollectNode(int id, TupleSource leftInput, ObjectSource rightInput, Collect collect) Constructor. | public | CollectNode(int id, TupleSource leftInput, ObjectSource rightInput, AlphaNodeFieldConstraint[] resultConstraints, BetaConstraints sourceBinder, BetaConstraints resultsBinder, Collect collect, boolean unwrapRight) Constructor. |
Method Summary | |
public void | assertObject(InternalFactHandle handle, PropagationContext context, InternalWorkingMemory workingMemory) | public void | assertTuple(ReteTuple leftTuple, PropagationContext context, InternalWorkingMemory workingMemory) | public boolean | equals(Object object) | public int | hashCode() | public void | modifyTuple(boolean isAssert, ReteTuple leftTuple, InternalFactHandle handle, PropagationContext context, InternalWorkingMemory workingMemory) | public void | retractObject(InternalFactHandle handle, PropagationContext context, InternalWorkingMemory workingMemory) | public void | retractTuple(ReteTuple leftTuple, PropagationContext context, InternalWorkingMemory workingMemory) | public String | toString() | public void | updateSink(TupleSink sink, PropagationContext context, InternalWorkingMemory workingMemory) |
CollectNode | CollectNode(int id, TupleSource leftInput, ObjectSource rightInput, Collect collect)(Code) | | Constructor.
Parameters: id - The id for the node Parameters: leftInput - The left input TupleSource . Parameters: rightInput - The right input ObjectSource . Parameters: collect - The collect conditional element |
CollectNode | public CollectNode(int id, TupleSource leftInput, ObjectSource rightInput, AlphaNodeFieldConstraint[] resultConstraints, BetaConstraints sourceBinder, BetaConstraints resultsBinder, Collect collect, boolean unwrapRight)(Code) | | Constructor.
Parameters: id - The id for the node Parameters: leftInput - The left input TupleSource . Parameters: rightInput - The right input ObjectSource . Parameters: resultConstraints - The alpha constraints to be applied to the resulting collection Parameters: sourceBinder - The beta binder to be applied to the source facts Parameters: resultsBinder - The beta binder to be applied to the resulting collection Parameters: collect - The collect conditional element |
hashCode | public int hashCode()(Code) | | |
modifyTuple | public void modifyTuple(boolean isAssert, ReteTuple leftTuple, InternalFactHandle handle, PropagationContext context, InternalWorkingMemory workingMemory)(Code) | | Modifies the results match for a tuple, retracting it and repropagating
if constraints allow it
Parameters: leftTuple - Parameters: handle - Parameters: context - Parameters: workingMemory - |
|
|