gda.meta_struct

Module for [MetaStruct] class

Types 4

Methods
GType _gType() @property
MetaStruct self()Returns `this`, for use in `with` statements.
MetaStructGidBuilder builder()Get builder for [gda.meta_struct.MetaStruct] Returns: New builder object
uint features() @property
gda.meta_db_object.MetaDbObject complement(gda.types.MetaDbObjectType type, gobject.value.Value catalog, gobject.value.Value schema, gobject.value.Value name)Creates a new #GdaMetaDbObject structure in mstruct to represent the database object (of type type) which can be uniquely identified as catalog.schema.name.
bool complementAll()This method is similar to [gda.metastruct.MetaStruct.complement] and [gda.metastruct.MetaStruct.complementDefault] but creates #GdaMetaDbObject for all the database object.
bool complementDefault()This method is similar to [gda.metastruct.MetaStruct.complement] and [gda.metastruct.MetaStruct.complementAll] but creates #GdaMetaDbObject for all the database object which are usable using only t...
bool complementDepend(gda.meta_db_object.MetaDbObject dbo)This method is similar to [gda.meta_struct.MetaStruct.complement] but creates #GdaMetaDbObject for all the dependencies of dbo.
bool complementSchema(gobject.value.Value catalog = null, gobject.value.Value schema = null)This method is similar to [gda.meta_struct.MetaStruct.complement] but creates #GdaMetaDbObject for all the database object which are in the schema schema (and in the catalog catalog). If catalog is...
string dumpAsGraph(gda.types.MetaGraphInfo info)Creates a new graph (in the GraphViz syntax) representation of mstruct.
gda.meta_db_object.MetaDbObject getDbObject(gobject.value.Value catalog, gobject.value.Value schema, gobject.value.Value name)Tries to locate the #GdaMetaDbObject structure representing the database object named after catalog, schema and name.
bool loadFromXmlFile(string catalog, string schema, string xmlSpecFile)Loads an XML description into mstruct. This method is still experimental and no description the XML file structure is given, and no guarantee that it will remain as it is given.
bool sortDbObjects(gda.types.MetaSortType sortType)Reorders the list of database objects within mstruct in a way specified by sort_type.
Constructors
this(void * ptr, Flag!"Take" take)
this(gda.meta_store.MetaStore store, gda.types.MetaStructFeature features)Creates a new #GdaMetaStruct object. The features specifies the extra features which will also be computed: the more features, the more time it takes to run. Features such as table's columns, each ...

Fluent builder for [gda.meta_struct.MetaStruct]

Methods
Constructors
this(GError * err)
this(Code code, string msg)