public final class TupleFieldTimestampExtractor extends Object implements TimestampExtractor
A 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(String fieldName) | 
| String | toString() | 
public static TupleFieldTimestampExtractor of(String fieldName)
public long extractTimestamp(Tuple tuple)
TimestampExtractorReturn the tuple timestamp indicating the time when the event happened.
extractTimestamp in interface TimestampExtractortuple - the tupleCopyright © 2022 The Apache Software Foundation. All rights reserved.