DataHandler
Object Hierarchy:
Description:
[
CCode ( type_cname =
"GdaDataHandlerInterface" , type_id =
"gda_data_handler_get_type ()" ) ]
public interface DataHandler :
Object
All known implementing classes:
Content:
Static methods:
- public static DataHandler get_default (Type for_type)
Obtain a pointer to a DataHandler which can
manage Value values of type for_type
.
Methods:
- public abstract bool accepts_g_type (Type type)
Checks wether the GdaDataHandler is able to handle the gda type given as
argument.
- public abstract unowned string get_descr ()
Get a short description of the GdaDataHandler
- public abstract Value? get_sane_init_value (Type type)
Creates a new GValue which holds a sane initial value to be used if no value
is specifically provided.
- public abstract string get_sql_from_value (Value? value)
Creates a new string which is an SQL representation of the given value, the
returned string can be used directly in an SQL statement.
- public abstract string get_str_from_value (Value? value)
Creates a new string which is a "user friendly" representation of the given
value (in the user's locale, specially for the dates).
- public abstract Value? get_value_from_sql (string? sql, Type type)
Creates a new GValue which represents the SQL value given as argument.
- public abstract Value? get_value_from_str (string? str, Type type)
Creates a new GValue which represents the str
value given as
argument.
Inherited Members:
All known members inherited from class GLib.Object