Package com.gigaspaces.metadata.index
Class SpacePropertyIndex
java.lang.Object
com.gigaspaces.internal.serialization.AbstractExternalizable
com.gigaspaces.metadata.index.AbstractSpaceIndex
com.gigaspaces.metadata.index.SpacePropertyIndex
- All Implemented Interfaces:
ISwapExternalizable,ISpaceIndex,SpaceIndex,SmartExternalizable,Externalizable,Serializable
This type is intended for internal usage and should not be used directly. Use
SpaceIndexFactory to create space indexes.- Since:
- 7.1
- Author:
- Niv Ingberg
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gigaspaces.metadata.index.ISpaceIndex
ISpaceIndex.FifoGroupsIndexTypes, ISpaceIndex.IndexOriginTypes, ISpaceIndex.MultiValuePerEntryIndexTypes -
Constructor Summary
ConstructorsConstructorDescriptionSpacePropertyIndex(String name, SpaceIndexType type, boolean isUnique, int propertyPos) -
Method Summary
Modifier and TypeMethodDescriptiongetIndexValue(ServerEntry entry) protected voidvoidprotected voidvoidwriteToSwap(ObjectOutput out) Methods inherited from class com.gigaspaces.metadata.index.AbstractSpaceIndex
equals, getCompoundIndexSegments, getIndexType, getIndexValueFromCustomIndex, getMultiValueIndexType, getName, getNumSegments, hashCode, isCompoundIndex, isMultiValuePerEntryIndex, 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
-
Constructor Details
-
SpacePropertyIndex
public SpacePropertyIndex() -
SpacePropertyIndex
-
-
Method Details
-
getIndexValue
- Returns:
- the value that will be used to index the data
-
getIndexOriginType
- Returns:
- the index origin
-
getIndexValueForTemplate
- Returns:
- the value that will be used for single template value indexing
-
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
-