Package org.apache.flink.cep.time
Interface TimeContext
-
- All Known Subinterfaces:
IterativeCondition.Context<T>,PatternProcessFunction.Context
@PublicEvolving public interface TimeContextEnables access to time related characteristics such as current processing time or timestamp of currently processed element. Used inPatternProcessFunctionandIterativeCondition
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longcurrentProcessingTime()Returns the current processing time.longtimestamp()Timestamp of the element currently being processed.
-
-
-
Method Detail
-
timestamp
long timestamp()
Timestamp of the element currently being processed.In case of
org.apache.flink.cep.time.TimeBehaviour#ProcessingTimethis means the time when the event entered the cep operator.
-
currentProcessingTime
long currentProcessingTime()
Returns the current processing time.
-
-