Gda.MetaStore – libgda-5.0 Reference Manual
Packages
libgda-5.0
Gda
MetaStore
catalog
cnc
cnc_string
schema
error_quark
sql_identifier_quote
MetaStore
MetaStore.with_file
create_modify_data_model
declare_foreign_key
extract
get_attribute_value
get_internal_connection
get_version
modify_v
modify_with_context
schema_add_custom_object
schema_get_all_tables
schema_get_depend_tables
schema_get_structure
schema_remove_custom_object
set_attribute_value
set_identifiers_style
set_reserved_keywords_func
undeclare_foreign_key
meta_changed
meta_reset
suggest_update
MetaStore
Object Hierarchy:
Description:
public
class
MetaStore
:
Object
Namespace:
Gda
Package:
libgda-5.0
Content:
Properties:
public
string
catalog
{
construct
set
; }
public
Connection
cnc
{
construct
set
;
owned
get
; }
public
string
cnc_string
{
construct
set
; }
public
string
schema
{
construct
set
; }
Static methods:
public
static
Quark
error_quark
()
public
static
string
sql_identifier_quote
(
string
id,
Connection
cnc)
Creation methods:
public
MetaStore
(
string
? cnc_string)
public
MetaStore.with_file
(
string
file_name)
Methods:
public
DataModel
create_modify_data_model
(
string
table_name)
public
bool
declare_foreign_key
(
MetaStruct
? mstruct,
string
fk_name,
string
? catalog,
string
? schema,
string
table,
string
? ref_catalog,
string
? ref_schema,
string
ref_table,
string
[] colnames,
string
[] ref_colnames)
throws
Error
public
DataModel
extract
(
string
select_sql,
HashTable
<
string
,
Value
?>? vars)
throws
Error
public
bool
get_attribute_value
(
string
att_name,
out
string
att_value)
throws
Error
public
weak
Connection
get_internal_connection
()
public
int
get_version
()
public
bool
modify_v
(
string
table_name,
DataModel
? new_data,
string
? condition,
string
[] value_names,
Value
[] values)
throws
Error
public
bool
modify_with_context
(
MetaContext
context,
DataModel
? new_data)
throws
Error
public
bool
schema_add_custom_object
(
string
xml_description)
throws
Error
public
SList
<
unowned
string
>
schema_get_all_tables
()
public
SList
<
unowned
string
>
schema_get_depend_tables
(
string
table_name)
public
MetaStruct
schema_get_structure
()
throws
Error
public
bool
schema_remove_custom_object
(
string
obj_name)
throws
Error
public
bool
set_attribute_value
(
string
att_name,
string
? att_value)
throws
Error
public
void
set_identifiers_style
(
SqlIdentifierStyle
style)
public
void
set_reserved_keywords_func
(
SqlReservedKeywordsFunc
? func)
public
bool
undeclare_foreign_key
(
MetaStruct
? mstruct,
string
fk_name,
string
? catalog,
string
? schema,
string
table,
string
? ref_catalog,
string
? ref_schema,
string
ref_table)
throws
Error
Signals:
public
signal
void
meta_changed
(
SList
<
MetaStoreChange
> changes)
public
virtual
signal
void
meta_reset
()
public
virtual
signal
Error
suggest_update
(
MetaContext
suggest)
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count