Search code examples
javadatabaseaerospike

How to get all records from set in aerospike?


How to get all records from set in aerospike? And how to get bin with necessary value?


Solution

  • To get all records belonging to a set, you can use scan API and pass the required set. To get all records with a specific bin value, you can use secondary index. Please Refer to the doc for details.