Package org.aksw.commons.collector.core
Class AggOutputTransform<I,E,O,P,SUBACC extends Accumulator<I,E,O>,SUBAGG extends ParallelAggregator<I,E,O,SUBACC>>
java.lang.Object
org.aksw.commons.collector.core.AggOutputTransform<I,E,O,P,SUBACC,SUBAGG>
- All Implemented Interfaces:
Serializable,Aggregator<I,,E, P> ParallelAggregator<I,E, P, AggOutputTransform.AccOutputTransform<I, E, O, P, SUBACC>>
public class AggOutputTransform<I,E,O,P,SUBACC extends Accumulator<I,E,O>,SUBAGG extends ParallelAggregator<I,E,O,SUBACC>>
extends Object
implements ParallelAggregator<I,E,P,AggOutputTransform.AccOutputTransform<I,E,O,P,SUBACC>>, Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAggOutputTransform.AccOutputTransform<I,E, O, P, SUBACC extends Accumulator<I, E, O>> class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAggOutputTransform(SUBAGG subAgg, Function<? super O, ? extends P> outputTransform) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.collector.domain.Aggregator
accumulateAll, accumulateAll, accumulateAll, finishMethods inherited from interface org.aksw.commons.collector.domain.ParallelAggregator
asCollector, asCollector, combineRaw
-
Field Details
-
subAgg
-
outputTransform
-
-
Constructor Details
-
AggOutputTransform
-
-
Method Details
-
createAccumulator
- Specified by:
createAccumulatorin interfaceAggregator<I,E, O> - Specified by:
createAccumulatorin interfaceParallelAggregator<I,E, O, P>
-
combine
public AggOutputTransform.AccOutputTransform<I,E, combineO, P, SUBACC> (AggOutputTransform.AccOutputTransform<I, E, O, P, SUBACC> a, AggOutputTransform.AccOutputTransform<I, E, O, P, SUBACC> b) Description copied from interface:ParallelAggregatorCombine accumulators. This method is allowed to mutate any of if its arguments, hence accumulators should be considered exhausted after combination. -
hashCode
public int hashCode() -
equals
-