Uses of Class
org.apache.flink.streaming.api.windowing.triggers.Trigger
-
Packages that use Trigger Package Description org.apache.flink.streaming.api.datastream org.apache.flink.streaming.api.windowing.assigners org.apache.flink.streaming.api.windowing.triggers org.apache.flink.streaming.runtime.operators.windowing This package contains the operators that implement the various window operations on data streams. -
-
Uses of Trigger in org.apache.flink.streaming.api.datastream
Methods in org.apache.flink.streaming.api.datastream with parameters of type Trigger Modifier and Type Method Description AllWindowedStream<T,W>AllWindowedStream. trigger(Trigger<? super T,? super W> trigger)Sets theTriggerthat should be used to trigger window emission.CoGroupedStreams.WithWindow<T1,T2,KEY,W>CoGroupedStreams.WithWindow. trigger(Trigger<? super CoGroupedStreams.TaggedUnion<T1,T2>,? super W> newTrigger)Sets theTriggerthat should be used to trigger window emission.JoinedStreams.WithWindow<T1,T2,KEY,W>JoinedStreams.WithWindow. trigger(Trigger<? super CoGroupedStreams.TaggedUnion<T1,T2>,? super W> newTrigger)Sets theTriggerthat should be used to trigger window emission.WindowedStream<T,K,W>WindowedStream. trigger(Trigger<? super T,? super W> trigger)Sets theTriggerthat should be used to trigger window emission.Constructors in org.apache.flink.streaming.api.datastream with parameters of type Trigger Constructor Description WithWindow(DataStream<T1> input1, DataStream<T2> input2, org.apache.flink.api.java.functions.KeySelector<T1,KEY> keySelector1, org.apache.flink.api.java.functions.KeySelector<T2,KEY> keySelector2, org.apache.flink.api.common.typeinfo.TypeInformation<KEY> keyType, WindowAssigner<? super CoGroupedStreams.TaggedUnion<T1,T2>,W> windowAssigner, Trigger<? super CoGroupedStreams.TaggedUnion<T1,T2>,? super W> trigger, Evictor<? super CoGroupedStreams.TaggedUnion<T1,T2>,? super W> evictor, java.time.Duration allowedLateness)WithWindow(DataStream<T1> input1, DataStream<T2> input2, org.apache.flink.api.java.functions.KeySelector<T1,KEY> keySelector1, org.apache.flink.api.java.functions.KeySelector<T2,KEY> keySelector2, org.apache.flink.api.common.typeinfo.TypeInformation<KEY> keyType, WindowAssigner<? super CoGroupedStreams.TaggedUnion<T1,T2>,W> windowAssigner, Trigger<? super CoGroupedStreams.TaggedUnion<T1,T2>,? super W> trigger, Evictor<? super CoGroupedStreams.TaggedUnion<T1,T2>,? super W> evictor, Time allowedLateness)WithWindow(DataStream<T1> input1, DataStream<T2> input2, org.apache.flink.api.java.functions.KeySelector<T1,KEY> keySelector1, org.apache.flink.api.java.functions.KeySelector<T2,KEY> keySelector2, org.apache.flink.api.common.typeinfo.TypeInformation<KEY> keyType, WindowAssigner<? super CoGroupedStreams.TaggedUnion<T1,T2>,W> windowAssigner, Trigger<? super CoGroupedStreams.TaggedUnion<T1,T2>,? super W> trigger, Evictor<? super CoGroupedStreams.TaggedUnion<T1,T2>,? super W> evictor, java.time.Duration allowedLateness)WithWindow(DataStream<T1> input1, DataStream<T2> input2, org.apache.flink.api.java.functions.KeySelector<T1,KEY> keySelector1, org.apache.flink.api.java.functions.KeySelector<T2,KEY> keySelector2, org.apache.flink.api.common.typeinfo.TypeInformation<KEY> keyType, WindowAssigner<? super CoGroupedStreams.TaggedUnion<T1,T2>,W> windowAssigner, Trigger<? super CoGroupedStreams.TaggedUnion<T1,T2>,? super W> trigger, Evictor<? super CoGroupedStreams.TaggedUnion<T1,T2>,? super W> evictor, Time allowedLateness) -
Uses of Trigger in org.apache.flink.streaming.api.windowing.assigners
Subclasses of Trigger in org.apache.flink.streaming.api.windowing.assigners Modifier and Type Class Description static classGlobalWindows.NeverTriggerA trigger that never fires, as default Trigger for GlobalWindows. -
Uses of Trigger in org.apache.flink.streaming.api.windowing.triggers
Subclasses of Trigger in org.apache.flink.streaming.api.windowing.triggers 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.classEventTimeTriggerATriggerthat fires once the watermark passes the end of the window to which a pane belongs.classProcessingTimeoutTrigger<T,W extends Window>classProcessingTimeTriggerATriggerthat fires once the current system time passes the end of the window to which a pane belongs.classPurgingTrigger<T,W extends Window>A trigger that can turn anyTriggerinto a purgingTrigger.Methods in org.apache.flink.streaming.api.windowing.triggers that return Trigger Modifier and Type Method Description Trigger<T,W>PurgingTrigger. getNestedTrigger()Methods in org.apache.flink.streaming.api.windowing.triggers with parameters of type Trigger Modifier and Type Method Description static <T,W extends Window>
ProcessingTimeoutTrigger<T,W>ProcessingTimeoutTrigger. of(Trigger<T,W> nestedTrigger, java.time.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, java.time.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 Trigger in org.apache.flink.streaming.runtime.operators.windowing
Methods in org.apache.flink.streaming.runtime.operators.windowing that return Trigger Modifier and Type Method Description Trigger<? super IN,? super W>WindowOperator. getTrigger()Methods in org.apache.flink.streaming.runtime.operators.windowing with parameters of type Trigger Modifier and Type Method Description voidWindowOperatorBuilder. trigger(Trigger<? super T,? super W> trigger)Constructors in org.apache.flink.streaming.runtime.operators.windowing with parameters of type Trigger Constructor Description EvictingWindowOperator(WindowAssigner<? super IN,W> windowAssigner, org.apache.flink.api.common.typeutils.TypeSerializer<W> windowSerializer, org.apache.flink.api.java.functions.KeySelector<IN,K> keySelector, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, org.apache.flink.api.common.state.StateDescriptor<? extends org.apache.flink.api.common.state.ListState<StreamRecord<IN>>,?> windowStateDescriptor, InternalWindowFunction<Iterable<IN>,OUT,K,W> windowFunction, Trigger<? super IN,? super W> trigger, Evictor<? super IN,? super W> evictor, long allowedLateness, org.apache.flink.util.OutputTag<IN> lateDataOutputTag)WindowOperator(WindowAssigner<? super IN,W> windowAssigner, org.apache.flink.api.common.typeutils.TypeSerializer<W> windowSerializer, org.apache.flink.api.java.functions.KeySelector<IN,K> keySelector, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, org.apache.flink.api.common.state.StateDescriptor<? extends org.apache.flink.api.common.state.AppendingState<IN,ACC>,?> windowStateDescriptor, InternalWindowFunction<ACC,OUT,K,W> windowFunction, Trigger<? super IN,? super W> trigger, long allowedLateness, org.apache.flink.util.OutputTag<IN> lateDataOutputTag)Creates a newWindowOperatorbased on the given policies and user functions.WindowOperatorBuilder(WindowAssigner<? super T,W> windowAssigner, Trigger<? super T,? super W> trigger, org.apache.flink.api.common.ExecutionConfig config, org.apache.flink.api.common.typeinfo.TypeInformation<T> inputType, org.apache.flink.api.java.functions.KeySelector<T,K> keySelector, org.apache.flink.api.common.typeinfo.TypeInformation<K> keyType)
-