Here is an example of a "scan" in Java.
**this.client.scanAll(scanPolicy, "test", "demo", new ScanCallback() { @Override public void scanCallback(Key key, Record record) throws AerospikeException { System.out.println("Record: " + record); } });**
In that there is no order in scanning, the records are returned to your application in the order in which they are received from the nodes in the cluster.
Helipilot50
source share