No Matches
Data Fields
as_batch_base_record Struct Reference

Detailed Description

Batch base request/response record. Used in batch commands where different command types are needed for different keys. All batch record types contain these base fields.

Definition at line 66 of file aerospike_batch.h.

#include "aerospike_batch.h"

+ Collaboration diagram for as_batch_base_record:

Data Fields

bool has_write
bool in_doubt
as_key key
as_record record
as_status result
as_batch_type type

Field Documentation

◆ has_write

bool as_batch_base_record::has_write

Does batch sub-transaction contain a write operation.

Definition at line 92 of file aerospike_batch.h.

◆ in_doubt

bool as_batch_base_record::in_doubt

Is it possible that the write transaction completed even though this error was generated. This may be the case when a client error occurs (like timeout) after the command was sent to the server.

Definition at line 99 of file aerospike_batch.h.

◆ key

as_key as_batch_base_record::key

Requested key.

Definition at line 70 of file aerospike_batch.h.

◆ record

as_record as_batch_base_record::record

Record result for the requested key. This record will only be populated when the result is AEROSPIKE_OK or AEROSPIKE_ERR_UDF. If AEROSPIKE_ERR_UDF, use as_record_get_udf_error() to obtain the error message.

Definition at line 77 of file aerospike_batch.h.

◆ result

as_status as_batch_base_record::result

Result code.

Definition at line 82 of file aerospike_batch.h.

◆ type

as_batch_type as_batch_base_record::type

Type of batch record.

Definition at line 87 of file aerospike_batch.h.

The documentation for this struct was generated from the following file: