IAerospikeClientExists Method (BatchPolicy, Key)

Aerospike
Check if multiple record keys exist in one batch call. The returned boolean array is in positional order with the original key array order. 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#
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: Boolean
Exceptions

ExceptionCondition
AerospikeExceptionif command fails
See Also

Reference