Class InternalProcessApplyAllWindowContext<IN,OUT,W extends Window>
java.lang.Object
ProcessAllWindowFunction<IN,OUT,W>.Context
org.apache.flink.streaming.api.functions.windowing.InternalProcessApplyAllWindowContext<IN,OUT,W>
- Type Parameters:
IN- The type of the input value.OUT- The type of the output value.W- The type of the window.
@Internal
public class InternalProcessApplyAllWindowContext<IN,OUT,W extends Window>
extends ProcessAllWindowFunction<IN,OUT,W>.Context
Internal reusable context wrapper.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.api.common.state.KeyedStateStoreState accessor for per-key global state.<X> voidoutput(org.apache.flink.util.OutputTag<X> outputTag, X value) Emits a record to the side output identified by theOutputTag.window()org.apache.flink.api.common.state.KeyedStateStoreState accessor for per-key and per-window state.
-
Method Details
-
window
-
windowState
public org.apache.flink.api.common.state.KeyedStateStore windowState()Description copied from class:ProcessAllWindowFunction.ContextState accessor for per-key and per-window state.NOTE:If you use per-window state you have to ensure that you clean it up by implementing
ProcessWindowFunction.clear(ProcessWindowFunction.Context).- Specified by:
windowStatein classProcessAllWindowFunction<IN,OUT, W extends Window>.Context
-
globalState
public org.apache.flink.api.common.state.KeyedStateStore globalState()Description copied from class:ProcessAllWindowFunction.ContextState accessor for per-key global state.- Specified by:
globalStatein classProcessAllWindowFunction<IN,OUT, W extends Window>.Context
-
output
public <X> void output(org.apache.flink.util.OutputTag<X> outputTag, X value) Description copied from class:ProcessAllWindowFunction.ContextEmits a record to the side output identified by theOutputTag.
-