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