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()
Event
getTimestamp
in interface Event<T>
public T get()
Event
public boolean isWatermark()
Event
isWatermark
in interface Event<T>
Copyright © 2023 The Apache Software Foundation. All rights reserved.