Loading...
Searching...
No Matches
Data Fields | Related Symbols
as_batch_records Struct Reference

Detailed Description

List of batch request/response (as_batch_base_record) records. The record types can be as_batch_read_record, as_batch_write_record, as_batch_apply_record or as_batch_remove_record.

Definition at line 250 of file aerospike_batch.h.

#include "aerospike_batch.h"

+ Collaboration diagram for as_batch_records:

Data Fields

as_vector list
 

Related Symbols

(Note that these are not member symbols.)

static as_batch_apply_recordas_batch_apply_reserve (as_batch_records *records)
 
static as_batch_recordsas_batch_read_create (uint32_t capacity)
 
static void as_batch_read_destroy (as_batch_records *records)
 
static void as_batch_read_init (as_batch_records *records, uint32_t capacity)
 
#define as_batch_read_inita(__records, __capacity)    as_vector_inita(&((__records)->list), sizeof(as_batch_record), __capacity);
 
static as_batch_read_recordas_batch_read_reserve (as_batch_records *records)
 
static as_batch_recordsas_batch_records_create (uint32_t capacity)
 
AS_EXTERN void as_batch_records_destroy (as_batch_records *records)
 
static void as_batch_records_init (as_batch_records *records, uint32_t capacity)
 
#define as_batch_records_inita(__records, __capacity)    as_vector_inita(&((__records)->list), sizeof(as_batch_record), __capacity);
 
static as_batch_remove_recordas_batch_remove_reserve (as_batch_records *records)
 
static as_batch_write_recordas_batch_write_reserve (as_batch_records *records)
 

Friends And Related Symbol Documentation

◆ as_batch_read_inita

#define as_batch_read_inita ( __records,
__capacity )    as_vector_inita(&((__records)->list), sizeof(as_batch_record), __capacity);
related

Initialize batch records with specified capacity on the stack using alloca().

Deprecated
Use as_batch_records_inita() instead.

Definition at line 334 of file aerospike_batch.h.

◆ as_batch_records_inita

#define as_batch_records_inita ( __records,
__capacity )    as_vector_inita(&((__records)->list), sizeof(as_batch_record), __capacity);
related

Initialize batch records with specified capacity on the stack using alloca().

When the batch is no longer needed, then use as_batch_records_destroy() to release the batch and associated resources.

Parameters
__recordsBatch record list.
__capacityInitial capacity of batch record list. List will resize when necessary.

Definition at line 324 of file aerospike_batch.h.

Field Documentation

◆ list

as_vector as_batch_records::list

Definition at line 251 of file aerospike_batch.h.


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