The result of a SPARQL SELECT query. More...
#include <rdf_query.hpp>
Public Member Functions | |
const std::vector< std::string > & | getBindingNames () const |
Return the binding names (variable names) contained in the result. | |
void | loadFrom (std::istream &is) |
Load query result data represented in the XML SPARQL protocol syntax into the query result given as argument. More... | |
void | loadFrom (const char *ptr, size_t len) |
Load query result data represented in the XML SPARQL protocol syntax into the query result given as argument. More... | |
std::vector< BindingSet >::iterator | begin () |
std::vector< BindingSet >::iterator | end () |
size_t | size () const |
BindingSet & | at (size_t i) |
const BindingSet & | at (size_t i) const |
BindingSet & | operator[] (size_t i) |
const BindingSet & | operator[] (size_t i) const |
Friends | |
std::istream & | operator>> (std::istream &is, TupleResult &r) |
Load query result data represented in the XML SPARQL protocol syntax into the query result given as argument. More... | |
std::ostream & | operator<< (std::ostream &is, TupleResult &r) |
Serialize query result data from the given argument into XML SPARQL protocol syntax. | |
The result of a SPARQL SELECT query.
Implemented as a vector of BindingSet instances, each representing one row in the result.
|
virtual |
Load query result data represented in the XML SPARQL protocol syntax into the query result given as argument.
http://www.w3.org/TR/rdf-sparql-XMLres/
Implements mico::rdf::query::QueryResult.
|
virtual |
Load query result data represented in the XML SPARQL protocol syntax into the query result given as argument.
http://www.w3.org/TR/rdf-sparql-XMLres/
Implements mico::rdf::query::QueryResult.
|
friend |
Load query result data represented in the XML SPARQL protocol syntax into the query result given as argument.