Enum PartialFinalType
- All Implemented Interfaces:
Serializable,Comparable<PartialFinalType>
Enumerations for partial final aggregate types.
- See Also:
-
org.apache.flink.table.planner.plan.rules.logical.SplitAggregateRule
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionfinal 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 TypeMethodDescriptionstatic PartialFinalTypeReturns the enum constant of this type with the specified name.static PartialFinalType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PARTIAL
partial aggregate type represents partial-aggregation, which produces a partial distinct aggregated result based on group key and bucket number. -
FINAL
final aggregate type represents final-aggregation, which produces final result based on the partially distinct aggregated result. -
NONE
the aggregate which has not been split.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-