ScanCallback Delegate
This method will be called for each record returned from a scan. The user may throw a
AerospikeException.ScanTerminated
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.
If concurrentNodes is true and
maxConcurrentNodes is not equal one, then
your scan callback implementation must be thread safe.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
public delegate void ScanCallback(
Key key,
Record record
)
Parameters
- key Key
- unique record identifier
- record Record
- container for bins and record meta-data