Interface TimestampExtractor<T>

All Superinterfaces:
Serializable

public interface TimestampExtractor<T> extends Serializable
Interface to be implemented for extracting timestamp from a tuple.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Return the tuple timestamp indicating the time when the event happened.
  • Method Details

    • extractTimestamp

      long extractTimestamp(T input)
      Return the tuple timestamp indicating the time when the event happened.
      Parameters:
      input -
      Returns:
      the timestamp