Read all records in specified namespace and set for one node only.
This call will block until the scan is complete - callbacks are made within the scope of this call.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public void ScanNode( ScanPolicy policy, Node node, string ns, string setName, ScanCallback callback, params string[] binNames )
Parameters
- policy
- Type: Aerospike.ClientScanPolicy
scan configuration parameters, pass in null for defaults - node
- Type: Aerospike.ClientNode
server node - ns
- Type: SystemString
namespace - equivalent to database name - setName
- Type: SystemString
optional set name - equivalent to database table - callback
- Type: Aerospike.ClientScanCallback
read callback method - called with record data - binNames
- Type: SystemString
optional bin to retrieve. All bins will be returned if not specified.
Implements
IAerospikeClientScanNode(ScanPolicy, Node, String, String, ScanCallback, String)Exceptions
Exception | Condition |
---|---|
AerospikeException | if scan fails |
See Also