Class AbstractCompoundIndexSegment
java.lang.Object
com.gigaspaces.internal.serialization.AbstractExternalizable
com.gigaspaces.metadata.index.AbstractCompoundIndexSegment
- All Implemented Interfaces:
ISwapExternalizable, ISpaceCompoundIndexSegment, SmartExternalizable, Externalizable, Serializable
- Direct Known Subclasses:
PathCompoundIndexSegment, PropertyCompoundIndexSegment
public abstract class AbstractCompoundIndexSegment
extends AbstractExternalizable
implements ISpaceCompoundIndexSegment
Encapsulates information about an index segment of a compound index.
- Since:
- 9.5
- Author:
- Yechiel Fefer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()intabstract ObjectgetSegmentValue(ServerEntry entry) inthashCode()booleanprotected voidvoidprotected voidvoidwriteToSwap(ObjectOutput out) Methods inherited from class AbstractExternalizable
readExternal, writeExternalMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Externalizable
readExternal, writeExternalMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
AbstractCompoundIndexSegment
public AbstractCompoundIndexSegment() -
AbstractCompoundIndexSegment
-
-
Method Details
-
getSegmentValue
- Specified by:
getSegmentValuein interfaceISpaceCompoundIndexSegment- Returns:
- the value that will be used for this segment using a given entry
-
getSegmentValueForTemplate
- Specified by:
getSegmentValueForTemplatein interfaceISpaceCompoundIndexSegment- Returns:
- the value that will be used for this segment using a given template
-
getSegmentPosition
public int getSegmentPosition()- Specified by:
getSegmentPositionin interfaceISpaceCompoundIndexSegment- Returns:
- the positio0n of this segment in the compound index
-
isPropertySegment
public boolean isPropertySegment()- Specified by:
isPropertySegmentin interfaceISpaceCompoundIndexSegment- Returns:
- true if its a property segment
-
getName
- Specified by:
getNamein interfaceISpaceCompoundIndexSegment- Returns:
- the path name of this segment
-
hashCode
-
equals
-
readExternalImpl
- Overrides:
readExternalImplin classAbstractExternalizable- Throws:
IOExceptionClassNotFoundException
-
readFromSwap
- Specified by:
readFromSwapin interfaceISwapExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternalImpl
- Overrides:
writeExternalImplin classAbstractExternalizable- Throws:
IOException
-
writeToSwap
- Specified by:
writeToSwapin interfaceISwapExternalizable- Throws:
IOException
-