Gda.ServerProvider – libgda-5.0 Reference Manual
Packages
libgda-5.0
Gda
ServerProvider
error_quark
load_file_contents
ServerProvider
add_savepoint
begin_transaction
cancel
close_connection
commit_transaction
create_operation
create_parser
delete_savepoint
escape_string
find_file
get_data_handler_dbms
get_data_handler_default
get_data_handler_g_type
get_database
get_def_dbms_type
get_default_dbms_type
get_name
get_server_version
get_version
handle_async
handler_declare
handler_find
identifier_quote
internal_get_parser
is_busy
perform_operation
perform_operation_default
render_operation
rollback_savepoint
rollback_transaction
statement_prepare
string_to_value
supports_feature
supports_operation
unescape_string
value_to_sql_string
ServerProvider
Object Hierarchy:
Description:
public
abstract
class
ServerProvider
:
Object
Namespace:
Gda
Package:
libgda-5.0
Content:
Static methods:
public
static
Quark
error_quark
()
public
static
string
load_file_contents
(
string
inst_dir,
string
data_dir,
string
filename)
Creation methods:
protected
ServerProvider
()
Methods:
public
virtual
bool
add_savepoint
(
Connection
cnc,
string
name)
throws
Error
public
virtual
bool
begin_transaction
(
Connection
cnc,
string
name,
TransactionIsolation
level)
throws
Error
public
virtual
bool
cancel
(
Connection
cnc,
uint
task_id)
throws
Error
public
virtual
bool
close_connection
(
Connection
cnc)
public
virtual
bool
commit_transaction
(
Connection
cnc,
string
name)
throws
Error
public
virtual
ServerOperation
create_operation
(
Connection
? cnc,
ServerOperationType
type,
Set
? options)
throws
Error
public
virtual
SqlParser
create_parser
(
Connection
? cnc)
public
virtual
bool
delete_savepoint
(
Connection
cnc,
string
name)
throws
Error
public
virtual
string
escape_string
(
Connection
? cnc,
string
str)
public
string
find_file
(
string
inst_dir,
string
filename)
public
weak
DataHandler
get_data_handler_dbms
(
Connection
? cnc,
string
for_type)
public
weak
DataHandler
get_data_handler_default
(
Connection
? cnc,
Type
type,
string
dbms_type)
public
weak
DataHandler
get_data_handler_g_type
(
Connection
? cnc,
Type
for_type)
public
virtual
unowned
string
get_database
(
Connection
cnc)
public
virtual
unowned
string
get_def_dbms_type
(
Connection
cnc,
Type
g_type)
public
unowned
string
get_default_dbms_type
(
Connection
? cnc,
Type
type)
public
virtual
unowned
string
get_name
()
public
virtual
unowned
string
get_server_version
(
Connection
cnc)
public
virtual
unowned
string
get_version
()
public
virtual
bool
handle_async
(
Connection
cnc)
throws
Error
public
void
handler_declare
(
DataHandler
dh,
Connection
cnc,
Type
g_type,
string
dbms_type)
public
weak
DataHandler
handler_find
(
Connection
cnc,
Type
g_type,
string
dbms_type)
public
virtual
string
identifier_quote
(
Connection
cnc,
string
id,
bool
for_meta_store,
bool
force_quotes)
public
weak
SqlParser
internal_get_parser
()
public
virtual
bool
is_busy
(
Connection
cnc)
throws
Error
public
bool
perform_operation
(
Connection
? cnc,
ServerOperation
op)
throws
Error
public
bool
perform_operation_default
(
Connection
? cnc,
ServerOperation
op)
throws
Error
public
virtual
string
render_operation
(
Connection
? cnc,
ServerOperation
op)
throws
Error
public
virtual
bool
rollback_savepoint
(
Connection
cnc,
string
name)
throws
Error
public
virtual
bool
rollback_transaction
(
Connection
cnc,
string
name)
throws
Error
public
virtual
bool
statement_prepare
(
Connection
cnc,
Statement
stmt)
throws
Error
public
Value
string_to_value
(
Connection
? cnc,
string
string,
Type
preferred_type,
string
? dbms_type)
public
virtual
bool
supports_feature
(
Connection
? cnc,
ConnectionFeature
feature)
public
virtual
bool
supports_operation
(
Connection
? cnc,
ServerOperationType
type,
Set
? options)
public
virtual
string
unescape_string
(
Connection
? cnc,
string
str)
public
string
value_to_sql_string
(
Connection
? cnc,
Value
from)
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