Interface AerospikeRepository<T,ID>
- All Superinterfaces:
PagingAndSortingRepository<T,,ID> Repository<T,ID>
- All Known Implementing Classes:
SimpleAerospikeRepository
Aerospike specific
Repository- Author:
- Oliver Gierke, Peter Milne, Jean Mercier
-
Method Summary
Modifier and TypeMethodDescription<E> voidcreateIndex(Class<E> domainType, String indexName, String binName, com.aerospike.client.query.IndexType indexType) <E> voiddeleteIndex(Class<E> domainType, String indexName) booleanindexExists(String indexName) Deprecated.This operation is deprecated due to complications that are required for guaranteed index existence response.Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll, findAll
-
Method Details
-
createIndex
-
deleteIndex
-
indexExists
Deprecated.This operation is deprecated due to complications that are required for guaranteed index existence response.If you need to conditionally create index — replace this method (indexExists) with
createIndex(java.lang.Class<E>, java.lang.String, java.lang.String, com.aerospike.client.query.IndexType)and catchIndexAlreadyExistsException.More information can be found at: https://github.com/aerospike/aerospike-client-java/pull/149
Checks whether index by specified name exists in Aerospike.- Parameters:
indexName- The Aerospike index name.- Returns:
- true if exists
-