Package org.apache.storm.windowing
Interface TimestampExtractor
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
TupleFieldTimestampExtractor
Interface to be implemented for extracting timestamp from a tuple.
-
Method Summary
Modifier and TypeMethodDescriptionlong
extractTimestamp
(Tuple tuple) Return the tuple timestamp indicating the time when the event happened.
-
Method Details
-
extractTimestamp
Return the tuple timestamp indicating the time when the event happened.- Parameters:
tuple
- the tuple- Returns:
- the timestamp
-