![]() |
![]() |
![]() |
Rasqal RDF Query Library Manual | ![]() |
---|---|---|---|---|
Top | Description |
typedef rasqal_variables_table; rasqal_variables_table* rasqal_new_variables_table (rasqal_world *world
); void rasqal_free_variables_table (rasqal_variables_table *vt
); rasqal_variable* rasqal_variables_table_add (rasqal_variables_table *vt
,rasqal_variable_type type
,unsigned char *name
,rasqal_literal *value
);
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.
typedef struct rasqal_variables_table_s rasqal_variables_table;
Internal - for now
rasqal_variables_table* rasqal_new_variables_table (rasqal_world *world
);
Constructor - create a new variables table
|
rasqal world |
Returns : |
new variables table or NULL On failure |
void rasqal_free_variables_table (rasqal_variables_table *vt
);
Destructor - destroy a new variables table
|
rasqal variables table |
rasqal_variable* rasqal_variables_table_add (rasqal_variables_table *vt
,rasqal_variable_type type
,unsigned char *name
,rasqal_literal *value
);
Constructor - Create a new variable and add it to the variables table
The name
and value
become owned by the rasqal_variable structure
|
rasqal_variables_table to associate the variable with |
|
variable type defined by enumeration rasqal_variable_type |
|
variable name |
|
variable rasqal_literal value (or NULL) |
Returns : |
a new rasqal_variable or NULL on failure. |