org.apache.storm.windowing

## Class WaterMarkEvent<T>

- java.lang.Object
- - org.apache.storm.windowing.EventImpl<T>
  - - org.apache.storm.windowing.WaterMarkEvent<T>

- All Implemented Interfaces:
    Event<T>

      public class WaterMarkEvent<T>
      extends EventImpl<T>

  Watermark event used for tracking progress of time when processing event based ts.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WaterMarkEvent(long ts)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isWatermark()` If this is a watermark event or not.
    `String` | `toString()`

    - ### Methods inherited from class org.apache.storm.windowing.EventImpl

      `get, getTimestamp`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### WaterMarkEvent

          public WaterMarkEvent(long ts)

  - ### Method Detail

    - #### isWatermark

          public boolean isWatermark()

      Description copied from interface: `Event`

      If this is a watermark event or not. Watermark events are used for tracking time while processing event based ts.

      Specified by:
        `isWatermark` in interface `Event<T>`
      Overrides:
        `isWatermark` in class `EventImpl<T>`
      Returns:
        true if this is a watermark event

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `EventImpl<T>`

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