BatchRecord Class

Aerospike
Batch key and record result.
Inheritance Hierarchy

SystemObject
  Aerospike.ClientBatchRecord
    Aerospike.ClientBatchDelete
    Aerospike.ClientBatchRead
    Aerospike.ClientBatchUDF
    Aerospike.ClientBatchWrite

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public class BatchRecord

The BatchRecord type exposes the following members.

Constructors

  NameDescription
Public methodBatchRecord(Key, Boolean)
Initialize batch key.
Public methodBatchRecord(Key, Record, Boolean)
Initialize batch key and record.
Public methodBatchRecord(Key, Record, Int32, Boolean, Boolean)
Error constructor.
Top
Methods

  NameDescription
Public methodEquals
Optimized reference equality check to determine batch wire protocol repeat flag. For internal use only.
Public methodGetBatchType
Return batch command type. For internal use only.
Public methodPrepare
Prepare for upcoming batch call. Reset result fields because this instance might be reused. For internal use only.
Public methodSetError
Set error result. For internal use only.
Public methodSetRecord
Set record result. For internal use only.
Public methodSize
Return wire protocol size. For internal use only.
Public methodToString
Convert to string.
(Overrides ObjectToString.)
Top
Fields

  NameDescription
Public fieldhasWrite
Does this command contain a write operation. For internal use only.
Public fieldinDoubt
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.
Public fieldkey
Key.
Public fieldrecord
Record result after batch command has completed. Will be null if record was not found or an error occurred. See resultCode.
Public fieldresultCode
Result code for this returned record. See ResultCode. If not OK, the record will be null.
Top
See Also

Reference