This project has retired. For details please refer to its Attic page.
CombineFn.SimpleAggregator (Apache Crunch 0.4.0-incubating API)

org.apache.crunch
Class CombineFn.SimpleAggregator<T>

java.lang.Object
  extended by org.apache.crunch.CombineFn.SimpleAggregator<T>
All Implemented Interfaces:
Serializable, CombineFn.Aggregator<T>
Direct Known Subclasses:
CombineFn.FirstNAggregator, CombineFn.LastNAggregator, CombineFn.MaxBigInts, CombineFn.MaxDoubles, CombineFn.MaxFloats, CombineFn.MaxInts, CombineFn.MaxLongs, CombineFn.MaxNAggregator, CombineFn.MinBigInts, CombineFn.MinDoubles, CombineFn.MinFloats, CombineFn.MinInts, CombineFn.MinLongs, CombineFn.MinNAggregator, CombineFn.StringConcatAggregator, CombineFn.SumBigInts, CombineFn.SumDoubles, CombineFn.SumFloats, CombineFn.SumInts, CombineFn.SumLongs
Enclosing class:
CombineFn<S,T>

public abstract static class CombineFn.SimpleAggregator<T>
extends Object
implements CombineFn.Aggregator<T>

Base class for aggregators that do not require any initialization.

See Also:
Serialized Form

Constructor Summary
CombineFn.SimpleAggregator()
           
 
Method Summary
 void initialize(org.apache.hadoop.conf.Configuration conf)
          Perform any setup of this instance that is required prior to processing inputs.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.crunch.CombineFn.Aggregator
reset, results, update
 

Constructor Detail

CombineFn.SimpleAggregator

public CombineFn.SimpleAggregator()
Method Detail

initialize

public void initialize(org.apache.hadoop.conf.Configuration conf)
Description copied from interface: CombineFn.Aggregator
Perform any setup of this instance that is required prior to processing inputs.

Specified by:
initialize in interface CombineFn.Aggregator<T>


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.