类 EventImpl<T>
java.lang.Object
org.apache.pulsar.functions.windowing.EventImpl<T>
- 所有已实现的接口:
Event<T>
- 直接已知子类:
WaterMarkEvent
-
方法概要
修饰符和类型方法说明get()Returns the wrapped object.org.apache.pulsar.functions.api.Record<?>longThe event timestamp in millis.booleanIf this is a watermark event or not.
-
方法详细资料
-
getTimestamp
public long getTimestamp()从接口复制的说明:EventThe event timestamp in millis.- 指定者:
getTimestamp在接口中Event<T>- 返回:
- the event timestamp in milliseconds.
-
get
从接口复制的说明:EventReturns the wrapped object. -
isWatermark
public boolean isWatermark()从接口复制的说明:EventIf this is a watermark event or not. Watermark events are used for tracking time while processing event based ts.- 指定者:
isWatermark在接口中Event<T>- 返回:
- true if this is a watermark event
-
getRecord
public org.apache.pulsar.functions.api.Record<?> getRecord()
-