Class AggFromCollector<I,E,O,A>
java.lang.Object
org.aksw.commons.collector.core.AggFromCollector<I,E,O,A>
- All Implemented Interfaces:
Serializable, Aggregator<I,E, O>, ParallelAggregator<I, E, O, AggFromCollector.AccFromCollector<I, E, O, A>>
public class AggFromCollector<I,E,O,A>
extends Object
implements ParallelAggregator<I, E, O, AggFromCollector.AccFromCollector<I,E,O,A>>, Serializable
An aggregator from a collector.
Together with SerializableCollectorImpl a bridge is formed to
construct parallelizable aggregators from custom lambdas;
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceclass -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Aggregator
accumulateAll, accumulateAll, accumulateAll, finishMethods inherited from interface ParallelAggregator
asCollector, asCollector, combineRaw
-
Field Details
-
collector
-
-
Constructor Details
-
AggFromCollector
-
-
Method Details
-
createAccumulator
- Specified by:
createAccumulatorin interfaceAggregator<I,E, O> - Specified by:
createAccumulatorin interfaceParallelAggregator<I,E, O, A>
-
combine
public AggFromCollector.AccFromCollector<I,E, combineO, A> (AggFromCollector.AccFromCollector<I, E, O, A> a, AggFromCollector.AccFromCollector<I, E, O, A> 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
-
equals
-