public final class TupleFieldTimestampExtractor extends 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(String fieldName) |
String |
toString() |
public static TupleFieldTimestampExtractor of(String fieldName)
public long extractTimestamp(Tuple tuple)
TimestampExtractorextractTimestamp in interface TimestampExtractortuple - the tupleCopyright © 2023 The Apache Software Foundation. All rights reserved.