| org.drools.reteoo.TupleSource org.drools.reteoo.BetaNode org.drools.reteoo.AccumulateNode
AccumulateNode | public class AccumulateNode extends BetaNode (Code) | | AccumulateNode
A beta node capable of doing accumulate logic.
Created: 04/06/2006
author: Edson Tirelli version: $Id: AccumulateNode.java 14503 2007-08-23 22:13:32Z tirelli $ |
Inner Class :public static class AccumulateMemory | |
Constructor Summary | |
| AccumulateNode(int id, TupleSource leftInput, ObjectSource rightInput, Accumulate accumulate) Construct. | public | AccumulateNode(int id, TupleSource leftInput, ObjectSource rightInput, AlphaNodeFieldConstraint[] resultConstraints, BetaConstraints sourceBinder, BetaConstraints resultBinder, Accumulate accumulate, boolean unwrapRightObject) |
Method Summary | |
public void | assertObject(InternalFactHandle handle, PropagationContext context, InternalWorkingMemory workingMemory) | public void | assertTuple(ReteTuple leftTuple, PropagationContext context, InternalWorkingMemory workingMemory) | public Object | createMemory(RuleBaseConfiguration config) Creates a BetaMemory for the BetaNode's memory. | 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) |
AccumulateNode | AccumulateNode(int id, TupleSource leftInput, ObjectSource rightInput, Accumulate accumulate)(Code) | | Construct.
Parameters: id - The id for the node Parameters: leftInput - The left input TupleSource . Parameters: rightInput - The right input ObjectSource . Parameters: accumulate - The accumulate conditional element |
hashCode | public int hashCode()(Code) | | |
|
|