JULEA
|
#include <julea-config.h>
#include <glib.h>
#include <string.h>
#include <bson.h>
#include <db/jdb-error.h>
#include <db/jdb-internal.h>
#include <julea.h>
#include <julea-db.h>
Data Structures | |
struct | JDBIteratorHelper |
Typedefs | |
typedef struct JDBIteratorHelper | JDBIteratorHelper |
Functions | |
GQuark | j_db_error_quark (void) |
gboolean | j_db_internal_schema_create (JDBSchema *j_db_schema, JBatch *batch, GError **error) |
gboolean | j_db_internal_schema_get (JDBSchema *j_db_schema, JBatch *batch, GError **error) |
gboolean | j_db_internal_schema_delete (JDBSchema *j_db_schema, JBatch *batch, GError **error) |
gboolean | j_db_internal_insert (JDBEntry *j_db_entry, JBatch *batch, GError **error) |
gboolean | j_db_internal_update (JDBEntry *j_db_entry, JDBSelector *j_db_selector, JBatch *batch, GError **error) |
gboolean | j_db_internal_delete (JDBEntry *j_db_entry, JDBSelector *j_db_selector, JBatch *batch, GError **error) |
gboolean | j_db_internal_query (JDBSchema *j_db_schema, JDBSelector *j_db_selector, JDBIterator *j_db_iterator, JBatch *batch, GError **error) |
gboolean | j_db_internal_iterate (JDBIterator *j_db_iterator, GError **error) |
gboolean | j_db_selector_finalize (JDBSelector *selector, GError **error) |
Build the final field of the selector. More... | |
bson_t * | j_db_selector_get_bson (JDBSelector *selector) |
Get the selector data represented as a single bson document. More... | |
typedef struct JDBIteratorHelper JDBIteratorHelper |
GQuark j_db_error_quark | ( | void | ) |
gboolean j_db_internal_delete | ( | JDBEntry * | j_db_entry, |
JDBSelector * | j_db_selector, | ||
JBatch * | batch, | ||
GError ** | error | ||
) |
gboolean j_db_internal_iterate | ( | JDBIterator * | j_db_iterator, |
GError ** | error | ||
) |
gboolean j_db_internal_query | ( | JDBSchema * | j_db_schema, |
JDBSelector * | j_db_selector, | ||
JDBIterator * | j_db_iterator, | ||
JBatch * | batch, | ||
GError ** | error | ||
) |
gboolean j_db_internal_update | ( | JDBEntry * | j_db_entry, |
JDBSelector * | j_db_selector, | ||
JBatch * | batch, | ||
GError ** | error | ||
) |
gboolean j_db_selector_finalize | ( | JDBSelector * | selector, |
GError ** | error | ||
) |
Build the final field of the selector.
Appends the "t" and "j" section if joins are present. In any case the "s" section will be created.
selector | a pointer of type JDBSelector. |
bson_t* j_db_selector_get_bson | ( | JDBSelector * | selector | ) |
Get the selector data represented as a single bson document.
The returned bson is suitable for requests to the DB backend. For more details see doc/db-code.md
.
selector |