IAerospikeClientGet Method (BatchPolicy, Key)

Aerospike
Read multiple records for specified keys in one batch call. The returned records are in positional order with the original key array order. If a key is not found, the positional record will be null. The policy can be used to specify timeouts and maximum concurrent threads.

If a batch request to a node fails, the entire batch is cancelled.

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

C#
Record[] Get(
	BatchPolicy policy,
	Key[] keys
)

Parameters

policy
Type: Aerospike.ClientBatchPolicy
batch configuration parameters, pass in null for defaults
keys
Type: Aerospike.ClientKey
array of unique record identifiers

Return Value

Type: Record
Exceptions

ExceptionCondition
AerospikeExceptionif read fails
See Also

Reference