MetaStruct
Object Hierarchy:
Gda.MetaStruct
Gda.MetaStruct
Gda.MetaStruct
GLib.Object
GLib.Object
GLib.Object->Gda.MetaStruct
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
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref