![]() |
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 68 of file aerospike_batch.h.
#include "aerospike_batch.h"
Data Fields | |
bool | has_write |
bool | in_doubt |
as_key | key |
as_record | record |
as_status | result |
as_batch_type | type |
bool as_batch_base_record::has_write |
Does batch sub-command contain a write operation.
Definition at line 94 of file aerospike_batch.h.
bool as_batch_base_record::in_doubt |
Is it possible that the write command 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 101 of file aerospike_batch.h.
as_key as_batch_base_record::key |
Requested key.
Definition at line 72 of file aerospike_batch.h.
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 79 of file aerospike_batch.h.
as_status as_batch_base_record::result |
Result code.
Definition at line 84 of file aerospike_batch.h.
as_batch_type as_batch_base_record::type |
Type of batch record.
Definition at line 89 of file aerospike_batch.h.