Class BatchExecOverAggregateBase

java.lang.Object
org.apache.flink.table.planner.plan.nodes.exec.ExecNodeBase<org.apache.flink.table.data.RowData>
org.apache.flink.table.planner.plan.nodes.exec.batch.BatchExecOverAggregateBase
All Implemented Interfaces:
BatchExecNode<org.apache.flink.table.data.RowData>, InputSortedExecNode<org.apache.flink.table.data.RowData>, ExecNode<org.apache.flink.table.data.RowData>, ExecNodeTranslator<org.apache.flink.table.data.RowData>, FusionCodegenExecNode, SingleTransformationTranslator<org.apache.flink.table.data.RowData>
Direct Known Subclasses:
BatchExecOverAggregate, BatchExecPythonOverAggregate

public abstract class BatchExecOverAggregateBase extends ExecNodeBase<org.apache.flink.table.data.RowData> implements InputSortedExecNode<org.apache.flink.table.data.RowData>, SingleTransformationTranslator<org.apache.flink.table.data.RowData>
Batch ExecNode base class for sort-based over window aggregate.
  • Field Details

  • Constructor Details

    • BatchExecOverAggregateBase

      public BatchExecOverAggregateBase(int id, ExecNodeContext context, org.apache.flink.configuration.ReadableConfig persistedConfig, OverSpec overSpec, InputProperty inputProperty, org.apache.flink.table.types.logical.RowType outputType, String description)
    • BatchExecOverAggregateBase

      public BatchExecOverAggregateBase(int id, ExecNodeContext context, org.apache.flink.configuration.ReadableConfig persistedConfig, OverSpec overSpec, List<InputProperty> inputProperties, org.apache.flink.table.types.logical.RowType outputType, String description)
  • Method Details

    • getInputTypeWithConstants

      protected org.apache.flink.table.types.logical.RowType getInputTypeWithConstants()
    • isUnboundedWindow

      protected boolean isUnboundedWindow(OverSpec.GroupSpec group)
    • isUnboundedPrecedingWindow

      protected boolean isUnboundedPrecedingWindow(OverSpec.GroupSpec group)
    • isUnboundedFollowingWindow

      protected boolean isUnboundedFollowingWindow(OverSpec.GroupSpec group)
    • isSlidingWindow

      protected boolean isSlidingWindow(OverSpec.GroupSpec group)
    • getConstants

      protected List<org.apache.calcite.rex.RexLiteral> getConstants()
    • containSizeBasedWindowFunction

      protected boolean containSizeBasedWindowFunction(OverSpec.GroupSpec group)
    • inferGroupMode

      Infer the over window mode based on given group info.