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:
-
Field Summary
Fields inherited from interface org.apache.flink.api.common.eventtime.TimestampAssigner
NO_TIMESTAMP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongextractTimestamp(org.apache.flink.api.java.tuple.Tuple2<T, Long> element, long recordTimestamp)
-
Constructor Details
-
CustomTimestampAssigner
public CustomTimestampAssigner()
-
-
Method Details