|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.crunch.CombineFn.StringConcatAggregator
public static class CombineFn.StringConcatAggregator
Constructor Summary | |
---|---|
CombineFn.StringConcatAggregator(String separator,
boolean skipNulls)
|
|
CombineFn.StringConcatAggregator(String separator,
boolean skipNull,
long maxOutputLength,
long maxInputLength)
|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CombineFn.StringConcatAggregator(String separator, boolean skipNulls)
public CombineFn.StringConcatAggregator(String separator, boolean skipNull, long maxOutputLength, long maxInputLength)
Method Detail |
---|
public void reset()
CombineFn.Aggregator
reset
in interface CombineFn.Aggregator<String>
public void update(String next)
CombineFn.Aggregator
update
in interface CombineFn.Aggregator<String>
public Iterable<String> results()
CombineFn.Aggregator
results
in interface CombineFn.Aggregator<String>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |