Class AbstractArrowPythonAggregateFunctionOperator

java.lang.Object
org.apache.flink.streaming.api.operators.AbstractStreamOperator<OUT>
org.apache.flink.streaming.api.operators.python.AbstractPythonFunctionOperator<OUT>
org.apache.flink.streaming.api.operators.python.process.AbstractExternalPythonFunctionOperator<OUT>
org.apache.flink.table.runtime.operators.python.AbstractOneInputPythonFunctionOperator<IN,OUT>
org.apache.flink.table.runtime.operators.python.AbstractStatelessFunctionOperator<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>
org.apache.flink.table.runtime.operators.python.aggregate.arrow.AbstractArrowPythonAggregateFunctionOperator
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.StreamOperator<org.apache.flink.table.data.RowData>, org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.CheckpointedStreamOperator, org.apache.flink.streaming.api.operators.YieldingOperator<org.apache.flink.table.data.RowData>
Direct Known Subclasses:
AbstractStreamArrowPythonOverWindowAggregateFunctionOperator, BatchArrowPythonGroupAggregateFunctionOperator, BatchArrowPythonGroupWindowAggregateFunctionOperator, BatchArrowPythonOverWindowAggregateFunctionOperator, StreamArrowPythonGroupWindowAggregateFunctionOperator

@Internal public abstract class AbstractArrowPythonAggregateFunctionOperator extends AbstractStatelessFunctionOperator<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>
The Abstract class of Arrow Aggregate Operator for Pandas AggregateFunction.
See Also:
  • Field Details

    • pandasAggFunctions

      protected final org.apache.flink.table.functions.python.PythonFunctionInfo[] pandasAggFunctions
      The Pandas AggregateFunctions to be executed.
    • arrowSerializer

      protected transient ArrowSerializer arrowSerializer
    • rowDataWrapper

      protected transient StreamRecordRowDataWrappingCollector rowDataWrapper
      The collector used to collect records.
    • reuseJoinedRow

      protected transient org.apache.flink.table.data.utils.JoinedRowData reuseJoinedRow
      The JoinedRowData reused holding the execution result.
    • currentBatchCount

      protected transient int currentBatchCount
      The current number of elements to be included in an arrow batch.
  • Constructor Details

    • AbstractArrowPythonAggregateFunctionOperator

      public AbstractArrowPythonAggregateFunctionOperator(org.apache.flink.configuration.Configuration config, org.apache.flink.table.functions.python.PythonFunctionInfo[] pandasAggFunctions, org.apache.flink.table.types.logical.RowType inputType, org.apache.flink.table.types.logical.RowType udfInputType, org.apache.flink.table.types.logical.RowType udfOutputType, org.apache.flink.table.runtime.generated.GeneratedProjection udafInputGeneratedProjection)
  • Method Details