Asynchronously read all records in specified namespace and set. If the policy's
concurrentNodes is specified, each server node will be read in
parallel. Otherwise, server nodes are read in series.
This method schedules the scan command with a channel selector and returns. Another thread will process the command and send the results to the listener.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
void ScanAll( ScanPolicy policy, RecordSequenceListener listener, string ns, string setName, params string[] binNames )
Parameters
- policy
- Type: Aerospike.ClientScanPolicy
scan configuration parameters, pass in null for defaults - listener
- Type: Aerospike.ClientRecordSequenceListener
where to send results, pass in null for fire and forget - ns
- Type: SystemString
namespace - equivalent to database name - setName
- Type: SystemString
optional set name - equivalent to database table - binNames
- Type: SystemString
optional bin to retrieve. All bins will be returned if not specified.
Exceptions
Exception | Condition |
---|---|
AerospikeException | if queue is full |
See Also