Specialised support for persistence service metadata. More...
#include <PersistenceService.hpp>
Protected Member Functions | |
| PersistenceMetadata (std::string baseUrl) | |
Friends | |
| class | PersistenceService |
Additional Inherited Members | |
Public Member Functions inherited from mico::persistence::Metadata | |
| Metadata (std::string baseUrl) | |
| Create a new metadata object for the given server using the global SPARQL endpoint. More... | |
| Metadata (std::string baseUrl, std::string context) | |
| Create a new metadata object for the given server base URL and context using the contextual SPARQL endpoint. More... | |
| void | load (std::istream &in, const std::string format) |
| Load RDF data of the given format into the metadata dataset. More... | |
| void | dump (std::ostream &out, const std::string format) |
| Dump the RDF data contained in the metadata dataset into the given output stream using the given serialization format. More... | |
| void | update (const std::string sparqlUpdate) |
| Execute a SPARQL update query on the metadata (see http://www.w3.org/TR/sparql11-update/). More... | |
| const mico::rdf::query::TupleResult * | query (const std::string sparqlQuery) |
| Execute a SPARQL SELECT query on the metadata (see http://www.w3.org/TR/sparql11-query/). More... | |
| const bool | ask (const std::string sparqlQuery) |
| Execute a SPARQL ASK query on the metadata (see http://www.w3.org/TR/sparql11-query/). More... | |
| void | close () |
| Close the metadata connection and clean up any open resources. | |
Protected Attributes inherited from mico::persistence::Metadata | |
| std::string | baseUrl |
| the base URL of the server | |
| std::string | contextUrl |
| the URI of the context to use as named graph | |
| mico::rdf::query::SPARQLClient | sparqlClient |
| an instance of a SPARQL client, will be initialised to baseUrl + "/sparql" | |
| mico::http::HTTPClient | httpClient |
| an instance of an HTTP client, will be used for load/dump More... | |
Specialised support for persistence service metadata.
Might in the future be extended with additional methods for simplified use of certain vocabularies.
1.8.8