Class AbstractProjectionTemplate

java.lang.Object
com.gigaspaces.internal.transport.AbstractProjectionTemplate
All Implemented Interfaces:
SmartExternalizable, Externalizable, Serializable
Direct Known Subclasses:
MutliProjectionByUids, PbsProjectionTemplate, ProjectionTemplate

public abstract class AbstractProjectionTemplate extends Object implements SmartExternalizable
Contains projection information and logic
Since:
9.7
Author:
yechiel
See Also:
  • 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

      public abstract String[] getDynamicProperties()
      return projection of dynamic properties, null indicates no projection is requested of dynamic properties.
    • getFixedPaths

      public abstract String[] getFixedPaths()
      returns projection of fixed properties that include paths, null indicates no projection is requested of fixed properties.
    • getDynamicPaths

      public abstract String[] getDynamicPaths()
      returns projection of dynamic properties that include paths, null indicates no projection is requested of fixed properties.
    • filterOutNonProjectionProperties

      public void filterOutNonProjectionProperties(IEntryPacket entryPacket)
      given a bentry-packet perform projection on it
    • filterOutNonProjectionProperties

      public void filterOutNonProjectionProperties(IEntryData entryData)
    • isAllIndexesProjections

      public boolean isAllIndexesProjections(IServerTypeDesc serverTypeDesc, ITemplateHolder templateHolder, String uid)
    • isAllIndexesProjections

      public boolean isAllIndexesProjections(IServerTypeDesc serverTypeDesc, ITemplateHolder templateHolder)
    • isMultiUidsProjection

      public boolean isMultiUidsProjection()
    • readExternal

      public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
      Specified by:
      readExternal in interface Externalizable
      Throws:
      IOException
      ClassNotFoundException
    • writeExternal

      public void writeExternal(ObjectOutput out) throws IOException
      Specified by:
      writeExternal in interface Externalizable
      Throws:
      IOException