public enum PlanCanonicalizationStrategy extends Enum<PlanCanonicalizationStrategy>
| Enum Constant and Description |
|---|
CONNECTOR
CONNECTOR strategy will canonicalize plan according to DEFAULT strategy, and additionally
canoncialize `TableScanNode` by giving a connector specific implementation.
|
DEFAULT
DEFAULT strategy is used to canonicalize plans with minimal changes.
|
REMOVE_SAFE_CONSTANTS
REMOVE_SAFE_CONSTANTS strategy is used to canonicalize plan with
CONNECTOR strategy and will additionally remove constants from plan
which are not bound to have impact on plan statistics.
|
| Modifier and Type | Method and Description |
|---|---|
static List<PlanCanonicalizationStrategy> |
historyBasedPlanCanonicalizationStrategyList()
Creates a list of PlanCanonicalizationStrategy to be used for history based optimizations.
|
static PlanCanonicalizationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlanCanonicalizationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlanCanonicalizationStrategy DEFAULT
public static final PlanCanonicalizationStrategy CONNECTOR
public static final PlanCanonicalizationStrategy REMOVE_SAFE_CONSTANTS
public static PlanCanonicalizationStrategy[] values()
for (PlanCanonicalizationStrategy c : PlanCanonicalizationStrategy.values()) System.out.println(c);
public static PlanCanonicalizationStrategy 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 nullpublic static List<PlanCanonicalizationStrategy> historyBasedPlanCanonicalizationStrategyList()
Copyright © 2012–2022. All rights reserved.