quasardb C API: qdb/batch.h File Reference

quasardb C API

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Structures | Enumerations | Functions
batch.h File Reference
`#include "client.h"`

## Data Structures
struct | int_put_update_t
| The required parameters for an integer operation within a batch. More...
struct | blob_put_update_t
| The required parameters for a blob put or update operations within a batch. More...
struct | qdb_operation_t
| A single operation containing all parameters to execute the operation in a batch or in a transaction. More...

## Enumerations
enum | qdb_operation_type_t { qdb_op_uninitialized = -1, qdb_op_blob_get = 0, qdb_op_blob_put = 1, qdb_op_blob_update = 2, qdb_op_blob_cas = 4, qdb_op_blob_get_and_update = 5, qdb_op_has_tag = 8, qdb_op_int_put = 9, qdb_op_int_update = 10, qdb_op_int_get = 11, qdb_op_int_add = 12, qdb_op_get_entry_type = 13, qdb_op_value_get = 14 }
| An enumeration of possible operation type. More...

## Functions
QDB_API_LINKAGE qdb_error_t | qdb_init_operations (qdb_operation_t *operations, size_t operation_count)
| Initializes an array of qdb_operation_t. More...
QDB_API_LINKAGE size_t | qdb_run_batch (qdb_handle_t handle, qdb_operation_t *operations, size_t operation_count)
| Runs the operations in batch. More...
QDB_API_LINKAGE qdb_error_t | qdb_run_transaction (qdb_handle_t handle, qdb_operation_t *operations, size_t operation_count, size_t *failed_index)
| Runs the operations in a single transaction. More...