Class WindowAssigner.WindowAssignerContext
java.lang.Object
org.apache.flink.streaming.api.windowing.assigners.WindowAssigner.WindowAssignerContext
- Enclosing class:
- WindowAssigner<T,
W extends Window>
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract longReturns the current processing time.
-
Constructor Details
-
WindowAssignerContext
public WindowAssignerContext()
-
-
Method Details
-
getCurrentProcessingTime
public abstract long getCurrentProcessingTime()Returns the current processing time.
-