Package org.apache.storm.windowing
Class EventImpl<T>
java.lang.Object
org.apache.storm.windowing.EventImpl<T>
- All Implemented Interfaces:
- Event<T>
- Direct Known Subclasses:
- WaterMarkEvent
- 
Method Details- 
getTimestamppublic long getTimestamp()Description copied from interface:EventThe event timestamp in millis. This could be the time when the source generated the tuple or the time when the tuple was received by a bolt.- Specified by:
- getTimestampin interface- Event<T>
- Returns:
- the event timestamp in milliseconds.
 
- 
getDescription copied from interface:EventReturns the wrapped object, E.g. a tuple
- 
isWatermarkpublic boolean isWatermark()Description copied from interface:EventIf this is a watermark event or not. Watermark events are used for tracking time while processing event based ts.- Specified by:
- isWatermarkin interface- Event<T>
- Returns:
- true if this is a watermark event
 
- 
toString
 
-