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.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public 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: RecordImplements
IAerospikeClientGet(BatchPolicy, Key, String)Exceptions
Exception | Condition |
---|---|
AerospikeExceptionBatchRecords | which contains results for keys that did complete |
See Also