Class MutliProjectionByUids
java.lang.Object
com.gigaspaces.internal.transport.AbstractProjectionTemplate
com.gigaspaces.internal.transport.MutliProjectionByUids
- All Implemented Interfaces:
SmartExternalizable, Externalizable, Serializable
Holds projection information per uid. several containted projections may be mapped by uids
- Since:
- 9.7
- Author:
- yechielf
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMutliProjectionByUids(AbstractProjectionTemplate[] projections, ObjectShortMap<String> uidsByProjection) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidfilterOutNonProjectionProperties(IEntryPacket entryPacket) given a entry-packet perform projection on itString[]returns projection of dynamic properties that include paths, null indicates no projection is requested of fixed properties.String[]return projection of dynamic properties, null indicates no projection is requested of dynamic properties.String[]returns projection of fixed properties that include paths, null indicates no projection is requested of fixed properties.int[]returns projection of fixed properties, null indicates no projection is requested of fixed properties.inthashCode()booleanisAllIndexesProjections(IServerTypeDesc serverTypeDesc, ITemplateHolder templateHolder, String uid) booleanvoidvoidMethods inherited from class AbstractProjectionTemplate
filterOutNonProjectionProperties, isAllIndexesProjectionsMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
MutliProjectionByUids
public MutliProjectionByUids(AbstractProjectionTemplate[] projections, ObjectShortMap<String> uidsByProjection) -
MutliProjectionByUids
public MutliProjectionByUids()
-
-
Method Details
-
filterOutNonProjectionProperties
given a entry-packet perform projection on it- Overrides:
filterOutNonProjectionPropertiesin classAbstractProjectionTemplate
-
getFixedPropertiesIndexes
public int[] getFixedPropertiesIndexes()Description copied from class:AbstractProjectionTemplatereturns projection of fixed properties, null indicates no projection is requested of fixed properties.- Specified by:
getFixedPropertiesIndexesin classAbstractProjectionTemplate
-
getDynamicProperties
Description copied from class:AbstractProjectionTemplatereturn projection of dynamic properties, null indicates no projection is requested of dynamic properties.- Specified by:
getDynamicPropertiesin classAbstractProjectionTemplate
-
getFixedPaths
Description copied from class:AbstractProjectionTemplatereturns projection of fixed properties that include paths, null indicates no projection is requested of fixed properties.- Specified by:
getFixedPathsin classAbstractProjectionTemplate
-
getDynamicPaths
Description copied from class:AbstractProjectionTemplatereturns projection of dynamic properties that include paths, null indicates no projection is requested of fixed properties.- Specified by:
getDynamicPathsin classAbstractProjectionTemplate
-
isMultiUidsProjection
public boolean isMultiUidsProjection()- Overrides:
isMultiUidsProjectionin classAbstractProjectionTemplate
-
isAllIndexesProjections
public boolean isAllIndexesProjections(IServerTypeDesc serverTypeDesc, ITemplateHolder templateHolder, String uid) - Overrides:
isAllIndexesProjectionsin classAbstractProjectionTemplate
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classAbstractProjectionTemplate- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classAbstractProjectionTemplate- Throws:
IOExceptionClassNotFoundException
-
hashCode
-
equals
-