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

org.apache.crunch
Class CombineFn.StringConcatAggregator

java.lang.Object
  extended by org.apache.crunch.CombineFn.SimpleAggregator<String>
      extended by org.apache.crunch.CombineFn.StringConcatAggregator
All Implemented Interfaces:
Serializable, CombineFn.Aggregator<String>
Enclosing class:
CombineFn<S,T>

Deprecated. Use Aggregators.STRING_CONCAT(String, boolean, long, long)

public static class CombineFn.StringConcatAggregator
extends CombineFn.SimpleAggregator<String>

See Also:
Serialized Form

Constructor Summary
CombineFn.StringConcatAggregator(String separator, boolean skipNulls)
          Deprecated.  
CombineFn.StringConcatAggregator(String separator, boolean skipNull, long maxOutputLength, long maxInputLength)
          Deprecated.  
 
Method Summary
 void reset()
          Deprecated. Clears the internal state of this Aggregator and prepares it for the values associated with the next key.
 Iterable<String> results()
          Deprecated. Returns the current aggregated state of this instance.
 void update(String next)
          Deprecated. Incorporate the given value into the aggregate state maintained by this instance.
 
Methods inherited from class org.apache.crunch.CombineFn.SimpleAggregator
initialize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombineFn.StringConcatAggregator

public CombineFn.StringConcatAggregator(String separator,
                                        boolean skipNulls)
Deprecated. 

CombineFn.StringConcatAggregator

public CombineFn.StringConcatAggregator(String separator,
                                        boolean skipNull,
                                        long maxOutputLength,
                                        long maxInputLength)
Deprecated. 
Method Detail

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(String next)
Deprecated. 
Description copied from interface: CombineFn.Aggregator
Incorporate the given value into the aggregate state maintained by this instance.


results

public Iterable<String> 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.