Class DroolsAbstractUniCollectingGroupByCollectorProcessor<ResultContainer,InTuple,KeyTuple,OutTuple>
- java.lang.Object
-
- org.optaplanner.core.impl.score.stream.drools.common.DroolsAbstractUniCollectingGroupByCollectorProcessor<ResultContainer,InTuple,KeyTuple,OutTuple>
-
- All Implemented Interfaces:
Serializable,GroupByCollectorProcessor<InTuple,OutTuple>
public abstract class DroolsAbstractUniCollectingGroupByCollectorProcessor<ResultContainer,InTuple,KeyTuple,OutTuple> extends Object
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DroolsAbstractUniCollectingGroupByCollectorProcessor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Runnableaccumulate(InTuple input)protected voidaddTuple(KeyTuple tuple)protected Set<KeyTuple>clearDirtyTupleSet()Collection<OutTuple>finish()protected abstract ResultContainernewContainer()protected abstract Runnableprocess(InTuple tuple, ResultContainer container)protected longremoveTuple(KeyTuple tuple)protected abstract KeyTupletoKey(InTuple tuple)protected abstract OutTupletoResult(KeyTuple key, ResultContainer container)
-
-
-
Method Detail
-
finish
public Collection<OutTuple> finish()
-
newContainer
protected abstract ResultContainer newContainer()
-
process
protected abstract Runnable process(InTuple tuple, ResultContainer container)
-
toResult
protected abstract OutTuple toResult(KeyTuple key, ResultContainer container)
-
addTuple
protected void addTuple(KeyTuple tuple)
-
removeTuple
protected long removeTuple(KeyTuple tuple)
-
clearDirtyTupleSet
protected Set<KeyTuple> clearDirtyTupleSet()
-
-