public class CollectSinkOperatorFactory<IN> extends SimpleUdfStreamOperatorFactory<Object> implements CoordinatedOperatorFactory<Object>
CollectSinkOperator.| 限定符和类型 | 字段和说明 |
|---|---|
static org.apache.flink.configuration.ConfigOption<org.apache.flink.configuration.MemorySize> |
MAX_BATCH_SIZE |
static org.apache.flink.configuration.ConfigOption<java.time.Duration> |
SOCKET_TIMEOUT |
chainingStrategy, processingTimeService| 构造器和说明 |
|---|
CollectSinkOperatorFactory(org.apache.flink.api.common.typeutils.TypeSerializer<IN> serializer,
String accumulatorName) |
CollectSinkOperatorFactory(org.apache.flink.api.common.typeutils.TypeSerializer<IN> serializer,
String accumulatorName,
org.apache.flink.configuration.MemorySize maxBatchSize,
java.time.Duration socketTimeout) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends StreamOperator<Object>> |
createStreamOperator(StreamOperatorParameters<Object> parameters)
Create the operator.
|
org.apache.flink.runtime.operators.coordination.OperatorCoordinator.Provider |
getCoordinatorProvider(String operatorName,
org.apache.flink.runtime.jobgraph.OperatorID operatorID)
Get the operator coordinator provider for this operator.
|
getUserFunction, getUserFunctionClassNamegetOperator, getStreamOperatorClass, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, of, setChainingStrategy, setInputType, setOutputTypegetChainingStrategy, getMailboxExecutor, setMailboxExecutor, setProcessingTimeServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChainingStrategy, getStreamOperatorClass, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, setChainingStrategy, setInputType, setOutputTypepublic static final org.apache.flink.configuration.ConfigOption<org.apache.flink.configuration.MemorySize> MAX_BATCH_SIZE
public static final org.apache.flink.configuration.ConfigOption<java.time.Duration> SOCKET_TIMEOUT
public CollectSinkOperatorFactory(org.apache.flink.api.common.typeutils.TypeSerializer<IN> serializer, String accumulatorName)
public <T extends StreamOperator<Object>> T createStreamOperator(StreamOperatorParameters<Object> parameters)
StreamOperatorFactorycreateStreamOperator 在接口中 CoordinatedOperatorFactory<Object>createStreamOperator 在接口中 StreamOperatorFactory<Object>createStreamOperator 在类中 SimpleOperatorFactory<Object>public org.apache.flink.runtime.operators.coordination.OperatorCoordinator.Provider getCoordinatorProvider(String operatorName, org.apache.flink.runtime.jobgraph.OperatorID operatorID)
CoordinatedOperatorFactorygetCoordinatorProvider 在接口中 CoordinatedOperatorFactory<Object>operatorName - the name of the operator.operatorID - the id of the operator.OperatorCoordinator for this operator.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.