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 SummaryModifier and TypeMethodDescriptionlongextractTimestamp(Tuple tuple) Return the tuple timestamp indicating the time when the event happened.
- 
Method Details- 
extractTimestampReturn the tuple timestamp indicating the time when the event happened.- Parameters:
- tuple- the tuple
- Returns:
- the timestamp
 
 
-