Interface SliceSharedAssigner.MergeCallback
-
- All Known Implementing Classes:
SliceSharedWindowAggProcessor
- Enclosing interface:
- SliceSharedAssigner
public static interface SliceSharedAssigner.MergeCallbackCallback to be used inSliceSharedAssigner.mergeSlices(long, MergeCallback)for specifying which slices should be merged.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmerge(Long mergeResult, Iterable<Long> toBeMerged)Specifies that states of the given slices should be merged into the result slice.
-
-
-
Method Detail
-
merge
void merge(@Nullable Long mergeResult, Iterable<Long> toBeMerged) throws Exception
Specifies that states of the given slices should be merged into the result slice.- Parameters:
mergeResult- The resulting merged slice,nullif it represents a non-state namespace.toBeMerged- The list of slices that should be merged into one slice.- Throws:
Exception
-
-