Read multiple records for specified batch keys in one batch call.
This method allows different namespaces/bins to be requested for each key in the batch.
The returned records are located in the same list.
If the BatchRecord key field is not found, the corresponding record field will be null.
The policy can be used to specify timeouts and maximum concurrent threads.
This method requires Aerospike Server version >= 3.6.0.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 3.1.0.0 (3.1.6)
Syntax
Parameters
- policy
- Type: Aerospike.Client BatchPolicy
batch configuration parameters, pass in null for defaults
- records
- Type:
System.Collections.Generic List BatchRead
list of unique record identifiers and the bins to retrieve. The returned records are located in the same list.
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if read fails |
See Also