public interface QueryListener
| Modifier and Type | Method and Description |
|---|---|
void |
onRecord(Key key,
Record record)
This method is called when a record is received from the server.
|
void onRecord(Key key, Record record)
The user may throw a
AerospikeException.QueryTerminated
exception if the command should be aborted. If an exception is thrown, parallel query command
threads to other nodes will also be terminated.
key - unique record identifierrecord - record instanceAerospikeException - if error occurs or query should be terminated.Copyright © 2012–2023 Aerospike, Inc. All rights reserved.