Class AbstractEmbeddedStatelessFunctionOperator

  • All Implemented Interfaces:
    Serializable, org.apache.flink.api.common.state.CheckpointListener, org.apache.flink.streaming.api.operators.BoundedOneInput, org.apache.flink.streaming.api.operators.Input<org.apache.flink.table.data.RowData>, org.apache.flink.streaming.api.operators.KeyContext, org.apache.flink.streaming.api.operators.KeyContextHandler, org.apache.flink.streaming.api.operators.OneInputStreamOperator<org.apache.flink.table.data.RowData,​org.apache.flink.table.data.RowData>, org.apache.flink.streaming.api.operators.SetupableStreamOperator<org.apache.flink.table.data.RowData>, org.apache.flink.streaming.api.operators.StreamOperator<org.apache.flink.table.data.RowData>, org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.CheckpointedStreamOperator
    Direct Known Subclasses:
    EmbeddedPythonScalarFunctionOperator, EmbeddedPythonTableFunctionOperator

    @Internal
    public abstract class AbstractEmbeddedStatelessFunctionOperator
    extends AbstractEmbeddedPythonFunctionOperator<org.apache.flink.table.data.RowData>
    implements org.apache.flink.streaming.api.operators.OneInputStreamOperator<org.apache.flink.table.data.RowData,​org.apache.flink.table.data.RowData>, org.apache.flink.streaming.api.operators.BoundedOneInput
    Base class for all stream operators to execute Python Stateless Functions in embedded Python environment.
    See Also:
    Serialized Form
    • Field Detail

      • udfInputOffsets

        protected final int[] udfInputOffsets
        The offsets of user-defined function inputs.
      • inputType

        protected final org.apache.flink.table.types.logical.RowType inputType
        The input logical type.
      • udfInputType

        protected final org.apache.flink.table.types.logical.RowType udfInputType
        The user-defined function input logical type.
      • udfOutputType

        protected final org.apache.flink.table.types.logical.RowType udfOutputType
        The user-defined function output logical type.
      • reuseResultRowData

        protected transient org.apache.flink.table.data.GenericRowData reuseResultRowData
        The GenericRowData reused holding the execution result of python udf.
      • userDefinedFunctionInputArgs

        protected transient Object[] userDefinedFunctionInputArgs
    • Constructor Detail

      • AbstractEmbeddedStatelessFunctionOperator

        public AbstractEmbeddedStatelessFunctionOperator​(org.apache.flink.configuration.Configuration config,
                                                         org.apache.flink.table.types.logical.RowType inputType,
                                                         org.apache.flink.table.types.logical.RowType udfInputType,
                                                         org.apache.flink.table.types.logical.RowType udfOutputType,
                                                         int[] udfInputOffsets)