BatchDelete Class

Batch delete operation.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public sealed class BatchDelete : BatchRecord
Inheritance
Object    BatchRecord    BatchDelete

Constructors

BatchDelete(Key) Initialize key.
BatchDelete(BatchDeletePolicy, Key) Initialize policy and key.

Methods

Equals Optimized reference equality check to determine batch wire protocol repeat flag. For internal use only.
(Overrides BatchRecordEquals(BatchRecord))
GetBatchType Return batch command type.
(Overrides BatchRecordGetBatchType)
Prepare Prepare for upcoming batch call. Reset result fields because this instance might be reused. For internal use only.
(Inherited from BatchRecord)
SetError Set error result. For internal use only.
(Inherited from BatchRecord)
SetRecord Set record result. For internal use only.
(Inherited from BatchRecord)
Size Return wire protocol size. For internal use only.
(Overrides BatchRecordSize(Policy))
ToString Convert to string.
(Inherited from BatchRecord)

Fields

hasWrite Does this command contain a write operation. For internal use only.
(Inherited from BatchRecord)
inDoubt Is it possible that the write transaction may have completed even though an error occurred for this record. This may be the case when a client error occurs (like timeout) after the command was sent to the server.
(Inherited from BatchRecord)
key Key.
(Inherited from BatchRecord)
policy Optional delete policy.
record Record result after batch command has completed. Will be null if record was not found or an error occurred. See resultCode.
(Inherited from BatchRecord)
resultCode Result code for this returned record. See ResultCode. If not OK, the record will be null.
(Inherited from BatchRecord)

See Also