23 #ifndef JULEA_DB_SELECTOR_H
24 #define JULEA_DB_SELECTOR_H
26 #if !defined(JULEA_DB_H) && !defined(JULEA_DB_COMPILATION)
27 #error "Only <julea-db.h> can be included directly."
G_END_DECLS G_BEGIN_DECLS JDBSelector * j_db_selector_new(JDBSchema *schema, JDBSelectorMode mode, GError **error)
Definition: jdb-selector.c:36
gboolean j_db_selector_add_selector(JDBSelector *selector, JDBSelector *sub_selector, GError **error)
Add a second selector as sub selector.
Definition: jdb-selector.c:276
JDBSelectorMode
Definition: jdb-selector.h:35
@ J_DB_SELECTOR_MODE_OR
Definition: jdb-selector.h:37
@ J_DB_SELECTOR_MODE_AND
Definition: jdb-selector.h:36
JDBSelectorOperator
Definition: jdb-selector.h:43
@ J_DB_SELECTOR_OPERATOR_LE
Definition: jdb-selector.h:47
@ J_DB_SELECTOR_OPERATOR_GT
Definition: jdb-selector.h:49
@ J_DB_SELECTOR_OPERATOR_NE
Definition: jdb-selector.h:55
@ J_DB_SELECTOR_OPERATOR_LT
Definition: jdb-selector.h:45
@ J_DB_SELECTOR_OPERATOR_GE
Definition: jdb-selector.h:51
@ J_DB_SELECTOR_OPERATOR_EQ
Definition: jdb-selector.h:53
gboolean j_db_selector_add_field(JDBSelector *selector, gchar const *name, JDBSelectorOperator operator_, gconstpointer value, guint64 length, GError **error)
Definition: jdb-selector.c:108
JDBSelector * j_db_selector_ref(JDBSelector *selector)
Definition: jdb-selector.c:75
gboolean j_db_selector_add_join(JDBSelector *selector, gchar const *selector_field, JDBSelector *sub_selector, gchar const *sub_selector_field, GError **error)
Definition: jdb-selector.c:308
void j_db_selector_unref(JDBSelector *selector)
Definition: jdb-selector.c:87
Definition: jdb-internal.h:78
Definition: jdb-internal.h:102
JDBSelectorMode mode
TRUE iff final got built and the selector was not modified.
Definition: jdb-internal.h:115
JDBSchema * schema
Definition: jdb-internal.h:116