Package org.aksw.commons.collector.core
Class AggInputTransform<I,E,J,O,SUBACC extends Accumulator<J,E,O>,SUBAGG extends ParallelAggregator<J,E,O,SUBACC>>
java.lang.Object
org.aksw.commons.collector.core.AggInputTransform<I,E,J,O,SUBACC,SUBAGG>
- All Implemented Interfaces:
Serializable,Aggregator<I,,E, O> ParallelAggregator<I,E, O, AggInputTransform.AccInputTransform<I, E, J, O, SUBACC>>
public class AggInputTransform<I,E,J,O,SUBACC extends Accumulator<J,E,O>,SUBAGG extends ParallelAggregator<J,E,O,SUBACC>>
extends Object
implements ParallelAggregator<I,E,O,AggInputTransform.AccInputTransform<I,E,J,O,SUBACC>>, Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAggInputTransform.AccInputTransform<I,E, J, O, SUBACC extends Accumulator<J, E, O>> class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAggInputTransform(SUBAGG subAgg, BiFunction<? super I, E, ? extends J> inputTransform) -
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
-
inputTransform
-
-
Constructor Details
-
AggInputTransform
-
-
Method Details
-
createAccumulator
- Specified by:
createAccumulatorin interfaceAggregator<I,E, J> - Specified by:
createAccumulatorin interfaceParallelAggregator<I,E, J, O>
-
combine
public AggInputTransform.AccInputTransform<I,E, combineJ, O, SUBACC> (AggInputTransform.AccInputTransform<I, E, J, O, SUBACC> a, AggInputTransform.AccInputTransform<I, E, J, O, 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
-