@Internal public abstract class AbstractExternalDataStreamPythonFunctionOperator<OUT> extends AbstractExternalPythonFunctionOperator<OUT> implements DataStreamPythonFunctionOperator<OUT>
pythonFunctionRunnerbundleFinishedCallback, config, elementCount, lastFinishBundleTime, maxBundleSize, systemEnvEnabled| 构造器和说明 |
|---|
AbstractExternalDataStreamPythonFunctionOperator(org.apache.flink.configuration.Configuration config,
DataStreamPythonFunctionInfo pythonFunctionInfo,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputTypeInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addSideOutputTags(Collection<org.apache.flink.util.OutputTag<?>> outputTags)
Add a collection of
OutputTags to the operator. |
protected Map<String,FlinkFnApi.CoderInfoDescriptor> |
createSideOutputCoderDescriptors() |
Map<String,String> |
getInternalParameters() |
protected org.apache.flink.util.OutputTag<?> |
getOutputTagById(String id) |
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> |
getProducedType() |
org.apache.flink.table.functions.python.PythonEnv |
getPythonEnv()
Returns the
PythonEnv used to create PythonEnvironmentManager.. |
DataStreamPythonFunctionInfo |
getPythonFunctionInfo()
Returns the underlying
DataStreamPythonFunctionInfo. |
Collection<org.apache.flink.util.OutputTag<?>> |
getSideOutputTags()
Gets the
OutputTags belongs to the operator. |
protected org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.types.Row> |
getSideOutputTypeSerializerById(String id) |
void |
open() |
void |
setNumPartitions(int numPartitions)
Sets the number of partitions.
|
close, createPythonEnvironmentManager, createPythonFunctionRunner, emitResult, emitResults, invokeFinishBundlecheckInvokeFinishBundleByCount, finish, getConfiguration, getFlinkMetricContainer, isBundleFinished, 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, useSplittableTimersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopypublic AbstractExternalDataStreamPythonFunctionOperator(org.apache.flink.configuration.Configuration config,
DataStreamPythonFunctionInfo pythonFunctionInfo,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputTypeInfo)
public void open()
throws Exception
open 在接口中 org.apache.flink.streaming.api.operators.StreamOperator<OUT>open 在类中 AbstractExternalPythonFunctionOperator<OUT>Exceptionpublic org.apache.flink.table.functions.python.PythonEnv getPythonEnv()
PythonEnv used to create PythonEnvironmentManager..public org.apache.flink.api.common.typeinfo.TypeInformation<OUT> getProducedType()
getProducedType 在接口中 org.apache.flink.api.java.typeutils.ResultTypeQueryable<OUT>public DataStreamPythonFunctionInfo getPythonFunctionInfo()
DataStreamPythonFunctionOperatorDataStreamPythonFunctionInfo.public void setNumPartitions(int numPartitions)
DataStreamPythonFunctionOperatorsetNumPartitions 在接口中 DataStreamPythonFunctionOperator<OUT>protected org.apache.flink.util.OutputTag<?> getOutputTagById(String id)
public 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>protected Map<String,FlinkFnApi.CoderInfoDescriptor> createSideOutputCoderDescriptors()
protected org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.types.Row> getSideOutputTypeSerializerById(String id)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.