| Top |
A table of rasqal_variable usually associated with a rasqal_query query or rasqal_query_results query result set. The order of the variables in the table may be significant, such as for a standalone query result set in which case it might define the order of variables in resulting rows.
rasqal_variables_table *
rasqal_new_variables_table (rasqal_world *world);
rasqal_variable * rasqal_variables_table_add (rasqal_variables_table *vt,rasqal_variable_type type,const char *name,rasqal_literal *value);
rasqal_variables_table_add is deprecated and should not be used in newly-written code.
rasqal_variable * rasqal_variables_table_add2 (rasqal_variables_table *vt,rasqal_variable_type type,const char *name,size_t name_len,rasqal_literal *value);
int rasqal_variables_table_add_variable (rasqal_variables_table *vt,rasqal_variable *variable);
rasqal_variable * rasqal_variables_table_get_by_name (rasqal_variables_table *vt,rasqal_variable_type type,const char *name);
int rasqal_variables_table_contains (rasqal_variables_table *vt,rasqal_variable_type type,const char *name);