类 WindowImpl<T>
java.lang.Object
org.apache.pulsar.functions.windowing.WindowImpl<T>
- 所有已实现的接口:
Window<T>
Holds the expired, new and current events in a window.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanget()Gets the list of events in the window.If processing based on event time, returns the window end time based on watermark otherwise returns the window end time based on processing time.Get the list of events expired from the window since the last time the window was generated.getNew()Get the list of newly added events in the window since the last time the window was generated.Returns the window start timestamp.inthashCode()toString()
-
构造器详细资料
-
WindowImpl
-
-
方法详细资料
-
get
从接口复制的说明:WindowGets the list of events in the window.Note: If the number of tuples in windows is huge, invoking
getwould load all the tuples into memory and may throw an OOM exception. Use windowing with persistence -
getNew
从接口复制的说明:WindowGet the list of newly added events in the window since the last time the window was generated. -
getExpired
从接口复制的说明:WindowGet the list of events expired from the window since the last time the window was generated.- 指定者:
getExpired在接口中Window<T>- 返回:
- the list of events expired from the window.
-
getStartTimestamp
从接口复制的说明:WindowReturns the window start timestamp. Will return null if the window length is not based on time duration.- 指定者:
getStartTimestamp在接口中Window<T>- 返回:
- the window start timestamp or null if the window length is not time based
-
getEndTimestamp
从接口复制的说明:WindowIf processing based on event time, returns the window end time based on watermark otherwise returns the window end time based on processing time.- 指定者:
getEndTimestamp在接口中Window<T>- 返回:
- the window end timestamp
-
toString
-
equals
-
hashCode
public int hashCode()
-