Class SpaceEntryCompoundIndexGetter
java.lang.Object
com.gigaspaces.internal.serialization.AbstractExternalizable
com.gigaspaces.internal.query.valuegetter.AbstractSpaceValueGetter<ServerEntry>
com.gigaspaces.internal.query.valuegetter.SpaceEntryCompoundIndexGetter
- All Implemented Interfaces:
ISpaceValueGetter<ServerEntry>,ISwapExternalizable,SmartExternalizable,Externalizable,Serializable
A space value getter for getting a compound index value from a space entry.
- Since:
- 9.5
- Author:
- Yechiel Fefer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor required by Externalizable.Create a compound getter using the specified segments. -
Method Summary
Modifier and TypeMethodDescriptionbooleananyNullSegment(ServerEntry entry) booleangetValue(ServerEntry target) Gets the value from the specified target.inthashCode()protected voidvoidprotected voidvoidwriteToSwap(ObjectOutput out) Methods inherited from class com.gigaspaces.internal.serialization.AbstractExternalizable
readExternal, writeExternalMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.io.Externalizable
readExternal, writeExternalMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
SpaceEntryCompoundIndexGetter
public SpaceEntryCompoundIndexGetter()Default constructor required by Externalizable. -
SpaceEntryCompoundIndexGetter
Create a compound getter using the specified segments.
-
-
Method Details
-
getSegments
-
getValue
Description copied from interface:ISpaceValueGetterGets the value from the specified target.- Specified by:
getValuein interfaceISpaceValueGetter<ServerEntry>- Specified by:
getValuein classAbstractSpaceValueGetter<ServerEntry>- Parameters:
target- Target object to get value from.- Returns:
- Retrieved value.
-
anyNullSegment
-
equals
-
hashCode
public int hashCode() -
readExternalImpl
- Overrides:
readExternalImplin classAbstractExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternalImpl
- Overrides:
writeExternalImplin classAbstractExternalizable- Throws:
IOException
-
readFromSwap
- Throws:
IOExceptionClassNotFoundException
-
writeToSwap
- Throws:
IOException
-