Asynchronously read records in specified namespace, set and partition filter.
If the policy's concurrentNodes is specified, each server node will be read in
parallel. Otherwise, server nodes are read in series.
Namespace: Aerospike.ClientThis method schedules the scan command with a channel selector and returns. Another thread will process the command and send the results to the listener.
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.9.13.0 (3.9.13)
Syntax
Parameters
- policy
- Type: Aerospike.Client ScanPolicy
scan configuration parameters, pass in null for defaults
- listener
- Type: Aerospike.Client RecordSequenceListener
where to send results
- partitionFilter
- Type: Aerospike.Client PartitionFilter
filter on a subset of data partitions
- ns
- Type: System String
namespace - equivalent to database name
- setName
- Type: System String
optional set name - equivalent to database table
- binNames
- Type: System String
optional bin to retrieve. All bins will be returned if not specified.
Implements
IAsyncClient ScanPartitions(ScanPolicy, RecordSequenceListener, PartitionFilter, String, String, String )Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if queue is full |
See Also