Package org.aksw.commons.collector.core
Class AggFinish<B,I,E,O,C extends Aggregator<B,E,I>>
java.lang.Object
org.aksw.commons.collector.core.AggFinish<B,I,E,O,C>
- All Implemented Interfaces:
Serializable,Aggregator<B,E, O>
public class AggFinish<B,I,E,O,C extends Aggregator<B,E,I>>
extends Object
implements Aggregator<B,E,O>, Serializable
Convert the output value of an aggregator - this fulfills the role of the 'finisher' in a java8 collector.
Note the difference between outputTransform and finish: The former is a per-accumulator operation which can be performed concurrently,
whereas finish is a post-processing of the overall result.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <B,I, E, O, C extends Aggregator<B, E, I>>
AggFinish<B,I, E, O, C> Accumulator<B,E, O> booleaninthashCode()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, finish
-
Constructor Details
-
AggFinish
-
-
Method Details
-
createAccumulator
- Specified by:
createAccumulatorin interfaceAggregator<B,I, E>
-
getSubAgg
-
getTransform
-
create
public static <B,I, AggFinish<B,E, O, C extends Aggregator<B, E, I>> I, createE, O, C> (C subAgg, Function<? super I, O> transform) -
hashCode
public int hashCode() -
equals
-