IAerospikeClientScanNode(ScanPolicy, String, String, String, ScanCallback, String) Method

Read all records in specified namespace and set for one node only. The node is specified by name.

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 ScanNode(
	ScanPolicy policy,
	string nodeName,
	string ns,
	string setName,
	ScanCallback callback,
	params string[] binNames
)

Parameters

policy  ScanPolicy
scan configuration parameters, pass in null for defaults
nodeName  String
server node name
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