public enum IndexType extends Enum<IndexType>
IndexType
added here so core does not depend on RocksDB library.
See IndexType
for more information on the values.Enum Constant and Description |
---|
kBinarySearch |
kBinarySearchWithFirstKey |
kHashSearch |
kTwoLevelIndexSearch |
Modifier and Type | Method and Description |
---|---|
static IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexType kBinarySearch
public static final IndexType kHashSearch
public static final IndexType kTwoLevelIndexSearch
public static final IndexType kBinarySearchWithFirstKey
public static IndexType[] values()
for (IndexType c : IndexType.values()) System.out.println(c);
public static IndexType 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 © 2023. All Rights Reserved.