public static enum LocalRowKeyIndex.Confidence extends Enum<LocalRowKeyIndex.Confidence>
LocalRowKeyIndex.getEstimatedRowCountConfidence()
API to determine
if the row count is exact or an estimateEnum Constant and Description |
---|
ESTIMATE
The row count returned by
LocalRowKeyIndex.getEstimatedRowCount() is an estimate |
EXACT
The row count returned by
LocalRowKeyIndex.getEstimatedRowCount() is exact |
UNKNOWN
The row count returned by
LocalRowKeyIndex.getEstimatedRowCount() is unknown (-1) |
Modifier and Type | Method and Description |
---|---|
static LocalRowKeyIndex.Confidence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocalRowKeyIndex.Confidence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalRowKeyIndex.Confidence EXACT
LocalRowKeyIndex.getEstimatedRowCount()
is exactpublic static final LocalRowKeyIndex.Confidence ESTIMATE
LocalRowKeyIndex.getEstimatedRowCount()
is an estimatepublic static final LocalRowKeyIndex.Confidence UNKNOWN
LocalRowKeyIndex.getEstimatedRowCount()
is unknown (-1)public static LocalRowKeyIndex.Confidence[] values()
for (LocalRowKeyIndex.Confidence c : LocalRowKeyIndex.Confidence.values()) System.out.println(c);
public static LocalRowKeyIndex.Confidence 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 © 2001-2017 The Apache Software Foundation. All Rights Reserved.