23 #ifndef JULEA_DB_SCHEMA_H
24 #define JULEA_DB_SCHEMA_H
26 #if !defined(JULEA_DB_H) && !defined(JULEA_DB_COMPILATION)
27 #error "Only <julea-db.h> can be included directly."
gboolean j_db_schema_create(JDBSchema *schema, JBatch *batch, GError **error)
Definition: jdb-schema.c:402
gboolean j_db_schema_add_index(JDBSchema *schema, gchar const **names, GError **error)
Definition: jdb-schema.c:274
gboolean j_db_schema_add_field(JDBSchema *schema, gchar const *name, JDBType type, GError **error)
Definition: jdb-schema.c:114
guint32 j_db_schema_get_all_fields(JDBSchema *schema, gchar ***names, JDBType **types, GError **error)
Definition: jdb-schema.c:199
gboolean j_db_schema_get(JDBSchema *schema, JBatch *batch, GError **error)
Definition: jdb-schema.c:434
gboolean j_db_schema_equals(JDBSchema *schema1, JDBSchema *schema2, gboolean *equal, GError **error)
Definition: jdb-schema.c:479
gboolean j_db_schema_delete(JDBSchema *schema, JBatch *batch, GError **error)
Definition: jdb-schema.c:459
void j_db_schema_unref(JDBSchema *schema)
Definition: jdb-schema.c:76
JDBSchema * j_db_schema_ref(JDBSchema *schema)
Definition: jdb-schema.c:64
G_END_DECLS G_BEGIN_DECLS JDBSchema * j_db_schema_new(gchar const *namespace_, gchar const *name, GError **error)
Definition: jdb-schema.c:36
gboolean j_db_schema_get_field(JDBSchema *schema, gchar const *name, JDBType *type, GError **error)
Definition: jdb-schema.c:161
JDBType
Definition: jdb-type.h:35
Definition: jdb-internal.h:71
Definition: jdb-internal.h:78
gchar * name
Definition: jdb-internal.h:85