Gda.MetaStruct – libgda-5.0 Reference Manual
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
Namespace:
Gda
Package:
libgda-5.0
Content:
Properties:
public
uint
features
{
get
;
construct
; }
public
MetaStore
meta_store
{
owned
get
;
construct
; }
Static methods:
public
static
Quark
error_quark
()
Creation methods:
public
MetaStruct
(
MetaStore
store,
MetaStructFeature
features)
Creates a new
MetaStruct
object.
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
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 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
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
2022 vala-language.org