@Retention(value=RUNTIME) @Target(value=METHOD) public @interface CombineFunction
The function should take two arguments. And it should merge both arguments into the first one.
The second argument is guaranteed to be the output of
AccumulatorStateSerializer.deserialize(Block, int, Object).
As a result, the implementation of deserialize method likely
provides some application-specific guarantees to the second argument.
Copyright © 2012–2022. All rights reserved.