public enum PartialFinalType extends Enum<PartialFinalType>
SplitAggregateRule
Enum Constant and Description |
---|
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.
|
PARTIAL
partial aggregate type represents partial-aggregation, which produces a partial distinct
aggregated result based on group key and bucket number.
|
Modifier and Type | Method and Description |
---|---|
static PartialFinalType |
valueOf(String name)
Returns 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.
|
public static final PartialFinalType PARTIAL
public static final PartialFinalType FINAL
public static final PartialFinalType NONE
public static PartialFinalType[] values()
for (PartialFinalType c : PartialFinalType.values()) System.out.println(c);
public static PartialFinalType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.