Package org.apache.heron.api.windowing
-
Interface Summary Interface Description Event<T extends Serializable> An event is a wrapper object that gets stored in the window.EvictionContext Context information that can be used by the eviction policyEvictionPolicy<T extends Serializable,S> Eviction policy tracks events and decides whether an event should be evicted from the window or not.TimestampExtractor Interface to be implemented for extracting timestamp from a tuple.TriggerHandler The callback fired byTriggerPolicy
when the trigger condition is satisfied.TriggerPolicy<T extends Serializable,S> Triggers the window calculations based on the policy.TupleWindow 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 extends Serializable> TupleFieldTimestampExtractor ATimestampExtractor
that extracts timestamp from a specific field in the tuple.TupleWindowImpl Holds the expired, new and current tuples in a window.WaterMarkEvent<T extends Serializable> Watermark event used for tracking progress of time when processing event based ts.WaterMarkEventGenerator<T extends Serializable> Tracks tuples across input streams and periodically emits watermark events.WindowingConfigs WindowManager<T extends Serializable> Tracks a window of events and firesWindowLifecycleListener
callbacks on expiry of events or activation of the window due toTriggerPolicy
. -
Enum Summary Enum Description EvictionPolicy.Action The action to be taken whenEvictionPolicy.evict(Event)
is invoked.