public static enum SpoofCompiler.PlanSelector extends Enum<SpoofCompiler.PlanSelector>
Enum Constant and Description |
---|
FUSE_ALL |
FUSE_COST_BASED |
FUSE_COST_BASED_V2 |
FUSE_NO_REDUNDANCY |
Modifier and Type | Method and Description |
---|---|
boolean |
isCostBased() |
boolean |
isHeuristic() |
static SpoofCompiler.PlanSelector |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpoofCompiler.PlanSelector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpoofCompiler.PlanSelector FUSE_ALL
public static final SpoofCompiler.PlanSelector FUSE_NO_REDUNDANCY
public static final SpoofCompiler.PlanSelector FUSE_COST_BASED
public static final SpoofCompiler.PlanSelector FUSE_COST_BASED_V2
public static SpoofCompiler.PlanSelector[] values()
for (SpoofCompiler.PlanSelector c : SpoofCompiler.PlanSelector.values()) System.out.println(c);
public static SpoofCompiler.PlanSelector 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 boolean isHeuristic()
public boolean isCostBased()
Copyright © 2020 The Apache Software Foundation. All rights reserved.