S
- The type of the window functions state object.O
- The type of the window functions result.public interface WindowFunctionResult<S extends Serializable,O>
WindowFunctionResult
encapsulates the state object and the final result of a
user-defined window function call
.
The state is continuously maintained per partition and is passed on to the next window function call within the same partition, while
the result object is appended to the currently processed record.