Uses of Class
org.apache.flink.streaming.api.windowing.windows.Window
-
Packages that use Window Package Description org.apache.flink.streaming.api.datastream org.apache.flink.streaming.api.functions.windowing org.apache.flink.streaming.api.windowing.assigners org.apache.flink.streaming.api.windowing.evictors org.apache.flink.streaming.api.windowing.triggers org.apache.flink.streaming.api.windowing.windows org.apache.flink.streaming.runtime.operators.windowing This package contains the operators that implement the various window operations on data streams.org.apache.flink.streaming.runtime.operators.windowing.functions -
-
Uses of Window in org.apache.flink.streaming.api.datastream
Classes in org.apache.flink.streaming.api.datastream with type parameters of type Window Modifier and Type Class Description classAllWindowedStream<T,W extends Window>AAllWindowedStreamrepresents a data stream where the stream of elements is split into windows based on aWindowAssigner.static classCoGroupedStreams.WithWindow<T1,T2,KEY,W extends Window>A co-group operation that hasKeySelectorsdefined for both inputs as well as aWindowAssigner.static classJoinedStreams.WithWindow<T1,T2,KEY,W extends Window>A join operation that hasKeySelectorsdefined for both inputs as well as aWindowAssigner.classWindowedStream<T,K,W extends Window>AWindowedStreamrepresents a data stream where elements are grouped by key, and for each key, the stream of elements is split into windows based on aWindowAssigner.Methods in org.apache.flink.streaming.api.datastream with type parameters of type Window Modifier and Type Method Description <W extends Window>
CoGroupedStreams.WithWindow<T1,T2,KEY,W>CoGroupedStreams.Where.EqualTo. window(WindowAssigner<? super CoGroupedStreams.TaggedUnion<T1,T2>,W> assigner)Specifies the window on which the co-group operation works.<W extends Window>
JoinedStreams.WithWindow<T1,T2,KEY,W>JoinedStreams.Where.EqualTo. window(WindowAssigner<? super CoGroupedStreams.TaggedUnion<T1,T2>,W> assigner)Specifies the window on which the join operation works.<W extends Window>
WindowedStream<T,KEY,W>KeyedStream. window(WindowAssigner<? super T,W> assigner)Windows this data stream to aWindowedStream, which evaluates windows over a key grouped stream.<W extends Window>
AllWindowedStream<T,W>DataStream. windowAll(WindowAssigner<? super T,W> assigner)Windows this data stream to aAllWindowedStream, which evaluates windows over a non key grouped stream. -
Uses of Window in org.apache.flink.streaming.api.functions.windowing
Classes in org.apache.flink.streaming.api.functions.windowing with type parameters of type Window Modifier and Type Class Description classAggregateApplyAllWindowFunction<W extends Window,T,ACC,V,R>classAggregateApplyWindowFunction<K,W extends Window,T,ACC,V,R>interfaceAllWindowFunction<IN,OUT,W extends Window>Base interface for functions that are evaluated over non-keyed windows.classInternalProcessApplyAllWindowContext<IN,OUT,W extends Window>Internal reusable context wrapper.classInternalProcessApplyWindowContext<IN,OUT,KEY,W extends Window>Internal reusable context wrapper.classPassThroughAllWindowFunction<W extends Window,T>AAllWindowFunctionthat just emits each input element.classPassThroughWindowFunction<K,W extends Window,T>AWindowFunctionthat just emits each input element.classProcessAllWindowFunction<IN,OUT,W extends Window>Base abstract class for functions that are evaluated over non-keyed windows using a context for retrieving extra information.classProcessWindowFunction<IN,OUT,KEY,W extends Window>Base abstract class for functions that are evaluated over keyed (grouped) windows using a context for retrieving extra information.classReduceApplyAllWindowFunction<W extends Window,T,R>InternalAllWindowFunctionthat is used for implementing a fold on a window configuration that only allowsAllWindowFunctionand cannot directly execute aReduceFunction.classReduceApplyProcessAllWindowFunction<W extends Window,T,R>InternalProcessAllWindowFunctionthat is used for implementing a fold on a window configuration that only allowsAllWindowFunctionand cannot directly execute aReduceFunction.classReduceApplyProcessWindowFunction<K,W extends Window,T,R>InternalProcessWindowFunctionthat is used for implementing a fold on a window configuration that only allowsAllWindowFunctionand cannot directly execute aReduceFunction.classReduceApplyWindowFunction<K,W extends Window,T,R>InternalWindowFunctionthat is used for implementing a fold on a window configuration that only allowsWindowFunctionand cannot directly execute aReduceFunction.classRichAllWindowFunction<IN,OUT,W extends Window>ARichFunctionversion ofAllWindowFunction.classRichProcessAllWindowFunction<IN,OUT,W extends Window>Deprecated.useProcessAllWindowFunctioninsteadclassRichProcessWindowFunction<IN,OUT,KEY,W extends Window>Deprecated.useProcessWindowFunctioninsteadclassRichWindowFunction<IN,OUT,KEY,W extends Window>Rich variant of theWindowFunction.interfaceWindowFunction<IN,OUT,KEY,W extends Window>Base interface for functions that are evaluated over keyed (grouped) windows. -
Uses of Window in org.apache.flink.streaming.api.windowing.assigners
Classes in org.apache.flink.streaming.api.windowing.assigners with type parameters of type Window Modifier and Type Class Description classMergingWindowAssigner<T,W extends Window>AWindowAssignerthat can merge windows.classWindowAssigner<T,W extends Window>AWindowAssignerassigns zero or moreWindowsto an element. -
Uses of Window in org.apache.flink.streaming.api.windowing.evictors
Classes in org.apache.flink.streaming.api.windowing.evictors with type parameters of type Window Modifier and Type Class Description classCountEvictor<W extends Window>AnEvictorthat keeps up to a certain amount of elements.classDeltaEvictor<T,W extends Window>AnEvictorthat keeps elements based on aDeltaFunctionand a threshold.interfaceEvictor<T,W extends Window>AnEvictorcan remove elements from a pane before/after the evaluation of WindowFunction and after the window evaluation gets triggered by aTriggerclassTimeEvictor<W extends Window>AnEvictorthat keeps elements for a certain amount of time.Methods in org.apache.flink.streaming.api.windowing.evictors with type parameters of type Window Modifier and Type Method Description static <W extends Window>
CountEvictor<W>CountEvictor. of(long maxCount)Creates aCountEvictorthat keeps the given number of elements.static <W extends Window>
CountEvictor<W>CountEvictor. of(long maxCount, boolean doEvictAfter)Creates aCountEvictorthat keeps the given number of elements in the pane Eviction is done before/after the window function based on the value of doEvictAfter.static <T,W extends Window>
DeltaEvictor<T,W>DeltaEvictor. of(double threshold, DeltaFunction<T> deltaFunction)Creates aDeltaEvictorfrom the given threshold andDeltaFunction.static <T,W extends Window>
DeltaEvictor<T,W>DeltaEvictor. of(double threshold, DeltaFunction<T> deltaFunction, boolean doEvictAfter)Creates aDeltaEvictorfrom the given threshold,DeltaFunction.static <W extends Window>
TimeEvictor<W>TimeEvictor. of(Time windowSize)Creates aTimeEvictorthat keeps the given number of elements.static <W extends Window>
TimeEvictor<W>TimeEvictor. of(Time windowSize, boolean doEvictAfter)Creates aTimeEvictorthat keeps the given number of elements. -
Uses of Window in org.apache.flink.streaming.api.windowing.triggers
Classes in org.apache.flink.streaming.api.windowing.triggers with type parameters of type Window Modifier and Type Class Description classContinuousEventTimeTrigger<W extends Window>ATriggerthat continuously fires based on a given time interval.classContinuousProcessingTimeTrigger<W extends Window>ATriggerthat continuously fires based on a given time interval as measured by the clock of the machine on which the job is running.classCountTrigger<W extends Window>ATriggerthat fires once the count of elements in a pane reaches the given count.classDeltaTrigger<T,W extends Window>ATriggerthat fires based on aDeltaFunctionand a threshold.classProcessingTimeoutTrigger<T,W extends Window>classPurgingTrigger<T,W extends Window>A trigger that can turn anyTriggerinto a purgingTrigger.classTrigger<T,W extends Window>ATriggerdetermines when a pane of a window should be evaluated to emit the results for that part of the window.Methods in org.apache.flink.streaming.api.windowing.triggers with type parameters of type Window Modifier and Type Method Description static <W extends Window>
ContinuousEventTimeTrigger<W>ContinuousEventTimeTrigger. of(Time interval)Creates a trigger that continuously fires based on the given interval.static <W extends Window>
ContinuousProcessingTimeTrigger<W>ContinuousProcessingTimeTrigger. of(Time interval)Creates a trigger that continuously fires based on the given interval.static <W extends Window>
CountTrigger<W>CountTrigger. of(long maxCount)Creates a trigger that fires once the number of elements in a pane reaches the given count.static <T,W extends Window>
DeltaTrigger<T,W>DeltaTrigger. of(double threshold, DeltaFunction<T> deltaFunction, org.apache.flink.api.common.typeutils.TypeSerializer<T> stateSerializer)Creates a delta trigger from the given threshold andDeltaFunction.static <T,W extends Window>
ProcessingTimeoutTrigger<T,W>ProcessingTimeoutTrigger. of(Trigger<T,W> nestedTrigger, Duration timeout)Creates a newProcessingTimeoutTriggerthat fires when the inner trigger is fired or when the timeout timer fires.static <T,W extends Window>
ProcessingTimeoutTrigger<T,W>ProcessingTimeoutTrigger. of(Trigger<T,W> nestedTrigger, Duration timeout, boolean resetTimerOnNewRecord, boolean shouldClearOnTimeout)Creates a newProcessingTimeoutTriggerthat fires when the inner trigger is fired or when the timeout timer fires.static <T,W extends Window>
PurgingTrigger<T,W>PurgingTrigger. of(Trigger<T,W> nestedTrigger)Creates a new purging trigger from the givenTrigger. -
Uses of Window in org.apache.flink.streaming.api.windowing.windows
Subclasses of Window in org.apache.flink.streaming.api.windowing.windows Modifier and Type Class Description classGlobalWindowThe default window into which all data is placed (viaGlobalWindows).classTimeWindow -
Uses of Window in org.apache.flink.streaming.runtime.operators.windowing
Classes in org.apache.flink.streaming.runtime.operators.windowing with type parameters of type Window Modifier and Type Class Description classEvictingWindowOperator<K,IN,OUT,W extends Window>AWindowOperatorthat also allows anEvictorto be used.classMergingWindowSet<W extends Window>Utility for keeping track of mergingWindowswhen using aMergingWindowAssignerin aWindowOperator.classWindowOperator<K,IN,ACC,OUT,W extends Window>An operator that implements the logic for windowing based on aWindowAssignerandTrigger.protected static classWindowOperator.Timer<K,W extends Window>Internal class for keeping track of in-flight timers.classWindowOperatorBuilder<T,K,W extends Window>A builder for creatingWindowOperators.Fields in org.apache.flink.streaming.runtime.operators.windowing declared as Window Modifier and Type Field Description protected WWindowOperator.AbstractPerWindowStateStore. windowprotected WWindowOperator.Context. windowprotected WWindowOperator.Timer. windowprotected WWindowOperator.WindowContext. window -
Uses of Window in org.apache.flink.streaming.runtime.operators.windowing.functions
Classes in org.apache.flink.streaming.runtime.operators.windowing.functions with type parameters of type Window Modifier and Type Class Description classInternalAggregateProcessAllWindowFunction<T,ACC,V,R,W extends Window>Internal window function for wrapping aProcessAllWindowFunctionthat takes anIterableand anAggregateFunction.classInternalAggregateProcessWindowFunction<T,ACC,V,R,K,W extends Window>Internal window function for wrapping aProcessWindowFunctionthat takes anIterableand anAggregateFunction.classInternalIterableAllWindowFunction<IN,OUT,W extends Window>Internal window function for wrapping anAllWindowFunctionthat takes anIterablewhen the window state also is anIterable.classInternalIterableProcessAllWindowFunction<IN,OUT,W extends Window>Internal window function for wrapping aProcessAllWindowFunctionthat takes anIterablewhen the window state also is anIterable.classInternalIterableProcessWindowFunction<IN,OUT,KEY,W extends Window>Internal window function for wrapping aProcessWindowFunctionthat takes anIterablewhen the window state also is anIterable.classInternalIterableWindowFunction<IN,OUT,KEY,W extends Window>Internal window function for wrapping aWindowFunctionthat takes anIterablewhen the window state also is anIterable.classInternalProcessAllWindowContext<IN,OUT,W extends Window>Internal reusable context wrapper.classInternalProcessWindowContext<IN,OUT,KEY,W extends Window>Internal reusable context wrapper.classInternalSingleValueAllWindowFunction<IN,OUT,W extends Window>Internal window function for wrapping anAllWindowFunctionthat takes anIterablewhen the window state is a single value.classInternalSingleValueProcessAllWindowFunction<IN,OUT,W extends Window>Internal window function for wrapping aProcessAllWindowFunctionthat takes anIterablewhen the window state is a single value.classInternalSingleValueProcessWindowFunction<IN,OUT,KEY,W extends Window>Internal window function for wrapping aProcessWindowFunctionthat takes anIterablewhen the window state is a single value.classInternalSingleValueWindowFunction<IN,OUT,KEY,W extends Window>Internal window function for wrapping aWindowFunctionthat takes anIterablewhen the window state is a single value.interfaceInternalWindowFunction<IN,OUT,KEY,W extends Window>Internal interface for functions that are evaluated over keyed (grouped) windows.
-