Class CompoundIndex
java.lang.Object
com.gigaspaces.internal.serialization.AbstractExternalizable
com.gigaspaces.metadata.index.AbstractSpaceIndex
com.gigaspaces.metadata.index.CustomIndex
com.gigaspaces.metadata.index.CompoundIndex
- All Implemented Interfaces:
ISwapExternalizable, ISpaceIndex, SpaceIndex, SmartExternalizable, Externalizable, Serializable
definition of a compound index meta data
- Since:
- 9.5
- Author:
- Yechiel
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface ISpaceIndex
ISpaceIndex.FifoGroupsIndexTypes, ISpaceIndex.IndexOriginTypes, ISpaceIndex.MultiValuePerEntryIndexTypes -
Field Summary
Fields inherited from class CustomIndex
_indexValueGetter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetIndexValue(ServerEntry entry) intbooleanbooleanisEquivalent(CompoundIndex other) protected voidvoidprotected voidvoidwriteToSwap(ObjectOutput out) Methods inherited from class CustomIndex
getIndexOriginTypeMethods inherited from class AbstractSpaceIndex
getIndexType, getIndexValueFromCustomIndex, getMultiValueIndexType, getName, hashCode, isMultiValuePerEntryIndex, isUnique, setUnique, toStringMethods inherited from class AbstractExternalizable
readExternal, writeExternalMethods inherited from interface Externalizable
readExternal, writeExternalMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
CompoundIndex
public CompoundIndex() -
CompoundIndex
-
-
Method Details
-
isCompoundIndex
public boolean isCompoundIndex()- Specified by:
isCompoundIndexin interfaceISpaceIndex- Overrides:
isCompoundIndexin classAbstractSpaceIndex- Returns:
- true if its a compound index
-
getCompoundIndexSegments
- Specified by:
getCompoundIndexSegmentsin interfaceISpaceIndex- Overrides:
getCompoundIndexSegmentsin classAbstractSpaceIndex- Returns:
- segments of compound index
-
getNumSegments
public int getNumSegments()- Overrides:
getNumSegmentsin classAbstractSpaceIndex
-
getIndexValueForTemplate
- Specified by:
getIndexValueForTemplatein interfaceISpaceIndex- Overrides:
getIndexValueForTemplatein classCustomIndex- Returns:
- the value that will be used for single template value indexing
-
getIndexValue
- Specified by:
getIndexValuein interfaceISpaceIndex- Overrides:
getIndexValuein classCustomIndex- Returns:
- the value that will be used to index the data
-
equals
- Overrides:
equalsin classAbstractSpaceIndex
-
isEquivalent
-
readExternalImpl
- Overrides:
readExternalImplin classCustomIndex- Throws:
IOExceptionClassNotFoundException
-
readFromSwap
- Specified by:
readFromSwapin interfaceISwapExternalizable- Overrides:
readFromSwapin classCustomIndex- Throws:
IOExceptionClassNotFoundException
-
writeExternalImpl
- Overrides:
writeExternalImplin classCustomIndex- Throws:
IOException
-
writeToSwap
- Specified by:
writeToSwapin interfaceISwapExternalizable- Overrides:
writeToSwapin classCustomIndex- Throws:
IOException
-