public class StringConcatReducer extends Object implements IgniteReducer<String,String>
| Constructor and Description |
|---|
StringConcatReducer(String delim) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
collect(String s)
Collects given value.
|
String |
reduce()
Reduces collected values into one.
|
String |
toString() |
public StringConcatReducer(String delim)
delim - Delimiter (optional).public boolean collect(String s)
false then IgniteReducer.reduce()
will be called right away. Otherwise caller will continue collecting until all
values are processed.collect in interface IgniteReducer<String,String>s - Value to collect.true to continue collecting, false to instruct caller to stop
collecting and call IgniteReducer.reduce() method.public String reduce()
reduce in interface IgniteReducer<String,String>
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018