Interface TimestampExtractor<I>
-
- All Superinterfaces:
java.io.Serializable
public interface TimestampExtractor<I> extends java.io.SerializableInterface to be implemented for extracting timestamp from a tuple.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longextractTimestamp(I input)Return the tuple timestamp indicating the time when the event happened.
-
-
-
Method Detail
-
extractTimestamp
long extractTimestamp(I input)
Return the tuple timestamp indicating the time when the event happened.- Parameters:
input-- Returns:
- the timestamp
-
-