public class CollectSinkOperatorFactory<IN> extends SimpleUdfStreamOperatorFactory<Object> implements CoordinatedOperatorFactory<Object>
CollectSinkOperator.chainingStrategy, processingTimeService| Constructor and Description |
|---|
CollectSinkOperatorFactory(org.apache.flink.api.common.typeutils.TypeSerializer<IN> serializer,
String accumulatorName) |
CollectSinkOperatorFactory(org.apache.flink.api.common.typeutils.TypeSerializer<IN> serializer,
String accumulatorName,
long maxBytesPerBatch,
int socketTimeoutMillis) |
| Modifier and Type | Method and Description |
|---|---|
<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, setProcessingTimeServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChainingStrategy, getStreamOperatorClass, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, setChainingStrategy, setInputType, setOutputTypepublic CollectSinkOperatorFactory(org.apache.flink.api.common.typeutils.TypeSerializer<IN> serializer, String accumulatorName)
public <T extends StreamOperator<Object>> T createStreamOperator(StreamOperatorParameters<Object> parameters)
StreamOperatorFactorycreateStreamOperator in interface CoordinatedOperatorFactory<Object>createStreamOperator in interface StreamOperatorFactory<Object>createStreamOperator in class SimpleOperatorFactory<Object>public org.apache.flink.runtime.operators.coordination.OperatorCoordinator.Provider getCoordinatorProvider(String operatorName, org.apache.flink.runtime.jobgraph.OperatorID operatorID)
CoordinatedOperatorFactorygetCoordinatorProvider in interface 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.