public interface Event<T>
An event is a wrapper object that gets stored in the window.
Modifier and Type | Method and Description |
---|---|
T |
get()
Returns the wrapped object, E.g.
|
long |
getTimestamp()
The event timestamp in millis.
|
boolean |
isWatermark()
If this is a watermark event or not.
|
long getTimestamp()
The 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.
T get()
Returns the wrapped object, E.g. a tuple
boolean isWatermark()
If this is a watermark event or not. Watermark events are used for tracking time while processing event based ts.
Copyright © 2019 The Apache Software Foundation. All rights reserved.