Rasqal RDF Query Library Manual | ||||
---|---|---|---|---|
Top | Description |
Query Result RowQuery Result Row — Result row in a query result set containing a set of literals that are bound to variables. |
typedef rasqal_row; rasqal_row * rasqal_new_row_for_size (rasqal_world *world
,int size
); void rasqal_free_row (rasqal_row *row
); int rasqal_row_set_value_at (rasqal_row *row
,int offset
,rasqal_literal *value
);
An ordered row of rasqal_literal values that are each bound to rasqal_variable defined in an associated rasqal_variables table inside a rasqal_query_results query result set.
rasqal_row * rasqal_new_row_for_size (rasqal_world *world
,int size
);
Constructor - Create a new query result row of a given size
|
rasqal_world |
|
width of row |
Returns : |
a new query result row or NULL on failure |
void rasqal_free_row (rasqal_row *row
);
Destructor - Free a query result row object.
|
query result row |
int rasqal_row_set_value_at (rasqal_row *row
,int offset
,rasqal_literal *value
);
Set the value of a variable in a query result row
Any existing row value is freed and the literal value
passed in
is copied.
|
query result row |
|
offset into row (column number) |
|
literal value to set |
Returns : |
non-0 on failure |