Class WindowAssigner.WindowAssignerContext

java.lang.Object
org.apache.flink.streaming.api.windowing.assigners.WindowAssigner.WindowAssignerContext
Enclosing class:
WindowAssigner<T,W extends Window>

@PublicEvolving public abstract static class WindowAssigner.WindowAssignerContext extends Object
A context provided to the WindowAssigner that allows it to query the current processing time.

This is provided to the assigner by its containing WindowOperator, which, in turn, gets it from the containing StreamTask.

  • Constructor Details

    • WindowAssignerContext

      public WindowAssignerContext()
  • Method Details

    • getCurrentProcessingTime

      public abstract long getCurrentProcessingTime()
      Returns the current processing time.