Class SpaceEntryPropertyGetter
java.lang.Object
com.gigaspaces.internal.serialization.AbstractExternalizable
com.gigaspaces.internal.query.valuegetter.AbstractSpaceValueGetter<ServerEntry>
com.gigaspaces.internal.query.valuegetter.SpaceEntryPropertyGetter
- All Implemented Interfaces:
ISpaceValueGetter<ServerEntry>, ISwapExternalizable, SmartExternalizable, Externalizable, Serializable
A space value getter for getting a space entry property value.
- Since:
- 7.1
- Author:
- Niv Ingberg
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor required by Externalizable.SpaceEntryPropertyGetter(int index) Creates a property value getter using the specified property index.Creates a property value getter using the specified property name. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetValue(ServerEntry target) Gets the value from the specified target.protected voidvoidprotected voidvoidwriteToSwap(ObjectOutput out) Methods inherited from class AbstractExternalizable
readExternal, writeExternalMethods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Externalizable
readExternal, writeExternalMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
SpaceEntryPropertyGetter
public SpaceEntryPropertyGetter()Default constructor required by Externalizable. -
SpaceEntryPropertyGetter
public SpaceEntryPropertyGetter(int index) Creates a property value getter using the specified property index.- Parameters:
propertyId- Index of property.
-
SpaceEntryPropertyGetter
Creates a property value getter using the specified property name.- Parameters:
name- Name of property.
-
-
Method Details
-
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.
-
getPropertyName
-
equals
-
readExternalImpl
- Overrides:
readExternalImplin classAbstractExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternalImpl
- Overrides:
writeExternalImplin classAbstractExternalizable- Throws:
IOException
-
readFromSwap
- Throws:
IOExceptionClassNotFoundException
-
writeToSwap
- Throws:
IOException
-