com.cloudera.crunch
Class CombineFn.TripAggregator<A,B,C>
java.lang.Object
com.cloudera.crunch.CombineFn.TripAggregator<A,B,C>
- All Implemented Interfaces:
- CombineFn.Aggregator<Tuple3<A,B,C>>, Serializable
- Enclosing class:
- CombineFn<S,T>
public static class CombineFn.TripAggregator<A,B,C>
- extends Object
- See Also:
- Serialized Form
Method Summary |
Iterable<Tuple3<A,B,C>> |
results()
Returns the current aggregated state of this instance. |
void |
update(Tuple3<A,B,C> value)
Incorporate the given value into the aggregate state maintained by this instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CombineFn.TripAggregator
public CombineFn.TripAggregator(CombineFn.Aggregator<A> a1,
CombineFn.Aggregator<B> a2,
CombineFn.Aggregator<C> a3)
update
public void update(Tuple3<A,B,C> value)
- Description copied from interface:
CombineFn.Aggregator
- Incorporate the given value into the aggregate state maintained by this instance.
results
public Iterable<Tuple3<A,B,C>> results()
- Description copied from interface:
CombineFn.Aggregator
- Returns the current aggregated state of this instance.
Copyright © 2012. All Rights Reserved.