IAerospikeClientGet Method (BatchPolicy, Key, String)

Aerospike
Read multiple record headers and bins 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,
	params string[] binNames
)

Parameters

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

Return Value

Type: Record
Exceptions

ExceptionCondition
AerospikeExceptionif read fails
See Also

Reference