Enum PartialFinalType

java.lang.Object
java.lang.Enum<PartialFinalType>
org.apache.flink.table.planner.plan.PartialFinalType
All Implemented Interfaces:
Serializable, Comparable<PartialFinalType>

public enum PartialFinalType extends Enum<PartialFinalType>
Enumerations for partial final aggregate types.
See Also:
  • org.apache.flink.table.planner.plan.rules.logical.SplitAggregateRule
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    final aggregate type represents final-aggregation, which produces final result based on the partially distinct aggregated result.
    the aggregate which has not been split.
    partial aggregate type represents partial-aggregation, which produces a partial distinct aggregated result based on group key and bucket number.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • PARTIAL

      public static final PartialFinalType PARTIAL
      partial aggregate type represents partial-aggregation, which produces a partial distinct aggregated result based on group key and bucket number.
    • FINAL

      public static final PartialFinalType FINAL
      final aggregate type represents final-aggregation, which produces final result based on the partially distinct aggregated result.
    • NONE

      public static final PartialFinalType NONE
      the aggregate which has not been split.
  • Method Details

    • values

      public static PartialFinalType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PartialFinalType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null