Top | ![]() |
![]() |
![]() |
![]() |
GdaDictAggregateGdaDictAggregate — Represents an aggregate in the DBMS (like |
GObject * | gda_dict_aggregate_new () |
void | gda_dict_aggregate_set_dbms_id () |
gchar * | gda_dict_aggregate_get_dbms_id () |
void | gda_dict_aggregate_set_sqlname () |
const gchar * | gda_dict_aggregate_get_sqlname () |
void | gda_dict_aggregate_set_arg_dict_type () |
GdaDictType * | gda_dict_aggregate_get_arg_dict_type () |
void | gda_dict_aggregate_set_ret_dict_type () |
GdaDictType * | gda_dict_aggregate_get_ret_dict_type () |
Because aggregates can be polymorphic, the name is not enough to identify them, so the DBMS provides a unique id which can be used to uniquely identify an aggregate.
It implements the GdaXmlStorage interface.
GObject *
gda_dict_aggregate_new (GdaDict *dict
);
Creates a new GdaDictAggregate object which represents an aggregate in the dictionary
void gda_dict_aggregate_set_dbms_id (GdaDictAggregate *agg
,const gchar *id
);
Set the DBMS identifier of the aggregate
gchar *
gda_dict_aggregate_get_dbms_id (GdaDictAggregate *agg
);
Get the DBMS identifier of the aggregate
void gda_dict_aggregate_set_sqlname (GdaDictAggregate *agg
,const gchar *sqlname
);
Set the SQL name of the data type.
const gchar *
gda_dict_aggregate_get_sqlname (GdaDictAggregate *agg
);
Get the DBMS's name of a data type.
void gda_dict_aggregate_set_arg_dict_type (GdaDictAggregate *agg
,GdaDictType *dt
);
Set the argument type of a aggregate
agg |
a GdaDictAggregate object |
|
dt |
a GdaDictType objects or NULL value to represent the data type of the aggregate's unique argument . |
GdaDictType *
gda_dict_aggregate_get_arg_dict_type (GdaDictAggregate *agg
);
To consult the list of arguments types (and number) of a aggregate.
void gda_dict_aggregate_set_ret_dict_type (GdaDictAggregate *agg
,GdaDictType *dt
);
Set the return type of a aggregate
GdaDictType *
gda_dict_aggregate_get_ret_dict_type (GdaDictAggregate *agg
);
To consult the return type of a aggregate.