Package org.apache.pulsar.functions.windowing
package org.apache.pulsar.functions.windowing
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
ClassDescriptionEvent<T>An event is a wrapper object that gets stored in the window.EventImpl<T>Context information that can be used by the eviction policy.EvictionPolicy<T,
X> Eviction policy tracks events and decides whether an event should be evicted from the window or not.The action to be taken whenEvictionPolicy.evict(Event)is invoked.Interface to be implemented for extracting timestamp from a tuple.The callback fired byTriggerPolicywhen the trigger condition is satisfied.TriggerPolicy<T,X> Triggers the window calculations based on the policy.Watermark event used for tracking progress of time when processing event based ts.Tracks tuples across input topics and periodically emits watermark events.Window<T>A view of events in a sliding window.WindowImpl<T>Holds the expired, new and current events in a window.A callback for expiry, activation of events tracked by theWindowManager.Tracks a window of events and firesWindowLifecycleListenercallbacks on expiry of events or activation of the window due toTriggerPolicy.