Class AbstractStreamArrowPythonBoundedRowsOperator<K>

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.Triggerable<K,org.apache.flink.runtime.state.VoidNamespace>, org.apache.flink.streaming.api.operators.YieldingOperator<org.apache.flink.table.data.RowData>, org.apache.flink.table.runtime.functions.CleanupState
Direct Known Subclasses:
StreamArrowPythonProcTimeBoundedRowsOperator, StreamArrowPythonRowTimeBoundedRowsOperator

@Internal public abstract class AbstractStreamArrowPythonBoundedRowsOperator<K> extends AbstractStreamArrowPythonOverWindowAggregateFunctionOperator<K> implements org.apache.flink.table.runtime.functions.CleanupState
The Abstract class of Stream Arrow Python AggregateFunction Operator for ROWS clause bounded Over Window Aggregation.
See Also:
  • Constructor Details

    • AbstractStreamArrowPythonBoundedRowsOperator

      public AbstractStreamArrowPythonBoundedRowsOperator(org.apache.flink.configuration.Configuration config, long minRetentionTime, long maxRetentionTime, 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, int inputTimeFieldIndex, long lowerBoundary, org.apache.flink.table.runtime.generated.GeneratedProjection inputGeneratedProjection)
  • Method Details

    • open

      public void open() throws Exception
      Specified by:
      open in interface org.apache.flink.streaming.api.operators.StreamOperator<K>
      Overrides:
      open in class AbstractStreamArrowPythonOverWindowAggregateFunctionOperator<K>
      Throws:
      Exception
    • onProcessingTime

      public void onProcessingTime(org.apache.flink.streaming.api.operators.InternalTimer<K,org.apache.flink.runtime.state.VoidNamespace> timer) throws Exception
      Specified by:
      onProcessingTime in interface org.apache.flink.streaming.api.operators.Triggerable<K,org.apache.flink.runtime.state.VoidNamespace>
      Throws:
      Exception
    • onEventTime

      public void onEventTime(org.apache.flink.streaming.api.operators.InternalTimer<K,org.apache.flink.runtime.state.VoidNamespace> timer) throws Exception
      Specified by:
      onEventTime in interface org.apache.flink.streaming.api.operators.Triggerable<K,org.apache.flink.runtime.state.VoidNamespace>
      Throws:
      Exception
    • emitResult

      public void emitResult(org.apache.flink.api.java.tuple.Tuple3<String,byte[],Integer> resultTuple) throws Exception
      Description copied from class: AbstractExternalPythonFunctionOperator
      Sends the execution result to the downstream operator.
      Specified by:
      emitResult in class AbstractExternalPythonFunctionOperator<org.apache.flink.table.data.RowData>
      Throws:
      Exception