public static class DelegateOperatorTransformation.DelegateOperator<OUT> extends AbstractPythonFunctionOperator<OUT> implements DataStreamPythonFunctionOperator<OUT>
DelegateOperatorTransformation.DelegateOperator holds configurations, e.g. OutputTags, which will be applied
to the actual python operator at translation stage.bundleFinishedCallback, config, elementCount, lastFinishBundleTime, maxBundleSize, systemEnvEnabled| 构造器和说明 |
|---|
DelegateOperator() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addSideOutputTags(Collection<org.apache.flink.util.OutputTag<?>> outputTags)
Add a collection of
OutputTags to the operator. |
<T> DataStreamPythonFunctionOperator<T> |
copy(DataStreamPythonFunctionInfo pythonFunctionInfo,
org.apache.flink.api.common.typeinfo.TypeInformation<T> outputTypeInfo)
Make a copy of the DataStreamPythonFunctionOperator with the given pythonFunctionInfo and
outputTypeInfo.
|
protected PythonEnvironmentManager |
createPythonEnvironmentManager() |
Integer |
getNumPartitions() |
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> |
getProducedType() |
DataStreamPythonFunctionInfo |
getPythonFunctionInfo()
Returns the underlying
DataStreamPythonFunctionInfo. |
Collection<org.apache.flink.util.OutputTag<?>> |
getSideOutputTags()
Gets the
OutputTags belongs to the operator. |
protected void |
invokeFinishBundle() |
void |
setNumPartitions(int numPartitions)
Sets the number of partitions.
|
checkInvokeFinishBundleByCount, close, finish, getConfiguration, getFlinkMetricContainer, isBundleFinished, open, prepareSnapshotPreBarrier, processWatermark, setCurrentKeygetChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getStateKeySelector1, getStateKeySelector2, getTimeServiceManager, getUserCodeClassloader, hasKeyContext1, hasKeyContext2, initializeState, initializeState, isUsingCustomRawKeyedState, notifyCheckpointAborted, notifyCheckpointComplete, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processRecordAttributes, processRecordAttributes1, processRecordAttributes2, processWatermark1, processWatermark2, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, reportOrForwardLatencyMarker, setChainingStrategy, setKeyContextElement1, setKeyContextElement2, setMailboxExecutor, setProcessingTimeService, setup, snapshotState, snapshotState, useSplittableTimerspublic void addSideOutputTags(Collection<org.apache.flink.util.OutputTag<?>> outputTags)
DataStreamPythonFunctionOperatorOutputTags to the operator.addSideOutputTags 在接口中 DataStreamPythonFunctionOperator<OUT>public Collection<org.apache.flink.util.OutputTag<?>> getSideOutputTags()
DataStreamPythonFunctionOperatorOutputTags belongs to the operator.getSideOutputTags 在接口中 DataStreamPythonFunctionOperator<OUT>public void setNumPartitions(int numPartitions)
DataStreamPythonFunctionOperatorsetNumPartitions 在接口中 DataStreamPythonFunctionOperator<OUT>public org.apache.flink.api.common.typeinfo.TypeInformation<OUT> getProducedType()
getProducedType 在接口中 org.apache.flink.api.java.typeutils.ResultTypeQueryable<OUT>public DataStreamPythonFunctionInfo getPythonFunctionInfo()
DataStreamPythonFunctionOperatorDataStreamPythonFunctionInfo.public <T> DataStreamPythonFunctionOperator<T> copy(DataStreamPythonFunctionInfo pythonFunctionInfo, org.apache.flink.api.common.typeinfo.TypeInformation<T> outputTypeInfo)
DataStreamPythonFunctionOperatorcopy 在接口中 DataStreamPythonFunctionOperator<OUT>protected void invokeFinishBundle()
throws Exception
invokeFinishBundle 在类中 AbstractPythonFunctionOperator<OUT>Exceptionprotected PythonEnvironmentManager createPythonEnvironmentManager()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.