public class EventImpl<T> extends 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.
|
String |
toString() |
public long getTimestamp()
EventgetTimestamp in interface Event<T>public T get()
Eventpublic boolean isWatermark()
EventisWatermark in interface Event<T>Copyright © 2023 The Apache Software Foundation. All rights reserved.