public final class TupleFieldTimestampExtractor extends java.lang.Object implements TimestampExtractor
TimestampExtractor that extracts timestamp from a specific field in the tuple.| Modifier and Type | Method and Description | 
|---|---|
long | 
extractTimestamp(Tuple tuple)
Return the tuple timestamp indicating the time when the event happened. 
 | 
static TupleFieldTimestampExtractor | 
of(java.lang.String fieldName)  | 
java.lang.String | 
toString()  | 
public static TupleFieldTimestampExtractor of(java.lang.String fieldName)
public long extractTimestamp(Tuple tuple)
TimestampExtractorextractTimestamp in interface TimestampExtractortuple - the tuplepublic java.lang.String toString()
toString in class java.lang.Object