Class CompoundAndIndexScanner

java.lang.Object
com.gigaspaces.internal.query.AbstractCompoundIndexScanner
com.gigaspaces.internal.query.CompoundAndIndexScanner
All Implemented Interfaces:
IQueryIndexScanner, SmartExternalizable, Externalizable, Serializable

public class CompoundAndIndexScanner extends AbstractCompoundIndexScanner
Scans the indexes and gets index with the least number of entries. This will be used as the potential matching list by the CacheManager.
Author:
anna
See Also:
  • Constructor Details

    • CompoundAndIndexScanner

      public CompoundAndIndexScanner()
    • CompoundAndIndexScanner

      public CompoundAndIndexScanner(List<IQueryIndexScanner> indexScanners)
  • Method Details

    • getIndexName

      public String getIndexName()
      Description copied from interface: IQueryIndexScanner
      The name of the index - index is stored in the space by this name
    • getIndexValue

      public Object getIndexValue()
      Description copied from interface: IQueryIndexScanner
      The value of the index - objects are indexed and stored according to specific index value. This value will be used to search the index structure for entries that match this value .
    • requiresOrderedIndex

      public boolean requiresOrderedIndex()
      Description copied from interface: IQueryIndexScanner
      Returns true if this index scanner requires an ordered index
    • supportsFifoOrder

      public boolean supportsFifoOrder()
      Description copied from interface: IQueryIndexScanner
      returns true if this index scanner preserves the fifo order
    • supportsTemplateIndex

      public boolean supportsTemplateIndex()
      Description copied from interface: IQueryIndexScanner
      Returns true if this index scanner supports template indexing
    • getIndexedEntriesByType

      public IObjectsList getIndexedEntriesByType(Context context, TypeData typeData, ITemplateHolder template, int latestIndexToConsider)
    • getEntriesByIndex

      public Object getEntriesByIndex(TypeDataIndex<Object> index)