Class StreamArrowPythonGroupWindowAggregateFunctionOperator<K,W extends org.apache.flink.table.runtime.operators.window.Window>

java.lang.Object
org.apache.flink.streaming.api.operators.AbstractStreamOperator<OUT>
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,W>, org.apache.flink.streaming.api.operators.YieldingOperator<org.apache.flink.table.data.RowData>

@Internal public class StreamArrowPythonGroupWindowAggregateFunctionOperator<K,W extends org.apache.flink.table.runtime.operators.window.Window> extends AbstractArrowPythonAggregateFunctionOperator implements org.apache.flink.streaming.api.operators.Triggerable<K,W>
The Stream Arrow Python AggregateFunction Operator for Group Window Aggregation.
See Also:
  • Constructor Details

    • StreamArrowPythonGroupWindowAggregateFunctionOperator

      public StreamArrowPythonGroupWindowAggregateFunctionOperator(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, int inputTimeFieldIndex, org.apache.flink.table.runtime.operators.window.groupwindow.assigners.GroupWindowAssigner<W> windowAssigner, org.apache.flink.table.runtime.operators.window.groupwindow.triggers.Trigger<W> trigger, long allowedLateness, org.apache.flink.table.runtime.groupwindow.NamedWindowProperty[] namedProperties, ZoneId shiftTimeZone, org.apache.flink.table.runtime.generated.GeneratedProjection generatedProjection)
  • 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 AbstractArrowPythonAggregateFunctionOperator
      Throws:
      Exception
    • bufferInput

      public void bufferInput(org.apache.flink.table.data.RowData input) throws Exception
      Description copied from class: AbstractStatelessFunctionOperator
      Buffers the specified input, it will be used to construct the operator result together with the user-defined function execution result.
      Specified by:
      bufferInput in class AbstractStatelessFunctionOperator<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>
      Throws:
      Exception
    • processElementInternal

      public void processElementInternal(org.apache.flink.table.data.RowData value) throws Exception
      Specified by:
      processElementInternal in class AbstractStatelessFunctionOperator<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>
      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
    • onEventTime

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

      public void onProcessingTime(org.apache.flink.streaming.api.operators.InternalTimer<K,W> timer) throws Exception
      Specified by:
      onProcessingTime in interface org.apache.flink.streaming.api.operators.Triggerable<K,W extends org.apache.flink.table.runtime.operators.window.Window>
      Throws:
      Exception