public enum IndexType extends Enum<IndexType>
IndexType is an enumerated type of Apache Geode Index Types.
NOTE: The Apache Geode IndexType enum has been deprecated, therefore the SDG
IndexType exists to replace it.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 Apache Geode
IndexType for this IndexType
enumerated value. |
boolean |
isFunctional()
Determines whether this
IndexType is a FUNCTIONAL Index. |
static boolean |
isFunctional(IndexType indexType)
Null-safe operation to determine if the given
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 given
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 given
IndexType is a KEY Index. |
static IndexType |
valueOf(org.apache.geode.cache.query.IndexType gemfireIndexType)
|
static IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexType |
valueOfIgnoreCase(String value)
|
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 final IndexType DEFAULT
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(@Nullable IndexType indexType)
IndexType is a FUNCTIONAL Index.indexType - IndexType to evaluate.IndexType is a FUNCTIONAL Index.isFunctional()public static boolean isHash(IndexType indexType)
IndexType is a HASH Index.public static boolean isKey(IndexType indexType)
IndexType is a KEY Index.public static IndexType valueOf(org.apache.geode.cache.query.IndexType gemfireIndexType)
IndexType given the corresponding Apache Geode IndexType
or null if no SDG IndexType corresponds to the given Apache Geode
IndexType.gemfireIndexType - Apache Geode IndexType.IndexType matching the Apache Geode IndexType
or null if the Apache Geode IndexType does not match
any IndexType in this enumeration.IndexTypepublic static IndexType valueOfIgnoreCase(String value)
value - String value describing IndexType to match.IndexType matching the given String.String.equalsIgnoreCase(String)@NonNull public org.apache.geode.cache.query.IndexType getGemfireIndexType()
IndexType for this IndexType
enumerated value.IndexType.IndexTypepublic boolean isFunctional()
IndexType is a FUNCTIONAL Index.IndexType is a FUNCTIONAL Index.public boolean isHash()
IndexType is a HASH Index.public boolean isKey()
IndexType is a KEY Index.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.