Package org.apache.storm.topology
Class TupleFieldTimestampExtractor
java.lang.Object
org.apache.storm.topology.TupleFieldTimestampExtractor
- All Implemented Interfaces:
- Serializable,- TimestampExtractor
A 
TimestampExtractor that extracts timestamp from a specific field in the tuple.- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionlongextractTimestamp(Tuple tuple) Return the tuple timestamp indicating the time when the event happened.static TupleFieldTimestampExtractortoString()
- 
Method Details- 
of
- 
extractTimestampDescription copied from interface:TimestampExtractorReturn the tuple timestamp indicating the time when the event happened.- Specified by:
- extractTimestampin interface- TimestampExtractor
- Parameters:
- tuple- the tuple
- Returns:
- the timestamp
 
- 
toString
 
-