public enum IndexType extends Enum<IndexType>
Enum Constant and Description |
---|
BITMAP
Bitmap index.
|
HASH
Hash index.
|
SORTED
Sorted index.
|
Modifier and Type | Method and Description |
---|---|
static IndexType |
getById(int id)
Returns the IndexType as an enum.
|
int |
getId()
Gets the ID for the given
IndexType . |
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 SORTED
public static final IndexType HASH
public static final IndexType BITMAP
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 nullpublic int getId()
IndexType
.public static IndexType getById(int id)
Copyright © 2024 Hazelcast, Inc.. All rights reserved.