public enum IndexType extends Enum<IndexType>
IndexType
Enum Constant and Description |
---|
FUNCTIONAL |
HASH |
KEY |
PRIMARY_KEY |
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.query.IndexType |
getGemfireIndexType()
Gets the matching GemFire IndexType for this IndexType enumerated value.
|
boolean |
isFunctional()
Determines whether this IndexType is "FUNCTIONAL".
|
static boolean |
isFunctional(IndexType indexType)
Null-safe operation to determine if the IndexType is a "FUNCTIONAL" Index.
|
boolean |
isHash()
Determines whether this IndexType is a "HASH" Index.
|
static boolean |
isHash(IndexType indexType)
Null-safe operation to determine if the IndexType is a "HASH" Index.
|
boolean |
isKey()
Determines whether this IndexType is a "KEY" Index.
|
static boolean |
isKey(IndexType indexType)
Null-safe operation to determine if the IndexType is a "KEY" Index.
|
static IndexType |
valueOf(org.apache.geode.cache.query.IndexType gemfireIndexType)
Returns an IndexType given the corresponding GemFire IndexType or null if no SDG IndexType
corresponds to the GemFire IndexType.
|
static IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexType |
valueOfIgnoreCase(String value)
Returns an IndexType matching the given String.
|
static IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexType FUNCTIONAL
public static final IndexType HASH
public static final IndexType PRIMARY_KEY
public static final IndexType KEY
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 static boolean isFunctional(IndexType indexType)
indexType
- the IndexType to evaluate.isFunctional()
public static boolean isHash(IndexType indexType)
indexType
- the IndexType to evaluate.isHash()
public static boolean isKey(IndexType indexType)
indexType
- the IndexType to evaluate.isFunctional()
public static IndexType valueOf(org.apache.geode.cache.query.IndexType gemfireIndexType)
gemfireIndexType
- the GemFire IndexType.IndexType
public static IndexType valueOfIgnoreCase(String value)
value
- the String value describing the matching IndexType.String.equalsIgnoreCase(String)
public org.apache.geode.cache.query.IndexType getGemfireIndexType()
IndexType
public boolean isFunctional()
public boolean isHash()
public boolean isKey()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.