public static enum QueryRewriter.CostEstimator extends Enum<QueryRewriter.CostEstimator>
Enum Constant and Description |
---|
HISTOGRAM |
SELECTIVITY |
SIZE |
Modifier and Type | Method and Description |
---|---|
static QueryRewriter.CostEstimator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryRewriter.CostEstimator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryRewriter.CostEstimator SIZE
public static final QueryRewriter.CostEstimator SELECTIVITY
public static final QueryRewriter.CostEstimator HISTOGRAM
public static QueryRewriter.CostEstimator[] values()
for (QueryRewriter.CostEstimator c : QueryRewriter.CostEstimator.values()) System.out.println(c);
public static QueryRewriter.CostEstimator 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 © 2020 University of California, Santa Cruz. All rights reserved.