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

  • 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, 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:
    Serialized Form
    • Constructor Detail

      • 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,
                                                                     java.time.ZoneId shiftTimeZone,
                                                                     org.apache.flink.table.runtime.generated.GeneratedProjection generatedProjection)
    • Method Detail

      • 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
      • 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