Top | ![]() |
![]() |
![]() |
![]() |
rasqal_variable * | rasqal_new_variable_from_variable () |
void | rasqal_free_variable () |
int | rasqal_variable_print () |
void | rasqal_variable_set_value () |
A class to hold a variable with optional name and a rasqal_literal value. The name is not required for SPARQL anonymous variables.
rasqal_variable *
rasqal_new_variable_from_variable (rasqal_variable *v
);
void rasqal_variable_set_value (rasqal_variable *v
,rasqal_literal *l
);
typedef struct { rasqal_variables_table* vars_table; const char * name; rasqal_literal* value; int offset; rasqal_variable_type type; struct rasqal_expression_s* expression; void *user_data; int usage; } rasqal_variable;
Binding between a variable name and a value.
Includes internal field offset
for recording the offset into the
(internal) rasqal_query variables array.
rasqal_variables_table * |
variables table that owns this variable |
|
Variable name. |
||
rasqal_literal * |
Variable value or NULL if unbound. |
|
Internal. |
||
rasqal_variable_type |
Variable type. |
|
Expression when the variable is a computed SELECT expression |
||
Pointer to user data associated with a variable. This is not used by rasqal. |
||
reference count |