Class InternalProcessApplyAllWindowContext<IN,OUT,W extends Window>
- java.lang.Object
-
- org.apache.flink.streaming.api.functions.windowing.ProcessAllWindowFunction.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.Context
Internal reusable context wrapper.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.api.common.state.KeyedStateStoreglobalState()State 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.Wwindow()org.apache.flink.api.common.state.KeyedStateStorewindowState()State accessor for per-key and per-window state.
-
-
-
Method Detail
-
window
public W window()
- Specified by:
windowin classProcessAllWindowFunction.Context- Returns:
- The window that is being evaluated.
-
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.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.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.- Specified by:
outputin classProcessAllWindowFunction.Context- Parameters:
outputTag- theOutputTagthat identifies the side output to emit to.value- The record to emit.
-
-