Uses of Class
org.apache.flink.streaming.api.windowing.time.Time
-
Packages that use Time Package Description org.apache.flink.streaming.api.datastream org.apache.flink.streaming.api.functions.timestamps org.apache.flink.streaming.api.windowing.assigners org.apache.flink.streaming.api.windowing.evictors org.apache.flink.streaming.api.windowing.time 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 Time in org.apache.flink.streaming.api.datastream
Methods in org.apache.flink.streaming.api.datastream with parameters of type Time Modifier and Type Method Description AllWindowedStream<T,W>AllWindowedStream. allowedLateness(Time lateness)Sets the time by which elements are allowed to be late.CoGroupedStreams.WithWindow<T1,T2,KEY,W>CoGroupedStreams.WithWindow. allowedLateness(Time newLateness)Sets the time by which elements are allowed to be late.JoinedStreams.WithWindow<T1,T2,KEY,W>JoinedStreams.WithWindow. allowedLateness(Time newLateness)Sets the time by which elements are allowed to be late.WindowedStream<T,K,W>WindowedStream. allowedLateness(Time lateness)Sets the time by which elements are allowed to be late.KeyedStream.IntervalJoined<T1,T2,KEY>KeyedStream.IntervalJoin. between(Time lowerBound, Time upperBound)Specifies the time boundaries over which the join operation works, so thatWindowedStream<T,KEY,TimeWindow>KeyedStream. timeWindow(Time size)Deprecated.Please useKeyedStream.window(WindowAssigner)with eitherTumblingEventTimeWindowsorTumblingProcessingTimeWindows.WindowedStream<T,KEY,TimeWindow>KeyedStream. timeWindow(Time size, Time slide)Deprecated.Please useKeyedStream.window(WindowAssigner)with eitherSlidingEventTimeWindowsorSlidingProcessingTimeWindows.AllWindowedStream<T,TimeWindow>DataStream. timeWindowAll(Time size)Deprecated.Please useDataStream.windowAll(WindowAssigner)with eitherTumblingEventTimeWindowsorTumblingProcessingTimeWindows.AllWindowedStream<T,TimeWindow>DataStream. timeWindowAll(Time size, Time slide)Deprecated.Please useDataStream.windowAll(WindowAssigner)with eitherSlidingEventTimeWindowsorSlidingProcessingTimeWindows.Constructors in org.apache.flink.streaming.api.datastream with parameters of type Time 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, 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, Time allowedLateness) -
Uses of Time in org.apache.flink.streaming.api.functions.timestamps
Constructors in org.apache.flink.streaming.api.functions.timestamps with parameters of type Time Constructor Description BoundedOutOfOrdernessTimestampExtractor(Time maxOutOfOrderness) -
Uses of Time in org.apache.flink.streaming.api.windowing.assigners
Methods in org.apache.flink.streaming.api.windowing.assigners with parameters of type Time Modifier and Type Method Description static SlidingEventTimeWindowsSlidingEventTimeWindows. of(Time size, Time slide)Creates a newSlidingEventTimeWindowsWindowAssignerthat assigns elements to sliding time windows based on the element timestamp.static SlidingEventTimeWindowsSlidingEventTimeWindows. of(Time size, Time slide, Time offset)Creates a newSlidingEventTimeWindowsWindowAssignerthat assigns elements to time windows based on the element timestamp and offset.static SlidingProcessingTimeWindowsSlidingProcessingTimeWindows. of(Time size, Time slide)Creates a newSlidingProcessingTimeWindowsWindowAssignerthat assigns elements to sliding time windows based on the element timestamp.static SlidingProcessingTimeWindowsSlidingProcessingTimeWindows. of(Time size, Time slide, Time offset)Creates a newSlidingProcessingTimeWindowsWindowAssignerthat assigns elements to time windows based on the element timestamp and offset.static TumblingEventTimeWindowsTumblingEventTimeWindows. of(Time size)Creates a newTumblingEventTimeWindowsWindowAssignerthat assigns elements to time windows based on the element timestamp.static TumblingEventTimeWindowsTumblingEventTimeWindows. of(Time size, Time offset)Creates a newTumblingEventTimeWindowsWindowAssignerthat assigns elements to time windows based on the element timestamp and offset.static TumblingEventTimeWindowsTumblingEventTimeWindows. of(Time size, Time offset, WindowStagger windowStagger)Creates a newTumblingEventTimeWindowsWindowAssignerthat assigns elements to time windows based on the element timestamp, offset and a staggering offset, depending on the staggering policy.static TumblingProcessingTimeWindowsTumblingProcessingTimeWindows. of(Time size)Creates a newTumblingProcessingTimeWindowsWindowAssignerthat assigns elements to time windows based on the element timestamp.static TumblingProcessingTimeWindowsTumblingProcessingTimeWindows. of(Time size, Time offset)Creates a newTumblingProcessingTimeWindowsWindowAssignerthat assigns elements to time windows based on the element timestamp and offset.static TumblingProcessingTimeWindowsTumblingProcessingTimeWindows. of(Time size, Time offset, WindowStagger windowStagger)Creates a newTumblingProcessingTimeWindowsWindowAssignerthat assigns elements to time windows based on the element timestamp, offset and a staggering offset, depending on the staggering policy.static EventTimeSessionWindowsEventTimeSessionWindows. withGap(Time size)Creates a newSessionWindowsWindowAssignerthat assigns elements to sessions based on the element timestamp.static ProcessingTimeSessionWindowsProcessingTimeSessionWindows. withGap(Time size)Creates a newSessionWindowsWindowAssignerthat assigns elements to sessions based on the element timestamp. -
Uses of Time in org.apache.flink.streaming.api.windowing.evictors
Methods in org.apache.flink.streaming.api.windowing.evictors with parameters of type Time Modifier and Type Method Description 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 Time in org.apache.flink.streaming.api.windowing.time
Methods in org.apache.flink.streaming.api.windowing.time that return Time Modifier and Type Method Description static TimeTime. days(long days)Creates a newTimethat represents the given number of days.static TimeTime. hours(long hours)Creates a newTimethat represents the given number of hours.static TimeTime. milliseconds(long milliseconds)Creates a newTimethat represents the given number of milliseconds.static TimeTime. minutes(long minutes)Creates a newTimethat represents the given number of minutes.static TimeTime. of(long size, TimeUnit unit)static TimeTime. seconds(long seconds)Creates a newTimethat represents the given number of seconds. -
Uses of Time in org.apache.flink.streaming.api.windowing.triggers
Methods in org.apache.flink.streaming.api.windowing.triggers with parameters of type Time 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. -
Uses of Time in org.apache.flink.streaming.runtime.operators.windowing
Methods in org.apache.flink.streaming.runtime.operators.windowing with parameters of type Time Modifier and Type Method Description voidWindowOperatorBuilder. allowedLateness(Time lateness)
-