Package | Description |
---|---|
org.apache.crunch |
Client-facing API and core abstractions.
|
org.apache.crunch.fn |
Commonly used functions for manipulating collections.
|
org.apache.crunch.lib |
Joining, sorting, aggregating, and other commonly used functionality.
|
Modifier and Type | Class and Description |
---|---|
static class |
CombineFn.AggregatorCombineFn<K,V>
Deprecated.
Use the
Aggregators.toCombineFn(org.apache.crunch.Aggregator) adapter |
Modifier and Type | Method and Description |
---|---|
static <K,V> CombineFn<K,V> |
CombineFn.aggregator(CombineFn.Aggregator<V> aggregator)
Deprecated.
|
static <K,V> CombineFn<K,V> |
CombineFn.aggregatorFactory(CombineFn.AggregatorFactory<V> aggregator)
Deprecated.
Use
PGroupedTable.combineValues(Aggregator) which doesn't require a factory. |
static <K,V> CombineFn<K,V> |
CombineFn.FIRST_N(int n)
Deprecated.
|
static <K,V> CombineFn<K,V> |
CombineFn.LAST_N(int n)
Deprecated.
|
static <K> CombineFn<K,BigInteger> |
CombineFn.MAX_BIGINTS()
Deprecated.
|
static <K> CombineFn<K,BigInteger> |
CombineFn.MAX_BIGINTS(int n)
Deprecated.
|
static <K> CombineFn<K,Double> |
CombineFn.MAX_DOUBLES()
Deprecated.
|
static <K> CombineFn<K,Double> |
CombineFn.MAX_DOUBLES(int n)
Deprecated.
|
static <K> CombineFn<K,Float> |
CombineFn.MAX_FLOATS()
Deprecated.
|
static <K> CombineFn<K,Float> |
CombineFn.MAX_FLOATS(int n)
Deprecated.
|
static <K> CombineFn<K,Integer> |
CombineFn.MAX_INTS()
Deprecated.
|
static <K> CombineFn<K,Integer> |
CombineFn.MAX_INTS(int n)
Deprecated.
|
static <K> CombineFn<K,Long> |
CombineFn.MAX_LONGS()
Deprecated.
|
static <K> CombineFn<K,Long> |
CombineFn.MAX_LONGS(int n)
Deprecated.
|
static <K> CombineFn<K,BigInteger> |
CombineFn.MIN_BIGINTS()
Deprecated.
|
static <K> CombineFn<K,BigInteger> |
CombineFn.MIN_BIGINTS(int n)
Deprecated.
|
static <K> CombineFn<K,Double> |
CombineFn.MIN_DOUBLES()
Deprecated.
|
static <K> CombineFn<K,Double> |
CombineFn.MIN_DOUBLES(int n)
Deprecated.
|
static <K> CombineFn<K,Float> |
CombineFn.MIN_FLOATS()
Deprecated.
|
static <K> CombineFn<K,Float> |
CombineFn.MIN_FLOATS(int n)
Deprecated.
|
static <K> CombineFn<K,Integer> |
CombineFn.MIN_INTS()
Deprecated.
|
static <K> CombineFn<K,Integer> |
CombineFn.MIN_INTS(int n)
Deprecated.
|
static <K> CombineFn<K,Long> |
CombineFn.MIN_LONGS()
Deprecated.
|
static <K> CombineFn<K,Long> |
CombineFn.MIN_LONGS(int n)
Deprecated.
|
static <K,V1,V2> CombineFn<K,Pair<V1,V2>> |
CombineFn.pairAggregator(CombineFn.AggregatorFactory<V1> a1,
CombineFn.AggregatorFactory<V2> a2)
Deprecated.
|
static <K,A,B,C,D> |
CombineFn.quadAggregator(CombineFn.AggregatorFactory<A> a1,
CombineFn.AggregatorFactory<B> a2,
CombineFn.AggregatorFactory<C> a3,
CombineFn.AggregatorFactory<D> a4)
|
static <K> CombineFn<K,String> |
CombineFn.STRING_CONCAT(String separator,
boolean skipNull)
Deprecated.
|
static <K> CombineFn<K,String> |
CombineFn.STRING_CONCAT(String separator,
boolean skipNull,
long maxOutputLength,
long maxInputLength)
Deprecated.
|
static <K> CombineFn<K,BigInteger> |
CombineFn.SUM_BIGINTS()
Deprecated.
|
static <K> CombineFn<K,Double> |
CombineFn.SUM_DOUBLES()
Deprecated.
|
static <K> CombineFn<K,Float> |
CombineFn.SUM_FLOATS()
Deprecated.
|
static <K> CombineFn<K,Integer> |
CombineFn.SUM_INTS()
Deprecated.
|
static <K> CombineFn<K,Long> |
CombineFn.SUM_LONGS()
Deprecated.
|
static <K,A,B,C> CombineFn<K,Tuple3<A,B,C>> |
CombineFn.tripAggregator(CombineFn.AggregatorFactory<A> a1,
CombineFn.AggregatorFactory<B> a2,
CombineFn.AggregatorFactory<C> a3)
Deprecated.
|
static <K> CombineFn<K,TupleN> |
CombineFn.tupleAggregator(CombineFn.AggregatorFactory<?>... factories)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PTable<K,V> |
PGroupedTable.combineValues(CombineFn<K,V> combineFn)
Combines the values of this grouping using the given
CombineFn . |
Modifier and Type | Method and Description |
---|---|
static <K,V> CombineFn<K,V> |
Aggregators.toCombineFn(Aggregator<V> aggregator)
Wrap a
CombineFn adapter around the given aggregator. |
Modifier and Type | Class and Description |
---|---|
static class |
Aggregate.TopKCombineFn<K,V> |
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.