Interface KeyedStateReaderFunction.Context

Enclosing class:
KeyedStateReaderFunction<K,OUT>

public static interface KeyedStateReaderFunction.Context
Context that KeyedStateReaderFunction's can use for getting additional data about an input record.

The context is only valid for the duration of a KeyedStateReaderFunction.readKey(Object, Context, Collector) call. Do not store the context and use afterwards!

  • Method Details

    • registeredEventTimeTimers

      Set<Long> registeredEventTimeTimers() throws Exception
      Returns:
      All registered event time timers for the current key.
      Throws:
      Exception
    • registeredProcessingTimeTimers

      Set<Long> registeredProcessingTimeTimers() throws Exception
      Returns:
      All registered processing time timers for the current key.
      Throws:
      Exception