Class CustomTimestampAssigner<T>
- java.lang.Object
-
- org.apache.flink.streaming.api.functions.python.eventtime.CustomTimestampAssigner<T>
-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.eventtime.SerializableTimestampAssigner<org.apache.flink.api.java.tuple.Tuple2<T,Long>>,org.apache.flink.api.common.eventtime.TimestampAssigner<org.apache.flink.api.java.tuple.Tuple2<T,Long>>
@Internal public class CustomTimestampAssigner<T> extends Object implements org.apache.flink.api.common.eventtime.SerializableTimestampAssigner<org.apache.flink.api.java.tuple.Tuple2<T,Long>>
TimestampAssigner which extracts timestamp from the second field of the input element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CustomTimestampAssigner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longextractTimestamp(org.apache.flink.api.java.tuple.Tuple2<T,Long> element, long recordTimestamp)
-