public interface AerospikeRepository<T,ID> extends PagingAndSortingRepository<T,ID>
Repository| Modifier and Type | Method and Description |
|---|---|
<E> void |
createIndex(Class<E> domainType,
String indexName,
String binName,
com.aerospike.client.query.IndexType indexType) |
<E> void |
deleteIndex(Class<E> domainType,
String indexName) |
boolean |
indexExists(String indexName)
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 More information can be found at: https://github.com/aerospike/aerospike-client-java/pull/149 |
findAll, findAllcount, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll<E> void createIndex(Class<E> domainType, String indexName, String binName, com.aerospike.client.query.IndexType indexType)
@Deprecated boolean indexExists(String indexName)
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 catch IndexAlreadyExistsException.
More information can be found at: https://github.com/aerospike/aerospike-client-java/pull/149
indexName - The Aerospike index name.Copyright © 2020–2021 Aerospike, Inc. All rights reserved.