public class EventImpl<T> extends java.lang.Object implements Event<T>
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.
|
java.lang.String |
toString() |
public long getTimestamp()
Event
getTimestamp
in interface Event<T>
public T get()
Event
public boolean isWatermark()
Event
isWatermark
in interface Event<T>
public java.lang.String toString()
toString
in class java.lang.Object