Package com.gigaspaces.metadata.index
Enum Class SpaceIndexType
- All Implemented Interfaces:
Serializable,Comparable<SpaceIndexType>,java.lang.constant.Constable
Determines a Space index type.
- Since:
- 7.1
- Author:
- Niv Ingberg
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Default value, used for SpaceId.Index that supports equality.Index that supports both equality and comparison.Deprecated.since 12.3 - useORDEREDorEQUAL_AND_ORDEREDinstead.Not indexed.Index that supports comparison. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanstatic SpaceIndexTypeReturns the enum constant of this class with the specified name.static SpaceIndexType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Default value, used for SpaceId. The default isNONEfor auto-generated Id,EQUALotherwise. If the Space ID is compound (multiple properties), a compound index is created.- Since:
- 16.2
-
NONE
Not indexed. -
BASIC
Deprecated.since 12.3 - useEQUALinstead.Basic index - supports equality. -
EXTENDED
Deprecated.since 12.3 - useORDEREDorEQUAL_AND_ORDEREDinstead.Extended(ordered) index - supports comparison. -
EQUAL
Index that supports equality.- Since:
- 12.3
-
ORDERED
Index that supports comparison.- Since:
- 12.3
-
EQUAL_AND_ORDERED
Index that supports both equality and comparison.- Since:
- 12.3
-
-
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
-
isIndexed
public boolean isIndexed()- Returns:
- true if this index type indicates an indexed state, false otherwise.
-
isOrdered
public boolean isOrdered()
-
EQUALinstead.