Class TimestampsAndWatermarksOperatorFactory<T>
java.lang.Object
org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory<T>
org.apache.flink.streaming.runtime.operators.TimestampsAndWatermarksOperatorFactory<T>
- All Implemented Interfaces:
Serializable,OneInputStreamOperatorFactory<T,,T> StreamOperatorFactory<T>,ProcessingTimeServiceAware
public class TimestampsAndWatermarksOperatorFactory<T>
extends AbstractStreamOperatorFactory<T>
implements OneInputStreamOperatorFactory<T,T>
- See Also:
-
Field Summary
Fields inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory
chainingStrategy, processingTimeService -
Constructor Summary
ConstructorsConstructorDescriptionTimestampsAndWatermarksOperatorFactory(org.apache.flink.api.common.eventtime.WatermarkStrategy<T> watermarkStrategy, boolean emitProgressiveWatermarks) -
Method Summary
Modifier and TypeMethodDescription<T1 extends StreamOperator<T>>
T1createStreamOperator(StreamOperatorParameters<T> parameters) Create the operator.Class<? extends StreamOperator>getStreamOperatorClass(ClassLoader classLoader) Returns the runtime class of the stream operator.Methods 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
-
TimestampsAndWatermarksOperatorFactory
public TimestampsAndWatermarksOperatorFactory(org.apache.flink.api.common.eventtime.WatermarkStrategy<T> watermarkStrategy, boolean emitProgressiveWatermarks)
-
-
Method Details
-
createStreamOperator
public <T1 extends StreamOperator<T>> T1 createStreamOperator(StreamOperatorParameters<T> parameters) Description copied from interface:StreamOperatorFactoryCreate the operator. Sets access to the context and the output.- Specified by:
createStreamOperatorin interfaceStreamOperatorFactory<T>
-
getStreamOperatorClass
Description copied from interface:StreamOperatorFactoryReturns the runtime class of the stream operator.- Specified by:
getStreamOperatorClassin interfaceStreamOperatorFactory<T>
-