MetaStruct
Object Hierarchy:
Description:
Namespace: Gda
Package: libgda-6.0
Content:
Properties:
- public uint features { get; construct; }
- public MetaStore meta_store { owned get; construct; }
Static methods:
- public static Quark error_quark ()
Creation methods:
- protected MetaStruct ()
Methods:
- public unowned MetaDbObject? complement (MetaDbObjectType type, Value? catalog, Value? schema, Value name) throws Error
Creates a new MetaDbObject structure in this to represent the database object (of type
type
) which can be uniquely identified ascatalog
. - public bool complement_all () throws Error
This method is similar to complement and complement_default but creates MetaDbObject for all the database object.
- public bool complement_default () throws Error
This method is similar to complement and complement_all but creates MetaDbObject for all the database object which are usable using only their short name (that is which do not need to be prefixed by the schema in which they are to be used).
- public bool complement_depend (MetaDbObject dbo) throws Error
This method is similar to complement but creates MetaDbObject for all the dependencies of
dbo
. - public bool complement_schema (Value? catalog, Value? schema) throws Error
This method is similar to complement but creates MetaDbObject for all the database object which are in the
schema
schema (and in thecatalog
catalog). - public string? dump_as_graph (MetaGraphInfo info) throws Error
Creates a new graph (in the GraphViz syntax) representation of this.
- public SList<unowned MetaDbObject?>? get_all_db_objects ()
Get a list of all the MetaDbObject structures representing database objects in this.
- public unowned MetaDbObject? get_db_object (Value? catalog, Value? schema, Value name)
Tries to locate the MetaDbObject structure representing the database object named after
catalog
,schema
andname
. - public unowned MetaTableColumn? get_table_column (MetaTable table, Value col_name)
Tries to find the MetaTableColumn representing the column named
col_name
intable
. - public bool load_from_xml_file (string? catalog, string? schema, string xml_spec_file) throws Error
Loads an XML description into this.
- public bool sort_db_objects (MetaSortType sort_type) throws Error
Reorders the list of database objects within this in a way specified by
sort_type
.
Inherited Members:
All known members inherited from class GLib.Object