Class IndexesCacheHolder
java.lang.Object
org.springframework.data.aerospike.query.cache.IndexesCacheHolder
- All Implemented Interfaces:
IndexesCache,IndexesCacheUpdater
- Author:
- Anastasiia Smirnova
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasIndexFor(IndexedField indexedField) voidupdate(IndexesInfo cache) UpdateIndexesInfocache.
-
Constructor Details
-
IndexesCacheHolder
public IndexesCacheHolder()
-
-
Method Details
-
getIndex
- Specified by:
getIndexin interfaceIndexesCache- Parameters:
indexKey- to search by- Returns:
- Optional
Index
-
hasIndexFor
- Specified by:
hasIndexForin interfaceIndexesCache- Parameters:
indexedField- to search by- Returns:
- true if there is an index for the given indexed field
-
update
Description copied from interface:IndexesCacheUpdaterUpdateIndexesInfocache.- Specified by:
updatein interfaceIndexesCacheUpdater- Parameters:
cache- to be used
-