Interface IndexesCache
- All Known Implementing Classes:
IndexesCacheHolder
public interface IndexesCache
-
Method Summary
Modifier and TypeMethodDescriptiongetAllIndexesForField(IndexedField indexedField) Get all indexes for a given indexed field object.Get index from the indexes cache by providing an index key.booleanhasIndexFor(IndexedField indexedField) Boolean indication of whether an index exists for the given indexed field
-
Method Details
-
getIndex
Get index from the indexes cache by providing an index key.- Parameters:
indexKey- Index key to search by.- Returns:
- Optional
Index
-
getAllIndexesForField
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 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.
-