Class AbstractProjectionTemplate
java.lang.Object
com.gigaspaces.internal.transport.AbstractProjectionTemplate
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
- Direct Known Subclasses:
MutliProjectionByUids,PbsProjectionTemplate,ProjectionTemplate
Contains projection information and logic
- Since:
- 9.7
- Author:
- yechiel
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfilterOutNonProjectionProperties(IEntryData entryData) voidfilterOutNonProjectionProperties(IEntryPacket entryPacket) given a bentry-packet perform projection on itabstract String[]returns projection of dynamic properties that include paths, null indicates no projection is requested of fixed properties.abstract String[]return projection of dynamic properties, null indicates no projection is requested of dynamic properties.abstract String[]returns projection of fixed properties that include paths, null indicates no projection is requested of fixed properties.abstract int[]returns projection of fixed properties, null indicates no projection is requested of fixed properties.booleanisAllIndexesProjections(IServerTypeDesc serverTypeDesc, ITemplateHolder templateHolder) booleanisAllIndexesProjections(IServerTypeDesc serverTypeDesc, ITemplateHolder templateHolder, String uid) booleanvoidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
AbstractProjectionTemplate
public AbstractProjectionTemplate()
-
-
Method Details
-
getFixedPropertiesIndexes
public abstract int[] getFixedPropertiesIndexes()returns projection of fixed properties, null indicates no projection is requested of fixed properties. -
getDynamicProperties
return projection of dynamic properties, null indicates no projection is requested of dynamic properties. -
getFixedPaths
returns projection of fixed properties that include paths, null indicates no projection is requested of fixed properties. -
getDynamicPaths
returns projection of dynamic properties that include paths, null indicates no projection is requested of fixed properties. -
filterOutNonProjectionProperties
given a bentry-packet perform projection on it -
filterOutNonProjectionProperties
-
isAllIndexesProjections
public boolean isAllIndexesProjections(IServerTypeDesc serverTypeDesc, ITemplateHolder templateHolder, String uid) -
isAllIndexesProjections
public boolean isAllIndexesProjections(IServerTypeDesc serverTypeDesc, ITemplateHolder templateHolder) -
isMultiUidsProjection
public boolean isMultiUidsProjection() -
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-