This project has retired. For details please refer to its
Attic page.
CombineFn.QuadAggregator (Apache Crunch 0.3.0-incubating API)
org.apache.crunch
Class CombineFn.QuadAggregator<A,B,C,D>
java.lang.Object
org.apache.crunch.CombineFn.QuadAggregator<A,B,C,D>
- All Implemented Interfaces:
- Serializable, CombineFn.Aggregator<Tuple4<A,B,C,D>>
- Enclosing class:
- CombineFn<S,T>
public static class CombineFn.QuadAggregator<A,B,C,D>
- extends Object
- See Also:
- Serialized Form
Method Summary |
Iterable<Tuple4<A,B,C,D>> |
results()
Returns the current aggregated state of this instance. |
void |
update(Tuple4<A,B,C,D> value)
Incorporate the given value into the aggregate state maintained by this
instance. |
CombineFn.QuadAggregator
public CombineFn.QuadAggregator(CombineFn.Aggregator<A> a1,
CombineFn.Aggregator<B> a2,
CombineFn.Aggregator<C> a3,
CombineFn.Aggregator<D> a4)
update
public void update(Tuple4<A,B,C,D> value)
- Description copied from interface:
CombineFn.Aggregator
- Incorporate the given value into the aggregate state maintained by this
instance.
results
public Iterable<Tuple4<A,B,C,D>> results()
- Description copied from interface:
CombineFn.Aggregator
- Returns the current aggregated state of this instance.
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.