This project has retired. For details please refer to its
Attic page.
CombineFn.StringConcatAggregator (Apache Crunch 0.4.0-incubating API)
org.apache.crunch
Class CombineFn.StringConcatAggregator
java.lang.Object
org.apache.crunch.CombineFn.SimpleAggregator<String>
org.apache.crunch.CombineFn.StringConcatAggregator
- All Implemented Interfaces:
- Serializable, CombineFn.Aggregator<String>
- Enclosing class:
- CombineFn<S,T>
public static class CombineFn.StringConcatAggregator
- extends CombineFn.SimpleAggregator<String>
- See Also:
- Serialized Form
Method Summary |
void |
reset()
Clears the internal state of this Aggregator and prepares it for the
values associated with the next key. |
Iterable<String> |
results()
Returns the current aggregated state of this instance. |
void |
update(String next)
Incorporate the given value into the aggregate state maintained by this
instance. |
CombineFn.StringConcatAggregator
public CombineFn.StringConcatAggregator(String separator,
boolean skipNulls)
CombineFn.StringConcatAggregator
public CombineFn.StringConcatAggregator(String separator,
boolean skipNull,
long maxOutputLength,
long maxInputLength)
reset
public void reset()
- 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)
- Description copied from interface:
CombineFn.Aggregator
- Incorporate the given value into the aggregate state maintained by this
instance.
results
public Iterable<String> results()
- Description copied from interface:
CombineFn.Aggregator
- Returns the current aggregated state of this instance.
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.