Class TableStreamOperator.ContextImpl

java.lang.Object
org.apache.flink.table.runtime.operators.TableStreamOperator.ContextImpl
All Implemented Interfaces:
org.apache.flink.streaming.api.TimerService
Enclosing class:
TableStreamOperator<OUT>

protected class TableStreamOperator.ContextImpl extends Object implements org.apache.flink.streaming.api.TimerService
Information available in an invocation of processElement.
  • Field Details

    • timerService

      protected final org.apache.flink.streaming.runtime.tasks.ProcessingTimeService timerService
    • element

      public org.apache.flink.streaming.runtime.streamrecord.StreamRecord<?> element
  • Method Details

    • timestamp

      public Long timestamp()
    • currentProcessingTime

      public long currentProcessingTime()
      Specified by:
      currentProcessingTime in interface org.apache.flink.streaming.api.TimerService
    • currentWatermark

      public long currentWatermark()
      Specified by:
      currentWatermark in interface org.apache.flink.streaming.api.TimerService
    • registerProcessingTimeTimer

      public void registerProcessingTimeTimer(long time)
      Specified by:
      registerProcessingTimeTimer in interface org.apache.flink.streaming.api.TimerService
    • registerEventTimeTimer

      public void registerEventTimeTimer(long time)
      Specified by:
      registerEventTimeTimer in interface org.apache.flink.streaming.api.TimerService
    • deleteProcessingTimeTimer

      public void deleteProcessingTimeTimer(long time)
      Specified by:
      deleteProcessingTimeTimer in interface org.apache.flink.streaming.api.TimerService
    • deleteEventTimeTimer

      public void deleteEventTimeTimer(long time)
      Specified by:
      deleteEventTimeTimer in interface org.apache.flink.streaming.api.TimerService
    • timerService

      public org.apache.flink.streaming.api.TimerService timerService()