Package org.aksw.commons.collector.core
package org.aksw.commons.collector.core
-
ClassDescriptionAccCollection<I, E, C extends Collection<I>>Can be used with AggNaturalAccumulatorSynchronized<I,
E, O> AccWrapper<I,E, O, SUBACC> Builder for parallel aggregators.AggBuilderFn<XI, E, XO, XACC extends Accumulator<XI,E, XO>, XAGG extends ParallelAggregator<XI, E, XO, XACC>, YI, YO, YACC extends Accumulator<YI, E, YO>, YAGG extends ParallelAggregator<YI, E, YO, YACC>> AggCounting<I,E> Aggregator whose accumulator count the number of seen input objects.AggErrorHandler<I, E, O, SUBACC extends Accumulator<I,E, O>, SUBAGG extends ParallelAggregator<I, E, O, SUBACC>> Wraps another aggregator such that if accumulation fails with an exception an error counter is increased.Convert the output value of an aggregator - this fulfills the role of the 'finisher' in a java8 collector.AggFinish.AccFinish<I,E, O, V> AggFromCollector<I,E, O, A> An aggregator from a collector.AggFromCollector.AccFromCollector<I,E, O, A> AggInputBroadcast<I, E, O1, O2, SUBACC1 extends Accumulator<I,E, O1>, SUBAGG1 extends ParallelAggregator<I, E, O1, SUBACC1>, SUBACC2 extends Accumulator<I, E, O2>, SUBAGG2 extends ParallelAggregator<I, E, O2, SUBACC2>> An aggregator that broadcasts its input to two sub-aggregators that accept the same input.AggInputBroadcast.AccInputBroadcast<I, E, O1, O2, SUBACC1 extends Accumulator<I,E, O1>, SUBACC2 extends Accumulator<I, E, O2>> AggInputBroadcastMap<I,E, K, O> An aggregator that broadcasts its input to multiple sub-aggregators that accept the same input and have the same structure of the output Serves the purpose to perform two independent type safe aggregations on the same input in a single pass.AggInputFilter<I, E, O, SUBACC extends Accumulator<I,E, O>, SUBAGG extends ParallelAggregator<I, E, O, SUBACC>> Wrap an aggregator such that inputs are passed through a predicate.AggInputFlatMap<I, E, J, O, SUBACC extends Accumulator<J,E, O>, SUBAGG extends ParallelAggregator<J, E, O, SUBACC>> Pass collection valued input to an accumulator that accepts only the individual items For example, pass all nodes of a binding to an accumulator for nodes This operation is a variant of input transform, where the transform target is an iterator.AggInputSplit<I, E, K, J, O, SUBACC extends Accumulator<J,E, O>, SUBAGG extends ParallelAggregator<J, E, O, SUBACC>> An aggregator that splits the index into a set of keys and forwards the input to the sub-aggregator's accumulator for each key.AggInputTransform<I, E, J, O, SUBACC extends Accumulator<J,E, O>, SUBAGG extends ParallelAggregator<J, E, O, SUBACC>> AggLcaMap<T,E> Accumulate mappings of least common ancestors Assume a backing tree structure: For each node passed to accumulate assemble a mapping to its LCA with any other lca found so far.AggLcaMap.AccLcaMap<T,E> AggNatural<I, E, C extends Collection<I>>Wrapper for a supplier of accumulators with signature I -> Collection<I> This means, that items from the collection can be used as input.AggOutputTransform<I, E, O, P, SUBACC extends Accumulator<I,E, O>, SUBAGG extends ParallelAggregator<I, E, O, SUBACC>> AggReduce<I,E> Aggregator whose accumulators apply a reduce operation to their value and their input to compute their new value.SerializableCollectorImpl<T,A, R> A collector implementation that implements Serializable.SetOverMap<K,V> A special helper class to treat a map as a collection of entries and retain the ability to retrieve the map.