类 EventImpl<T>

java.lang.Object
org.apache.pulsar.functions.windowing.EventImpl<T>
所有已实现的接口:
Event<T>
直接已知子类:
WaterMarkEvent

public class EventImpl<T> extends Object implements Event<T>
  • 方法详细资料

    • getTimestamp

      public long getTimestamp()
      从接口复制的说明: Event
      The event timestamp in millis.
      指定者:
      getTimestamp 在接口中 Event<T>
      返回:
      the event timestamp in milliseconds.
    • get

      public T get()
      从接口复制的说明: Event
      Returns the wrapped object.
      指定者:
      get 在接口中 Event<T>
      返回:
      the wrapped object.
    • isWatermark

      public boolean isWatermark()
      从接口复制的说明: Event
      If 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()
      指定者:
      getRecord 在接口中 Event<T>
      返回:
      the record associated with the event