Package 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>
Watermark event used for tracking progress of time when processing event based ts.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.storm.windowing.EventImpl
get, getTimestamp
-
Constructor Details
-
WaterMarkEvent
public WaterMarkEvent(long ts)
-
-
Method Details
-
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 interfaceEvent<T>
- Overrides:
isWatermark
in classEventImpl<T>
- Returns:
- true if this is a watermark event
-
toString
-