Interface OneInputWindowContext<IN>
-
- Type Parameters:
IN- Type of the input elements
- All Superinterfaces:
WindowContext
@Experimental public interface OneInputWindowContext<IN> extends WindowContext
This interface extendsWindowContextand provides additional functionality for writing and reading window data of one input window.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<IN>getAllRecords()Read records from the window's state.voidputRecord(IN record)Write 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 Detail
-
putRecord
void putRecord(IN record)
Write records into the window's state.- Parameters:
record- The record to be written into the window's state.
-
-