public class ContinuousFileReaderOperatorFactory<OUT,T extends TimestampedInputSplit> extends AbstractStreamOperatorFactory<OUT> implements YieldingOperatorFactory<OUT>, OneInputStreamOperatorFactory<T,OUT>
ContinuousFileReaderOperator factory.chainingStrategy, processingTimeService| Constructor and Description |
|---|
ContinuousFileReaderOperatorFactory(org.apache.flink.api.common.io.InputFormat<OUT,? super T> inputFormat) |
ContinuousFileReaderOperatorFactory(org.apache.flink.api.common.io.InputFormat<OUT,? super T> inputFormat,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> type,
org.apache.flink.api.common.ExecutionConfig executionConfig) |
getChainingStrategy, setChainingStrategy, setProcessingTimeServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChainingStrategy, isInputTypeConfigurable, isLegacySource, isStreamSource, setChainingStrategy, setInputTypepublic ContinuousFileReaderOperatorFactory(org.apache.flink.api.common.io.InputFormat<OUT,? super T> inputFormat)
public void setMailboxExecutor(MailboxExecutor mailboxExecutor)
setMailboxExecutor in interface YieldingOperatorFactory<OUT>public <O extends StreamOperator<OUT>> O createStreamOperator(StreamOperatorParameters<OUT> parameters)
StreamOperatorFactorycreateStreamOperator in interface StreamOperatorFactory<OUT>public void setOutputType(org.apache.flink.api.common.typeinfo.TypeInformation<OUT> type, org.apache.flink.api.common.ExecutionConfig executionConfig)
StreamOperatorFactoryStreamGraph.addOperator(java.lang.Integer, java.lang.String, java.lang.String, org.apache.flink.streaming.api.operators.StreamOperatorFactory<OUT>, org.apache.flink.api.common.typeinfo.TypeInformation<IN>, org.apache.flink.api.common.typeinfo.TypeInformation<OUT>, java.lang.String) method when the StreamGraph is
generated. The method is called with the output TypeInformation which is also used
for the StreamTask output serializer.setOutputType in interface StreamOperatorFactory<OUT>type - Output type information of the StreamTaskexecutionConfig - Execution configurationpublic Class<? extends StreamOperator> getStreamOperatorClass(ClassLoader classLoader)
StreamOperatorFactorygetStreamOperatorClass in interface StreamOperatorFactory<OUT>public boolean isOutputTypeConfigurable()
StreamOperatorFactoryStreamGraph
generation. This can be useful for cases where the output type is specified by the returns
method and, thus, after the stream operator has been created.isOutputTypeConfigurable in interface StreamOperatorFactory<OUT>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.