| Package | Description |
|---|---|
| org.apache.pulsar.functions.windowing | |
| org.apache.pulsar.functions.windowing.evictors | |
| org.apache.pulsar.functions.windowing.triggers |
| Modifier and Type | Class and Description |
|---|---|
class |
EventImpl<T> |
class |
WaterMarkEvent<T>
Watermark event used for tracking progress of time when
processing event based ts.
|
| Modifier and Type | Field and Description |
|---|---|
protected Collection<Event<T>> |
WindowManager.queue |
protected WindowLifecycleListener<Event<T>> |
WindowManager.windowLifecycleListener |
| Modifier and Type | Method and Description |
|---|---|
protected WindowLifecycleListener<Event<Record<I>>> |
WindowFunctionExecutor.newWindowLifecycleListener(Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
WindowManager.add(Event<T> windowEvent)
Tracks a window event
|
EvictionPolicy.Action |
EvictionPolicy.evict(Event<T> event)
Decides if an event should be expired from the window, processed in the current
window or kept for later processing.
|
void |
TriggerPolicy.track(Event<T> event)
Tracks the event and could use this to invoke the trigger.
|
void |
EvictionPolicy.track(Event<T> event)
Tracks the event to later decide whether
EvictionPolicy.evict(Event) should evict it or not. |
| Constructor and Description |
|---|
WindowManager(WindowLifecycleListener<Event<T>> lifecycleListener,
Collection<Event<T>> queue)
Constructs a
WindowManager |
WindowManager(WindowLifecycleListener<Event<T>> lifecycleListener,
Collection<Event<T>> queue)
Constructs a
WindowManager |
| Modifier and Type | Method and Description |
|---|---|
EvictionPolicy.Action |
WatermarkCountEvictionPolicy.evict(Event<T> event) |
EvictionPolicy.Action |
CountEvictionPolicy.evict(Event<T> event) |
EvictionPolicy.Action |
WatermarkTimeEvictionPolicy.evict(Event<T> event)
Decides if an event should be expired from the window, processed in the current
window or kept for later processing.
|
EvictionPolicy.Action |
TimeEvictionPolicy.evict(Event<T> event)
Decides if an event should be expired from the window, processed in the current
window or kept for later processing.
|
void |
WatermarkCountEvictionPolicy.track(Event<T> event) |
void |
CountEvictionPolicy.track(Event<T> event) |
void |
TimeEvictionPolicy.track(Event<T> event) |
| Modifier and Type | Method and Description |
|---|---|
void |
CountTriggerPolicy.track(Event<T> event) |
void |
WatermarkTimeTriggerPolicy.track(Event<T> event) |
void |
TimeTriggerPolicy.track(Event<T> event) |
void |
WatermarkCountTriggerPolicy.track(Event<T> event) |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.