This method will be called for each record returned from a scan. The user may throw a
exception if the scan should be aborted. If any exception is thrown, parallel scan threads
to other nodes will also be terminated and the exception will be propagated back through the
initiating scan call.
Namespace: Aerospike.ClientMultiple threads will likely be calling scanCallback in parallel. Therefore, your scanCallback implementation should be thread safe.
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.9.1.0 (3.9.1)
Syntax
Parameters
- key
- Type: Aerospike.Client Key
unique record identifier
- record
- Type: Aerospike.Client Record
container for bins and record meta-data
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if error occurs or scan should be terminated. |
See Also