This project has retired. For details please refer to its
Attic page.
CombineFn.LastNAggregator (Apache Crunch 0.7.0 API)
org.apache.crunch
Class CombineFn.LastNAggregator<V>
java.lang.Object
org.apache.crunch.CombineFn.SimpleAggregator<V>
org.apache.crunch.CombineFn.LastNAggregator<V>
- All Implemented Interfaces:
- Serializable, CombineFn.Aggregator<V>
- Enclosing class:
- CombineFn<S,T>
Deprecated. Use Aggregators.LAST_N(int)
public static class CombineFn.LastNAggregator<V>
- extends CombineFn.SimpleAggregator<V>
- See Also:
- Serialized Form
Method Summary |
void |
reset()
Deprecated. Clears the internal state of this Aggregator and prepares it for the
values associated with the next key. |
Iterable<V> |
results()
Deprecated. Returns the current aggregated state of this instance. |
void |
update(V value)
Deprecated. Incorporate the given value into the aggregate state maintained by this
instance. |
CombineFn.LastNAggregator
public CombineFn.LastNAggregator(int arity)
- Deprecated.
reset
public void reset()
- Deprecated.
- Description copied from interface:
CombineFn.Aggregator
- Clears the internal state of this Aggregator and prepares it for the
values associated with the next key.
update
public void update(V value)
- Deprecated.
- Description copied from interface:
CombineFn.Aggregator
- Incorporate the given value into the aggregate state maintained by this
instance.
results
public Iterable<V> results()
- Deprecated.
- Description copied from interface:
CombineFn.Aggregator
- Returns the current aggregated state of this instance.
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.