Read records in specified namespace, set and partition filter.
Namespace: Aerospike.ClientThis call will block until the scan is complete - callbacks are made within the scope of this call.
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.5.0 (4.2.5)
Syntax
Parameters
- policy
- Type: Aerospike.Client ScanPolicy
scan configuration parameters, pass in null for defaults
- 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
- callback
- Type: Aerospike.Client ScanCallback
read callback method - called with record data
- binNames
- Type: System String
optional bin to retrieve. All bins will be returned if not specified.
Implements
IAerospikeClient ScanPartitions(ScanPolicy, PartitionFilter, String, String, ScanCallback, String )Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if scan fails |
See Also