Package org.apache.pulsar.functions.windowing
-
Interface Summary Interface Description Event<T> An event is a wrapper object that gets stored in the window.EvictionContext Context information that can be used by the eviction policy.EvictionPolicy<T,S> Eviction policy tracks events and decides whether an event should be evicted from the window or not.TimestampExtractor<I> Interface to be implemented for extracting timestamp from a tuple.TriggerHandler The callback fired byTriggerPolicywhen the trigger condition is satisfied.TriggerPolicy<T,S> Triggers the window calculations based on the policy.Window<T> A view of events in a sliding window.WindowLifecycleListener<T> A callback for expiry, activation of events tracked by theWindowManager -
Class Summary Class Description DefaultEvictionContext EventImpl<T> WaterMarkEvent<T> Watermark event used for tracking progress of time when processing event based ts.WaterMarkEventGenerator<T> Tracks tuples across input topics and periodically emits watermark events.WindowContextImpl WindowFunctionExecutor<I,O> WindowImpl<T> Holds the expired, new and current events in a window.WindowManager<T> Tracks a window of events and firesWindowLifecycleListenercallbacks on expiry of events or activation of the window due toTriggerPolicy.WindowUtils -
Enum Summary Enum Description EvictionPolicy.Action The action to be taken whenEvictionPolicy.evict(Event)is invoked.