![]() |
Key and bin names used in batch commands where variables bins are needed for each key. The returned records are located in the same batch record.
Definition at line 55 of file aerospike_batch.h.
#include "aerospike_batch.h"
Data Fields | |
char ** | bin_names |
as_key | key |
uint32_t | n_bin_names |
bool | read_all_bins |
as_record | record |
as_status | result |
Related Functions | |
(Note that these are not member functions.) | |
static as_batch_read_records * | as_batch_read_create (uint32_t capacity) |
void | as_batch_read_destroy (as_batch_read_records *records) |
static void | as_batch_read_init (as_batch_read_records *records, uint32_t capacity) |
#define | as_batch_read_inita(__records, __capacity) as_vector_inita(&((__records)->list), sizeof(as_batch_read_record), __capacity); |
static as_batch_read_record * | as_batch_read_reserve (as_batch_read_records *records) |
|
related |
Initialize as_batch_read_records
with specified capacity on the stack using alloca().
When the batch is no longer needed, then use as_batch_destroy() to release the batch and associated resources.
__records | Batch record list. |
__capacity | Initial capacity of batch record list. List will resize when necessary. |
Definition at line 175 of file aerospike_batch.h.
char** as_batch_read_record::bin_names |
Bin names requested for this key.
Definition at line 64 of file aerospike_batch.h.
as_key as_batch_read_record::key |
The key requested.
Definition at line 59 of file aerospike_batch.h.
uint32_t as_batch_read_record::n_bin_names |
Count of bin names requested for this key.
Definition at line 69 of file aerospike_batch.h.
bool as_batch_read_record::read_all_bins |
If true, ignore bin_names and read all bins. If false and bin_names are set, read specified bin_names. If false and bin_names are not set, read record header (generation, expiration) only.
Definition at line 76 of file aerospike_batch.h.
as_record as_batch_read_record::record |
The record for the key requested. For "exists" calls, the record will never contain bins but will contain metadata (generation and expiration) when the record exists.
Definition at line 100 of file aerospike_batch.h.
as_status as_batch_read_record::result |
The result of the read transaction.
Values:
Definition at line 94 of file aerospike_batch.h.