Interface SinkFunction.Context
-
- Enclosing interface:
- SinkFunction<IN>
@Public public static interface SinkFunction.ContextContext thatSinkFunctionscan use for getting additional data about an input record.The context is only valid for the duration of a
SinkFunction.invoke(Object, Context)call. Do not store the context and use afterwards!
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longcurrentProcessingTime()Returns the current processing time.longcurrentWatermark()Returns the current event-time watermark.Longtimestamp()Returns the timestamp of the current input record ornullif the element does not have an assigned timestamp.
-
-
-
Method Detail
-
currentProcessingTime
long currentProcessingTime()
Returns the current processing time.
-
currentWatermark
long currentWatermark()
Returns the current event-time watermark.
-
timestamp
Long timestamp()
Returns the timestamp of the current input record ornullif the element does not have an assigned timestamp.
-
-