JULEA
Functions
sql-generic-tcl.c File Reference
#include <julea-config.h>
#include "sql-generic-internal.h"

Functions

gboolean _backend_batch_start (gpointer backend_data, JSqlBatch *batch, GError **error)
 Start a batch. Starts a transaction in the DB backend. More...
 
gboolean _backend_batch_execute (gpointer backend_data, JSqlBatch *batch, GError **error)
 Execute a batch. Commits a transaction in the DB backend. More...
 
gboolean _backend_batch_abort (gpointer backend_data, JSqlBatch *batch, GError **error)
 Abort a batch. Triggers a rollback in the DB backend. More...
 
gboolean sql_generic_batch_start (gpointer backend_data, gchar const *namespace, JSemantics *semantics, gpointer *_batch, GError **error)
 
gboolean sql_generic_batch_execute (gpointer backend_data, gpointer _batch, GError **error)
 

Function Documentation

◆ _backend_batch_abort()

gboolean _backend_batch_abort ( gpointer  backend_data,
JSqlBatch batch,
GError **  error 
)

Abort a batch. Triggers a rollback in the DB backend.

Parameters
backend_dataThe backend-specific information to open a connection.
batchThe batch to modify.
[out]errorAn uninitialized GError* for error code passing.
Returns
gboolean TRUE on success, FALSE otherwise.

◆ _backend_batch_execute()

gboolean _backend_batch_execute ( gpointer  backend_data,
JSqlBatch batch,
GError **  error 
)

Execute a batch. Commits a transaction in the DB backend.

Parameters
backend_dataThe backend-specific information to open a connection.
batchThe batch to modify.
[out]errorAn uninitialized GError* for error code passing.
Returns
gboolean TRUE on success, FALSE otherwise.

◆ _backend_batch_start()

gboolean _backend_batch_start ( gpointer  backend_data,
JSqlBatch batch,
GError **  error 
)

Start a batch. Starts a transaction in the DB backend.

Parameters
backend_dataThe backend-specific information to open a connection.
batchThe batch to modify.
[out]errorAn uninitialized GError* for error code passing.
Returns
gboolean TRUE on success, FALSE otherwise.

◆ sql_generic_batch_execute()

gboolean sql_generic_batch_execute ( gpointer  backend_data,
gpointer  _batch,
GError **  error 
)

◆ sql_generic_batch_start()

gboolean sql_generic_batch_start ( gpointer  backend_data,
gchar const *  namespace,
JSemantics semantics,
gpointer *  _batch,
GError **  error 
)