AsyncClientScanPartitions(ScanPolicy, RecordSequenceListener, PartitionFilter, String, String, String) Method

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.

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.

Definition

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

Parameters

policy  ScanPolicy
scan configuration parameters, pass in null for defaults
listener  RecordSequenceListener
where to send results
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
binNames  String
optional bin to retrieve. All bins will be returned if not specified.

Implements

IAsyncClientScanPartitions(ScanPolicy, RecordSequenceListener, PartitionFilter, String, String, String)

Exceptions

AerospikeExceptionif queue is full

See Also