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+
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public BatchResults Delete( BatchPolicy batchPolicy, BatchDeletePolicy deletePolicy, Key[] keys )
Parameters
- batchPolicy
- Type: Aerospike.ClientBatchPolicy
batch configuration parameters, pass in null for defaults - deletePolicy
- Type: Aerospike.ClientBatchDeletePolicy
delete configuration parameters, pass in null for defaults - keys
- Type: Aerospike.ClientKey
array of unique record identifiers
Return Value
Type: BatchResultsImplements
IAerospikeClientDelete(BatchPolicy, BatchDeletePolicy, Key)Exceptions
Exception | Condition |
---|---|
AerospikeExceptionBatchRecordArray | which contains results for keys that did complete |
See Also