Class EvictingWindowOperatorFactory<K,IN,OUT,W extends Window>
java.lang.Object
org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory<OUT>
org.apache.flink.streaming.runtime.operators.windowing.WindowOperatorFactory<K,IN,Iterable<IN>,OUT,W>
org.apache.flink.streaming.runtime.operators.windowing.EvictingWindowOperatorFactory<K,IN,OUT,W>
- All Implemented Interfaces:
Serializable,OneInputStreamOperatorFactory<IN,,OUT> StreamOperatorFactory<OUT>,ProcessingTimeServiceAware
@Internal
public class EvictingWindowOperatorFactory<K,IN,OUT,W extends Window>
extends WindowOperatorFactory<K,IN,Iterable<IN>,OUT,W>
- See Also:
-
Field Summary
Fields inherited from class org.apache.flink.streaming.runtime.operators.windowing.WindowOperatorFactory
allowedLateness, keySelector, keySerializer, lateDataOutputTag, trigger, windowAssigner, windowFunction, windowSerializer, windowStateDescriptorFields inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory
chainingStrategy, processingTimeService -
Constructor Summary
ConstructorsConstructorDescriptionEvictingWindowOperatorFactory(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) -
Method Summary
Modifier and TypeMethodDescription<T extends StreamOperator<OUT>>
TcreateStreamOperator(StreamOperatorParameters<OUT> parameters) Create the operator.org.apache.flink.api.common.state.StateDescriptor<? extends org.apache.flink.api.common.state.AppendingState<IN,Iterable<IN>>, ?> Class<? extends StreamOperator>getStreamOperatorClass(ClassLoader classLoader) Returns the runtime class of the stream operator.Methods inherited from class org.apache.flink.streaming.runtime.operators.windowing.WindowOperatorFactory
getKeySelector, getTrigger, getWindowAssignerMethods inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory
getChainingStrategy, getMailboxExecutor, setChainingStrategy, setMailboxExecutor, setProcessingTimeServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.streaming.api.operators.StreamOperatorFactory
getChainingStrategy, getOperatorAttributes, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, setChainingStrategy, setInputType, setOutputType
-
Constructor Details
-
EvictingWindowOperatorFactory
public EvictingWindowOperatorFactory(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)
-
-
Method Details
-
createStreamOperator
public <T extends StreamOperator<OUT>> T createStreamOperator(StreamOperatorParameters<OUT> parameters) Description copied from interface:StreamOperatorFactoryCreate the operator. Sets access to the context and the output.- Specified by:
createStreamOperatorin interfaceStreamOperatorFactory<K>- Overrides:
createStreamOperatorin classWindowOperatorFactory<K,IN, Iterable<IN>, OUT, W extends Window>
-
getStreamOperatorClass
Description copied from interface:StreamOperatorFactoryReturns the runtime class of the stream operator.- Specified by:
getStreamOperatorClassin interfaceStreamOperatorFactory<K>- Overrides:
getStreamOperatorClassin classWindowOperatorFactory<K,IN, Iterable<IN>, OUT, W extends Window>
-
getStateDescriptor
@VisibleForTesting public org.apache.flink.api.common.state.StateDescriptor<? extends org.apache.flink.api.common.state.AppendingState<IN,Iterable<IN>>, getStateDescriptor()?> - Overrides:
getStateDescriptorin classWindowOperatorFactory<K,IN, Iterable<IN>, OUT, W extends Window>
-
getEvictor
-