Interface DataStreamPythonFunctionOperator<OUT>
- All Superinterfaces:
org.apache.flink.api.java.typeutils.ResultTypeQueryable<OUT>
- All Known Implementing Classes:
AbstractEmbeddedDataStreamPythonFunctionOperator,AbstractExternalDataStreamPythonFunctionOperator,AbstractExternalOneInputPythonFunctionOperator,AbstractExternalTwoInputPythonFunctionOperator,AbstractOneInputEmbeddedPythonFunctionOperator,AbstractTwoInputEmbeddedPythonFunctionOperator,DelegateOperatorTransformation.DelegateOperator,EmbeddedPythonBatchCoBroadcastProcessOperator,EmbeddedPythonBatchKeyedCoBroadcastProcessOperator,EmbeddedPythonCoProcessOperator,EmbeddedPythonKeyedCoProcessOperator,EmbeddedPythonKeyedProcessOperator,EmbeddedPythonProcessOperator,EmbeddedPythonWindowOperator,ExternalPythonBatchCoBroadcastProcessOperator,ExternalPythonBatchKeyedCoBroadcastProcessOperator,ExternalPythonCoProcessOperator,ExternalPythonKeyedCoProcessOperator,ExternalPythonKeyedProcessOperator,ExternalPythonProcessOperator
@Internal
public interface DataStreamPythonFunctionOperator<OUT>
extends org.apache.flink.api.java.typeutils.ResultTypeQueryable<OUT>
Interface for Python DataStream operators.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSideOutputTags(Collection<org.apache.flink.util.OutputTag<?>> outputTags) Add a collection ofOutputTags to the operator.copy(DataStreamPythonFunctionInfo pythonFunctionInfo, org.apache.flink.api.common.typeinfo.TypeInformation<T> outputTypeInfo) Make a copy of the DataStreamPythonFunctionOperator with the given pythonFunctionInfo and outputTypeInfo.Returns the underlyingDataStreamPythonFunctionInfo.Collection<org.apache.flink.util.OutputTag<?>>Gets theOutputTags belongs to the operator.voidsetNumPartitions(int numPartitions) Sets the number of partitions.Methods inherited from interface org.apache.flink.api.java.typeutils.ResultTypeQueryable
getProducedType
-
Method Details
-
setNumPartitions
void setNumPartitions(int numPartitions) Sets the number of partitions. This is used for partitionCustom which takes the number of partitions to partition into as input. -
getPythonFunctionInfo
DataStreamPythonFunctionInfo getPythonFunctionInfo()Returns the underlyingDataStreamPythonFunctionInfo. -
addSideOutputTags
Add a collection ofOutputTags to the operator. -
getSideOutputTags
Collection<org.apache.flink.util.OutputTag<?>> getSideOutputTags()Gets theOutputTags belongs to the operator. -
copy
<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. This is used for chaining optimization which may need to update the underlying pythonFunctionInfo and outputTypeInfo with the other fields not changed.
-