Class CompoundOrIndexScanner

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

public class CompoundOrIndexScanner extends AbstractCompoundIndexScanner
Scans the indexes and gets the union of all indexed entries. This will be used as the potential matching list by the CacheManager. Note: Currently the unified list will contain duplicates in case of overlapping ranges. This should be optimized in the future.
Author:
anna
See Also:
  • Constructor Details

    • CompoundOrIndexScanner

      public CompoundOrIndexScanner()
  • 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)
    • add

      public void add(IQueryIndexScanner customIndex)
    • getEntriesByIndex

      public Object getEntriesByIndex(TypeDataIndex<Object> index)