IAerospikeClientGet Method (BatchPolicy, ListBatchRead)

Aerospike
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 BatchRead key field is not found, the corresponding record field will be null.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
bool Get(
	BatchPolicy policy,
	List<BatchRead> records
)

Parameters

policy
Type: Aerospike.ClientBatchPolicy
batch configuration parameters, pass in null for defaults
records
Type: System.Collections.GenericListBatchRead
list of unique record identifiers and the bins to retrieve. The returned records are located in the same list.

Return Value

Type: Boolean
true if all batch key requests succeeded
Exceptions

ExceptionCondition
AerospikeExceptionif read fails
See Also

Reference