public abstract class DroolsAbstractUniCollectingGroupByAccumulator<ResultContainer,InTuple,KeyTuple,OutTuple> extends Object implements GroupByAccumulator<InTuple,OutTuple>
Constructor and Description |
---|
DroolsAbstractUniCollectingGroupByAccumulator() |
Modifier and Type | Method and Description |
---|---|
Runnable |
accumulate(InTuple input) |
Set<OutTuple> |
finish() |
protected abstract ResultContainer |
newContainer() |
protected abstract Runnable |
process(InTuple tuple,
ResultContainer container) |
protected abstract KeyTuple |
toKey(InTuple tuple) |
protected abstract OutTuple |
toResult(KeyTuple key,
ResultContainer container) |
public DroolsAbstractUniCollectingGroupByAccumulator()
public Runnable accumulate(InTuple input)
accumulate
in interface GroupByAccumulator<InTuple,OutTuple>
public Set<OutTuple> finish()
finish
in interface GroupByAccumulator<InTuple,OutTuple>
protected abstract ResultContainer newContainer()
protected abstract Runnable process(InTuple tuple, ResultContainer container)
protected abstract OutTuple toResult(KeyTuple key, ResultContainer container)
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.