Interface IQueryIndexScanner

All Superinterfaces:
Externalizable, Serializable, SmartExternalizable
All Known Implementing Classes:
AbstractCompoundIndexScanner, AbstractQueryIndex, CompoundAndIndexScanner, CompoundOrIndexScanner, ExactValueIndexScanner, ExacValueCompoundIndexScanner, InValueIndexScanner, NotRegexIndexScanner, NullValueIndexScanner, RangeCompoundIndexScanner, RangeIndexScanner, RegexIndexScanner, RelationIndexScanner, UidsIndexScanner

public interface IQueryIndexScanner extends SmartExternalizable
Represents an index that can be provided in a ICustomQuery and optimize the query run time.
Since:
7.1
Author:
anna
  • Field Details

  • Method Details

    • getIndexName

      String getIndexName()
      The name of the index - index is stored in the space by this name
    • getIndexValue

      Object getIndexValue()
      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

      boolean requiresOrderedIndex()
      Returns true if this index scanner requires an ordered index
    • supportsFifoOrder

      boolean supportsFifoOrder()
      returns true if this index scanner preserves the fifo order
    • supportsTemplateIndex

      boolean supportsTemplateIndex()
      Returns true if this index scanner supports template indexing
    • isUidsScanner

      boolean isUidsScanner()
    • getIndexedEntriesByType

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

      boolean isExtendsAbstractQueryIndex()
    • getIndexUsageCounter

      default AtomicLong getIndexUsageCounter(TypeData typeData)