AerospikeCustomConversions
If you need to conditionally create index — replace AerospikeOperations.indexExists(java.lang.String) with AerospikeOperations.createIndex(java.lang.Class<T>, java.lang.String, java.lang.String, com.aerospike.client.query.IndexType) and catch IndexAlreadyExistsException.
AerospikeOperations.indexExists(java.lang.String)
AerospikeOperations.createIndex(java.lang.Class<T>, java.lang.String, java.lang.String, com.aerospike.client.query.IndexType)
IndexAlreadyExistsException
More information can be found at: https://github.com/aerospike/aerospike-client-java/pull/149
If you need to conditionally create index — replace AerospikeRepository.indexExists(java.lang.String) with AerospikeRepository.createIndex(java.lang.Class<T>, java.lang.String, java.lang.String, com.aerospike.client.query.IndexType) and catch IndexAlreadyExistsException.
AerospikeRepository.indexExists(java.lang.String)
AerospikeRepository.createIndex(java.lang.Class<T>, java.lang.String, java.lang.String, com.aerospike.client.query.IndexType)
Copyright © 2012–2020 Aerospike, Inc. All rights reserved.