public class EventImpl<T> extends Object implements Event<T>
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Returns the wrapped object
|
Record<?> |
getRecord() |
long |
getTimestamp()
The event timestamp in millis
|
boolean |
isWatermark()
If this is a watermark event or not.
|
public long getTimestamp()
EventgetTimestamp in interface Event<T>public boolean isWatermark()
EventisWatermark in interface Event<T>Copyright © 2017–2019 Apache Software Foundation. All rights reserved.