AerospikeClientDelete(BatchPolicy, BatchDeletePolicy, Key) Method

Delete records for specified keys. If a key is not found, the corresponding result resultCode will be KEY_NOT_FOUND_ERROR.

Requires server version 6.0+

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public BatchResults Delete(
	BatchPolicy batchPolicy,
	BatchDeletePolicy deletePolicy,
	Key[] keys
)

Parameters

batchPolicy  BatchPolicy
batch configuration parameters, pass in null for defaults
deletePolicy  BatchDeletePolicy
delete configuration parameters, pass in null for defaults
keys  Key
array of unique record identifiers

Return Value

BatchResults

Implements

IAerospikeClientDelete(BatchPolicy, BatchDeletePolicy, Key)

Exceptions

AerospikeExceptionBatchRecordArraywhich contains results for keys that did complete

See Also