This project has retired. For details please refer to its Attic page.
Aggregators.SimpleAggregator (Apache Crunch 0.10.0 API)

org.apache.crunch.fn
Class Aggregators.SimpleAggregator<T>

java.lang.Object
  extended by org.apache.crunch.fn.Aggregators.SimpleAggregator<T>
All Implemented Interfaces:
Serializable, Aggregator<T>
Enclosing class:
Aggregators

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

Base class for aggregators that do not require any initialization.

See Also:
Serialized Form

Constructor Summary
Aggregators.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.Aggregator
reset, results, update
 

Constructor Detail

Aggregators.SimpleAggregator

public Aggregators.SimpleAggregator()
Method Detail

initialize

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

Specified by:
initialize in interface Aggregator<T>
Parameters:
conf - Hadoop configuration


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