Package com.gigaspaces.internal.metadata
Class SpaceCollectionIndex
java.lang.Object
com.gigaspaces.internal.serialization.AbstractExternalizable
com.gigaspaces.metadata.index.AbstractSpaceIndex
com.gigaspaces.internal.metadata.SpaceCollectionIndex
- All Implemented Interfaces:
ISwapExternalizable,ISpaceIndex,SpaceIndex,SmartExternalizable,Externalizable,Serializable
An index for a path containing a collection ("[*]").
- Since:
- 8.0
- Author:
- idan
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gigaspaces.metadata.index.ISpaceIndex
ISpaceIndex.FifoGroupsIndexTypes, ISpaceIndex.IndexOriginTypes, ISpaceIndex.MultiValuePerEntryIndexTypes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SpaceEntryCollectionValuesExtractorstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIndexValue(ServerEntry entry) booleanprotected voidvoidprotected voidvoidwriteToSwap(ObjectOutput out) Methods inherited from class com.gigaspaces.metadata.index.AbstractSpaceIndex
equals, getCompoundIndexSegments, getIndexType, getIndexValueFromCustomIndex, getName, getNumSegments, hashCode, isCompoundIndex, isUnique, setUnique, toStringMethods inherited from class com.gigaspaces.internal.serialization.AbstractExternalizable
readExternal, writeExternalMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.io.Externalizable
readExternal, writeExternalMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Field Details
-
COLLECTION_INDICATOR
- See Also:
-
_valuesExtractor
-
-
Constructor Details
-
SpaceCollectionIndex
public SpaceCollectionIndex() -
SpaceCollectionIndex
-
-
Method Details
-
getIndexValue
- Returns:
- the value that will be used to index the data
-
getIndexValueForTemplate
- Returns:
- the value that will be used for single template value indexing
-
isMultiValuePerEntryIndex
public boolean isMultiValuePerEntryIndex()- Specified by:
isMultiValuePerEntryIndexin interfaceISpaceIndex- Overrides:
isMultiValuePerEntryIndexin classAbstractSpaceIndex- Returns:
- true if the index is a multi-value index
-
getMultiValueIndexType
- Specified by:
getMultiValueIndexTypein interfaceISpaceIndex- Overrides:
getMultiValueIndexTypein classAbstractSpaceIndex- Returns:
- the type of multi-value index
-
getIndexOriginType
- Returns:
- the index origin
-
readExternalImpl
- Overrides:
readExternalImplin classAbstractSpaceIndex- Throws:
IOExceptionClassNotFoundException
-
readFromSwap
- Specified by:
readFromSwapin interfaceISwapExternalizable- Overrides:
readFromSwapin classAbstractSpaceIndex- Throws:
IOExceptionClassNotFoundException
-
writeExternalImpl
- Overrides:
writeExternalImplin classAbstractSpaceIndex- Throws:
IOException
-
writeToSwap
- Specified by:
writeToSwapin interfaceISwapExternalizable- Overrides:
writeToSwapin classAbstractSpaceIndex- Throws:
IOException
-