Interface OneInputWindowContext<IN>

Type Parameters:
IN - Type of the input elements
All Superinterfaces:
WindowContext

@Experimental public interface OneInputWindowContext<IN> extends WindowContext
This interface extends WindowContext and provides additional functionality for writing and reading window data of one input window.
  • Method Details

    • putRecord

      void putRecord(IN record)
      Write records into the window's state.
      Parameters:
      record - The record to be written into the window's state.
    • getAllRecords

      Iterable<IN> getAllRecords()
      Read records from the window's state.
      Returns:
      Iterable of records, which could be null if the window is empty.