![]() |
A collection of keys to be batch processed.
Definition at line 35 of file as_batch.h.
#include "as_batch.h"
Data Fields | ||
struct { | ||
as_key * entries | ||
uint32_t size | ||
} | keys | |
Related Symbols | |
(Note that these are not member symbols.) | |
AS_EXTERN void | as_batch_destroy (as_batch *batch) |
AS_EXTERN as_batch * | as_batch_init (as_batch *batch, uint32_t size) |
#define | as_batch_inita(__batch, __size) |
static as_key * | as_batch_keyat (const as_batch *batch, uint32_t i) |
AS_EXTERN as_batch * | as_batch_new (uint32_t size) |
|
related |
Initializes as_batch
with specified capacity using alloca().
For heap allocation, use as_batch_new()
.
When the batch is no longer needed, then use as_batch_destroy() to release the batch and associated resources.
__batch | The query to initialize. |
__size | The number of keys to allocate. |
Definition at line 127 of file as_batch.h.
as_key* as_batch::entries |
The keys contained by this batch.
Definition at line 45 of file as_batch.h.
struct { ... } as_batch::keys |
Sequence of keys in the batch.
uint32_t as_batch::size |
The number of keys this structure contains.
Definition at line 50 of file as_batch.h.