JULEA
Data Fields
JDBSelector Struct Reference

#include <jdb-internal.h>

Data Fields

bson_t selection
 
bson_t joins
 The selector encoded as BSON. Joins and tables are managed separately. More...
 
bson_t final
 The joins encoded as BSON. More...
 
gboolean final_valid
 
JDBSelectorMode mode
 TRUE iff final got built and the selector was not modified. More...
 
JDBSchemaschema
 
GHashTable * join_schema
 Primary schema. This one must be used for joins. More...
 
guint selection_count
 Stores the names of joined schemas. It is used as a set and all values are NULL. More...
 
gint ref_count
 The number of selecotr entries must not exceed 500. More...
 

Detailed Description

Represents selections in, possibly joined, schemas.

For details on the BSON documents see doc/db-code.md.

Field Documentation

◆ final

bson_t JDBSelector::final

The joins encoded as BSON.

The complete query as BSON.

Gets build (and rebuild if necessary) when the selector is used.

◆ final_valid

gboolean JDBSelector::final_valid

◆ join_schema

GHashTable* JDBSelector::join_schema

Primary schema. This one must be used for joins.

◆ joins

bson_t JDBSelector::joins

The selector encoded as BSON. Joins and tables are managed separately.

◆ mode

JDBSelectorMode JDBSelector::mode

TRUE iff final got built and the selector was not modified.

◆ ref_count

gint JDBSelector::ref_count

The number of selecotr entries must not exceed 500.

◆ schema

JDBSchema* JDBSelector::schema

◆ selection

bson_t JDBSelector::selection

◆ selection_count

guint JDBSelector::selection_count

Stores the names of joined schemas. It is used as a set and all values are NULL.


The documentation for this struct was generated from the following file: