Interface ScriptOperators.Accumulator.AccumulatorMergeBuilder
- All Known Subinterfaces:
ScriptOperators.Accumulator.AccumulatorAccumulateArgsBuilder
- Enclosing class:
ScriptOperators.Accumulator
public static interface ScriptOperators.Accumulator.AccumulatorMergeBuilder
- Since:
- 3.1
- Author:
- Christoph Strobl, Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionSet themergefunction used to merge two internal states.
-
Method Details
-
merge
Set themergefunction used to merge two internal states.
This might be required because the operation is run on a sharded cluster or when the operator exceeds its memory limit.
function(state1, state2) { ... return newState }- Parameters:
function- must not be null.- Returns:
- this.
-