Check if multiple record keys exist in one batch call.
The returned boolean array is in positional order with the original key array order.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.3.0.0 (5.3.0)
Syntax
C#
public bool[] Exists( 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: BooleanImplements
IAerospikeClientExists(BatchPolicy, Key)Exceptions
Exception | Condition |
---|---|
AerospikeExceptionBatchExists | which contains results for keys that did complete |
See Also