Spring Data for VMware GemFire
Package org.springframework.data.gemfire
Enum Class IndexType
- All Implemented Interfaces:
Serializable,Comparable<IndexType>,Constable
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.- Since:
- 1.5.2
- See Also:
-
IndexType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.geode.cache.query.IndexTypeGets the matching Apache GeodeIndexTypefor thisIndexTypeenumerated value.booleanDetermines whether thisIndexTypeis a FUNCTIONAL Index.static booleanisFunctional(IndexType indexType) Null-safe operation to determine if the givenIndexTypeis a FUNCTIONAL Index.booleanisHash()Determines whether thisIndexTypeis a HASH Index.static booleanNull-safe operation to determine if the givenIndexTypeis a HASH Index.booleanisKey()Determines whether this IndexType is a KEY Index.static booleanNull-safe operation to determine if the givenIndexTypeis a KEY Index.static IndexTypeReturns the enum constant of this class with the specified name.static IndexTypevalueOf(org.apache.geode.cache.query.IndexType gemfireIndexType) static IndexTypevalueOfIgnoreCase(String value) static IndexType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FUNCTIONAL
-
HASH
-
PRIMARY_KEY
-
KEY
-
-
Field Details
-
DEFAULT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isFunctional
Null-safe operation to determine if the givenIndexTypeis a FUNCTIONAL Index. -
isHash
Null-safe operation to determine if the givenIndexTypeis a HASH Index. -
isKey
Null-safe operation to determine if the givenIndexTypeis a KEY Index. -
valueOf
Returns anIndexTypegiven the corresponding Apache GeodeIndexTypeor null if no SDGIndexTypecorresponds to the given Apache GeodeIndexType.- Parameters:
gemfireIndexType- Apache GeodeIndexType.- Returns:
- an
IndexTypematching the Apache GeodeIndexTypeor null if the Apache GeodeIndexTypedoes not match any IndexType in this enumeration. - See Also:
-
IndexType
-
valueOfIgnoreCase
-
getGemfireIndexType
@NonNull public org.apache.geode.cache.query.IndexType getGemfireIndexType()Gets the matching Apache GeodeIndexTypefor thisIndexTypeenumerated value.- Returns:
- the matching Apache Geode
IndexType. - See Also:
-
IndexType
-
isFunctional
public boolean isFunctional()Determines whether thisIndexTypeis a FUNCTIONAL Index.- Returns:
- a boolean value indicating whether this
IndexTypeis a FUNCTIONAL Index.
-
isHash
public boolean isHash()Determines whether thisIndexTypeis a HASH Index.- Returns:
- a boolean value indicating whether this IndexType is a HASH Index.
-
isKey
public boolean isKey()Determines whether this IndexType is a KEY Index.- Returns:
- a boolean value indicating whether this
IndexTypeis a KEY Index.
-