public enum SpaceIndexType extends Enum<SpaceIndexType>
| Enum Constant and Description |
|---|
BASIC
Deprecated.
since 12.3 - use
EQUAL instead. |
DEFAULT
Default value, used for SpaceId.
|
EQUAL
Index that supports equality.
|
EQUAL_AND_ORDERED
Index that supports both equality and comparison.
|
EXTENDED
Deprecated.
since 12.3 - use
ORDERED or EQUAL_AND_ORDERED instead. |
NONE
Not indexed.
|
ORDERED
Index that supports comparison.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIndexed() |
boolean |
isOrdered() |
static SpaceIndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpaceIndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpaceIndexType DEFAULT
NONE for auto-generated Id, EQUAL otherwise.
If the Space ID is compound (multiple properties), a compound index is created.public static final SpaceIndexType NONE
@Deprecated public static final SpaceIndexType BASIC
EQUAL instead.@Deprecated public static final SpaceIndexType EXTENDED
ORDERED or EQUAL_AND_ORDERED instead.public static final SpaceIndexType EQUAL
public static final SpaceIndexType ORDERED
public static final SpaceIndexType EQUAL_AND_ORDERED
public static SpaceIndexType[] values()
for (SpaceIndexType c : SpaceIndexType.values()) System.out.println(c);
public static SpaceIndexType 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 boolean isIndexed()
public boolean isOrdered()
Copyright © GigaSpaces.