public enum AggregatePhaseStrategy extends Enum<AggregatePhaseStrategy>
OptimizerConfigOptions.TABLE_OPTIMIZER_AGG_PHASE_STRATEGY
.Enum Constant and Description |
---|
AUTO
No special enforcer for aggregate stage.
|
ONE_PHASE
Enforce to use one stage aggregate which only has CompleteGlobalAggregate.
|
TWO_PHASE
Enforce to use two stage aggregate which has localAggregate and globalAggregate.
|
Modifier and Type | Method and Description |
---|---|
static AggregatePhaseStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AggregatePhaseStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregatePhaseStrategy AUTO
public static final AggregatePhaseStrategy ONE_PHASE
public static final AggregatePhaseStrategy TWO_PHASE
public static AggregatePhaseStrategy[] values()
for (AggregatePhaseStrategy c : AggregatePhaseStrategy.values()) System.out.println(c);
public static AggregatePhaseStrategy 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.