E
- Type of collected values.R
- Type of reduced value.public interface IgniteReducer<E,R> extends Serializable
IgniteCompute.call(Collection, IgniteReducer)
method.Modifier and Type | Method and Description |
---|---|
boolean |
collect(E e)
Collects given value.
|
R |
reduce()
Reduces collected values into one.
|
boolean collect(@Nullable E e)
false
then reduce()
will be called right away. Otherwise caller will continue collecting until all
values are processed.e
- Value to collect.true
to continue collecting, false
to instruct caller to stop
collecting and call reduce()
method.R reduce()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023