This project has retired. For details please refer to its Attic page.
CombineFn.PairAggregator (Apache Crunch 0.7.0 API)

org.apache.crunch
Class CombineFn.PairAggregator<V1,V2>

java.lang.Object
  extended by org.apache.crunch.CombineFn.PairAggregator<V1,V2>
All Implemented Interfaces:
Serializable, CombineFn.Aggregator<Pair<V1,V2>>
Enclosing class:
CombineFn<S,T>

Deprecated. Use Aggregators.pairAggregator(Aggregator, Aggregator)

public static class CombineFn.PairAggregator<V1,V2>
extends Object

See Also:
Serialized Form

Constructor Summary
CombineFn.PairAggregator(CombineFn.Aggregator<V1> a1, CombineFn.Aggregator<V2> a2)
          Deprecated.  
 
Method Summary
 Iterable<Pair<V1,V2>> results()
          Deprecated. Returns the current aggregated state of this instance.
 void update(Pair<V1,V2> value)
          Deprecated. Incorporate the given value into the aggregate state maintained by this instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombineFn.PairAggregator

public CombineFn.PairAggregator(CombineFn.Aggregator<V1> a1,
                                CombineFn.Aggregator<V2> a2)
Deprecated. 
Method Detail

update

public void update(Pair<V1,V2> value)
Deprecated. 
Description copied from interface: CombineFn.Aggregator
Incorporate the given value into the aggregate state maintained by this instance.


results

public Iterable<Pair<V1,V2>> 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.