public interface TimestampExtractor extends Serializable
Interface to be implemented for extracting timestamp from a tuple.
| Modifier and Type | Method and Description |
|---|---|
long |
extractTimestamp(Tuple tuple)
Return the tuple timestamp indicating the time when the event happened.
|
long extractTimestamp(Tuple tuple)
Return the tuple timestamp indicating the time when the event happened.
tuple - the tupleCopyright © 2019 The Apache Software Foundation. All rights reserved.