IAerospikeClientScanPartitions Method

Read records in specified namespace, set and partition filter.

This call will block until the scan is complete - callbacks are made within the scope of this call.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
void ScanPartitions(
	ScanPolicy policy,
	PartitionFilter partitionFilter,
	string ns,
	string setName,
	ScanCallback callback,
	params string[] binNames
)

Parameters

policy  ScanPolicy
scan configuration parameters, pass in null for defaults
partitionFilter  PartitionFilter
filter on a subset of data partitions
ns  String
namespace - equivalent to database name
setName  String
optional set name - equivalent to database table
callback  ScanCallback
read callback method - called with record data
binNames  String
optional bin to retrieve. All bins will be returned if not specified.

Exceptions

AerospikeExceptionif scan fails

See Also