AerospikeClientGet(BatchPolicy, Key, Operation) Method

Read multiple records for specified keys using read operations 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.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public Record[] Get(
	BatchPolicy policy,
	Key[] keys,
	params Operation[] ops
)

Parameters

policy  BatchPolicy
batch configuration parameters, pass in null for defaults
keys  Key
array of unique record identifiers
ops  Operation
array of read operations on record

Return Value

Record

Implements

IAerospikeClientGet(BatchPolicy, Key, Operation)

Exceptions

AerospikeExceptionBatchRecordswhich contains results for keys that did complete

See Also