Interface IndexesCache

All Known Implementing Classes:
IndexesCacheHolder

public interface IndexesCache
  • Method Details

    • getIndex

      Optional<Index> getIndex(IndexKey indexKey)
      Get index from the indexes cache by providing an index key.
      Parameters:
      indexKey - Index key to search by.
      Returns:
      Optional Index
    • getAllIndexesForField

      List<Index> getAllIndexesForField(IndexedField indexedField)
      Get all indexes for a given indexed field object.
      Parameters:
      indexedField - Indexed field to search by.
      Returns:
      List of indexes matching the indexed field properties.
    • hasIndexFor

      boolean hasIndexFor(IndexedField indexedField)
      Boolean indication of whether an index exists for the given indexed field
      Parameters:
      indexedField - Indexed field to search by
      Returns:
      True if there is an index for the given indexed field.