MetaStruct
Object Hierarchy:
Description:
[
CCode ( type_id =
"gda_meta_struct_get_type ()" ) ]
public class MetaStruct :
Object
Content:
Properties:
Static methods:
Creation methods:
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 as catalog.
- public bool complement_all () throws Error
- 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
- 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 the catalog 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 and name
.
- public unowned MetaTableColumn? get_table_column (MetaTable table, Value col_name)
Tries to find the
MetaTableColumn representing the column named col_name in table.
- 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