@Internal public abstract class AbstractEmbeddedDataStreamPythonFunctionOperator<OUT> extends AbstractEmbeddedPythonFunctionOperator<OUT> implements DataStreamPythonFunctionOperator<OUT>
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.flink.streaming.api.operators.TimestampedCollector<OUT> |
collector |
protected boolean |
hasSideOutput |
protected org.apache.flink.api.common.typeinfo.TypeInformation<OUT> |
outputTypeInfo
The TypeInformation of output data.
|
protected org.apache.flink.streaming.api.operators.python.embedded.AbstractEmbeddedDataStreamPythonFunctionOperator.SideOutputContext |
sideOutputContext |
interpreterbundleFinishedCallback, config, elementCount, lastFinishBundleTime, maxBundleSize, systemEnvEnabled| 构造器和说明 |
|---|
AbstractEmbeddedDataStreamPythonFunctionOperator(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. |
Map<String,String> |
getJobParameters() |
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. |
void |
open() |
void |
setNumPartitions(int numPartitions)
Sets the number of partitions.
|
close, createPythonEnvironmentManager, invokeFinishBundle, openPythonInterpretercheckInvokeFinishBundleByCount, 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, waitcopyprotected final org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputTypeInfo
protected transient org.apache.flink.streaming.api.operators.TimestampedCollector<OUT> collector
protected transient boolean hasSideOutput
protected transient org.apache.flink.streaming.api.operators.python.embedded.AbstractEmbeddedDataStreamPythonFunctionOperator.SideOutputContext sideOutputContext
public AbstractEmbeddedDataStreamPythonFunctionOperator(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 在类中 AbstractEmbeddedPythonFunctionOperator<OUT>Exceptionpublic org.apache.flink.api.common.typeinfo.TypeInformation<OUT> getProducedType()
getProducedType 在接口中 org.apache.flink.api.java.typeutils.ResultTypeQueryable<OUT>public void setNumPartitions(int numPartitions)
DataStreamPythonFunctionOperatorsetNumPartitions 在接口中 DataStreamPythonFunctionOperator<OUT>public DataStreamPythonFunctionInfo getPythonFunctionInfo()
DataStreamPythonFunctionOperatorDataStreamPythonFunctionInfo.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>Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.