Package org.aksw.jenax.arq.aggregation
Class AggMap2<B,E,K,V,C extends org.aksw.commons.collector.domain.Aggregator<B,E,V>>
java.lang.Object
org.aksw.jenax.arq.aggregation.AggMap2<B,E,K,V,C>
- Type Parameters:
B-K-V-C-
- All Implemented Interfaces:
org.aksw.commons.collector.domain.Aggregator<B,E, Map<K, V>>
public class AggMap2<B,E,K,V,C extends org.aksw.commons.collector.domain.Aggregator<B,E,V>>
extends Object
implements org.aksw.commons.collector.domain.Aggregator<B,E,Map<K,V>>
Aggregator that maps each input item to a single key and allocates
a sub aggregator for that key if none exists yet.
- Author:
- raven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <B,E, K, V, C extends org.aksw.commons.collector.domain.Aggregator<B, E, V>>
AggMap2<B,E, K, V, C> create(BiFunction<B, Long, K> mapper, C subAgg) static <B,E, K, V, C extends org.aksw.commons.collector.domain.Aggregator<B, E, V>>
AggMap2<B,E, K, V, C> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.collector.domain.Aggregator
accumulateAll, accumulateAll, accumulateAll, finish
-
Constructor Details
-
AggMap2
-
-
Method Details