DataSelect
Object Hierarchy:
Gda.DataSelect
Gda.DataSelect
Gda.DataSelect
GLib.Object
GLib.Object
GLib.Object->Gda.DataSelect
Gda.DataModel
Gda.DataModel
Gda.DataModel->Gda.DataSelect
Description:
[
CCode ( type_id =
"gda_data_select_get_type ()" ) ]
public abstract class DataSelect :
Object ,
DataModel
Content:
Properties:
Static methods:
Creation methods:
Methods:
public bool compute_columns_attributes () throws Error
Computes correct attributes for each of
this 's columns, which includes the "NOT NULL" attribute, the default value, the precision and scale for numeric values.
public bool compute_modification_statements () throws Error
Makes this try to compute INSERT,
UPDATE and DELETE statements to be used when modifying this 's contents.
public bool compute_modification_statements_ext (DataSelectConditionType cond_type) throws Error
Makes this try to compute INSERT,
UPDATE and DELETE statements to be used when modifying this 's contents.
public bool compute_row_selection_condition () throws Error
Offers the same features as
gda_data_select_set_row_selection_condition
but the expression is computed from the meta data associated to the connection
being used when this was created.
public virtual bool fetch_at (Row prow, int rownum) throws Error
public virtual int fetch_nb_rows ()
public virtual bool fetch_next (Row prow, int rownum) throws Error
public virtual bool fetch_prev (Row prow, int rownum) throws Error
public virtual bool fetch_random (Row prow, int rownum) throws Error
public unowned Connection get_connection ()
Get a pointer to the
Connection object which was used when this was created (and which may be used internally by
this ).
public bool prepare_for_offline () throws Error
Use this method to make sure all the data contained in the data model
are stored on the client side (and that no subsquent call to the server will be necessary to access that data), at the cost of a
higher memory consumption.
public bool rerun () throws Error
Requests that this be re-run to have
an updated result.
public bool set_modification_statement (Statement mod_stmt) throws Error
Informs this that it should allow
modifications to the data in some columns and some rows using mod_stmt
to propagate those modifications into the
database.
public bool set_modification_statement_sql (string sql) throws Error
public bool set_row_selection_condition_sql (string sql_where) throws Error
Specifies the SQL condition corresponding to the WHERE part of a
SELECT statement which would return only 1 row (the expression of the primary key).
public virtual bool store_all () throws Error
Fields:
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
All known members inherited from interface Gda.DataModel