public interface ISpaceIndex extends SpaceIndex, Externalizable, ISwapExternalizable
Encapsulates information about an index in a space type. Index defines how the objects of this class are stored: Index can be:
Index also defines how the index value is extracted from the given entry.
Usage example:
@SpaceIndex(path="personalInfo.address")
Modifier and Type | Interface and Description |
---|---|
static class |
ISpaceIndex.FifoGroupsIndexTypes |
static class |
ISpaceIndex.IndexOriginTypes |
static class |
ISpaceIndex.MultiValuePerEntryIndexTypes |
Modifier and Type | Method and Description |
---|---|
ISpaceCompoundIndexSegment[] |
getCompoundIndexSegments() |
ISpaceIndex.IndexOriginTypes |
getIndexOriginType() |
Object |
getIndexValue(ServerEntry entry) |
Object |
getIndexValueForTemplate(ServerEntry entry) |
ISpaceIndex.MultiValuePerEntryIndexTypes |
getMultiValueIndexType() |
boolean |
isCompoundIndex() |
boolean |
isMultiValuePerEntryIndex() |
void |
setUnique(boolean val)
sets the unique indicator to the desired value.
|
getIndexType, getName, isUnique
readExternal, writeExternal
readFromSwap, writeToSwap
void setUnique(boolean val)
Object getIndexValue(ServerEntry entry)
Object getIndexValueForTemplate(ServerEntry entry)
boolean isMultiValuePerEntryIndex()
ISpaceIndex.IndexOriginTypes getIndexOriginType()
ISpaceIndex.MultiValuePerEntryIndexTypes getMultiValueIndexType()
boolean isCompoundIndex()
ISpaceCompoundIndexSegment[] getCompoundIndexSegments()
Copyright © GigaSpaces.