Interface OneInputWindowContext<IN>
- Type Parameters:
IN- Type of the input elements
- All Superinterfaces:
WindowContext
This interface extends
WindowContext and provides additional functionality for writing
and reading window data of one input window.-
Method Summary
Modifier and TypeMethodDescriptionRead records from the window's state.voidWrite records into the window's state.Methods inherited from interface org.apache.flink.datastream.api.extension.window.context.WindowContext
getEndTime, getStartTime, getWindowState, getWindowState, getWindowState, getWindowState, getWindowState
-
Method Details
-
putRecord
Write records into the window's state.- Parameters:
record- The record to be written into the window's state.
-
getAllRecords
Read records from the window's state.- Returns:
- Iterable of records, which could be null if the window is empty.
-