|
| SPARQLBackend (SPARQLFlags flags) |
|
virtual bool | sparql (std::string_view queryString, const BindingsHandler &callback) const =0 |
|
bool | query (const SPARQLQuery &query, const BindingsHandler &callback) const |
|
void | query (const GraphQueryPtr &query, const BindingsHandler &callback) override |
|
void | count (const ResourceCounter &callback) const override |
|
| SPARQLBackend (SPARQLFlags flags) |
|
virtual bool | sparql (std::string_view queryString, const BindingsHandler &callback) const =0 |
|
bool | query (const SPARQLQuery &query, const BindingsHandler &callback) const |
|
void | query (const GraphQueryPtr &query, const BindingsHandler &callback) override |
|
void | count (const ResourceCounter &callback) const override |
|
| QueryableStorage (StorageFeatures features=StorageFeature::NothingSpecial) |
|
| ~QueryableStorage () override=default |
|
virtual bool | isPersistent () const =0 |
|
virtual void | foreach (const TripleVisitor &visitor) const |
|
virtual void | batch (const TripleHandler &callback) const =0 |
|
virtual void | batchOrigin (std::string_view origin, const TripleHandler &callback)=0 |
|
virtual bool | contains (const Triple &triple) |
|
virtual void | match (const TriplePattern &query, const TripleVisitor &visitor) |
|
std::vector< VersionedOriginPtr > | getOrigins () |
|
std::optional< std::string > | getVersionOfOrigin (std::string_view origin) |
|
void | setVersionOfOrigin (std::string_view origin, std::string_view version) |
|
void | dropSessionOrigins () |
|
GraphQueryExpansionPtr | expand (const GraphQueryPtr &q) |
|
| QueryableStorage (StorageFeatures features=StorageFeature::NothingSpecial) |
|
| ~QueryableStorage () override=default |
|
virtual bool | isPersistent () const =0 |
|
virtual void | foreach (const TripleVisitor &visitor) const |
|
virtual void | batch (const TripleHandler &callback) const =0 |
|
virtual void | batchOrigin (std::string_view origin, const TripleHandler &callback)=0 |
|
virtual bool | contains (const Triple &triple) |
|
virtual void | match (const TriplePattern &query, const TripleVisitor &visitor) |
|
std::vector< VersionedOriginPtr > | getOrigins () |
|
std::optional< std::string > | getVersionOfOrigin (std::string_view origin) |
|
void | setVersionOfOrigin (std::string_view origin, std::string_view version) |
|
void | dropSessionOrigins () |
|
GraphQueryExpansionPtr | expand (const GraphQueryPtr &q) |
|
| Storage (StorageFeatures features=StorageFeature::NothingSpecial) |
|
virtual | ~Storage ()=default |
|
PluginLanguage | storageLanguage () const |
|
const auto & | vocabulary () const |
|
void | setVocabulary (std::shared_ptr< Vocabulary > vocabulary) |
|
bool | supports (StorageFeature feature) const |
|
virtual bool | insertOne (const Triple &triple)=0 |
|
virtual bool | insertAll (const TripleContainerPtr &triples)=0 |
|
virtual bool | removeOne (const Triple &triple)=0 |
|
virtual bool | removeAll (const TripleContainerPtr &triples)=0 |
|
virtual bool | removeAllWithOrigin (std::string_view origin)=0 |
|
virtual bool | initializeBackend (const PropertyTree &config)=0 |
|
std::optional< std::string > | getVersionOfOrigin (std::string_view origin) const |
|
void | setVersionOfOrigin (std::string_view origin, std::optional< std::string_view > version) |
|
| Storage (StorageFeatures features=StorageFeature::NothingSpecial) |
|
virtual | ~Storage ()=default |
|
PluginLanguage | storageLanguage () const |
|
const auto & | vocabulary () const |
|
void | setVocabulary (std::shared_ptr< Vocabulary > vocabulary) |
|
bool | supports (StorageFeature feature) const |
|
virtual bool | insertOne (const Triple &triple)=0 |
|
virtual bool | insertAll (const TripleContainerPtr &triples)=0 |
|
virtual bool | removeOne (const Triple &triple)=0 |
|
virtual bool | removeAll (const TripleContainerPtr &triples)=0 |
|
virtual bool | removeAllWithOrigin (std::string_view origin)=0 |
|
virtual bool | initializeBackend (const PropertyTree &config)=0 |
|
std::optional< std::string > | getVersionOfOrigin (std::string_view origin) const |
|
void | setVersionOfOrigin (std::string_view origin, std::optional< std::string_view > version) |
|
Public Member Functions inherited from knowrob::DataSourceHandler |
| DataSourceHandler ()=default |
|
virtual | ~DataSourceHandler ()=default |
|
void | addDataHandler (const std::string &format, const DataSourceLoader &fn) |
|
bool | loadDataSource (const DataSourcePtr &dataSource) |
|
bool | hasDataHandler (const DataSourcePtr &dataSource) const |
|
| DataSourceHandler ()=default |
|
virtual | ~DataSourceHandler ()=default |
|
void | addDataHandler (const std::string &format, const DataSourceLoader &fn) |
|
bool | loadDataSource (const DataSourcePtr &dataSource) |
|
bool | hasDataHandler (const DataSourcePtr &dataSource) const |
|
A backend that implements querying via SPARQL.
Definition at line 16 of file SPARQLBackend.h.