Interface TwoInputWindowContext<IN1,IN2>

All Superinterfaces:
WindowContext

@Experimental public interface TwoInputWindowContext<IN1,IN2> extends WindowContext
This interface extends WindowContext and provides additional functionality for writing and reading window data of two input window.
  • Method Details

    • putRecord1

      void putRecord1(IN1 record)
      Write records from input1 into the window's state.
      Parameters:
      record - The record from input1 to be written into the window's state.
    • getAllRecords1

      Iterable<IN1> getAllRecords1()
      Read input1's records from the window's state.
      Returns:
      Iterable of input1's records, which could be null if input1 has no data.
    • putRecord2

      void putRecord2(IN2 record)
      Write records from input2 into the window's state.
      Parameters:
      record - The record from input2 to be written into the window's state.
    • getAllRecords2

      Iterable<IN2> getAllRecords2()
      Read input2's records from the window's state.
      Returns:
      Iterable of input2's records, which could be null if input2 has no data.