org.apache.storm.windowing

## Interface TimestampExtractor

- All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    TupleFieldTimestampExtractor

      public interface TimestampExtractor
      extends Serializable

  Interface to be implemented for extracting timestamp from a tuple.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `extractTimestamp(Tuple tuple)` Return the tuple timestamp indicating the time when the event happened.

- - ### Method Detail

    - #### extractTimestamp

          long extractTimestamp(Tuple tuple)

      Return the tuple timestamp indicating the time when the event happened.

      Parameters:
        `tuple` - the tuple
      Returns:
        the timestamp

Copyright © 2021 The Apache Software Foundation. All rights reserved.