Abstract view of a database as a collection of triples. More...
#include <yarp/serversql/impl/TripleSource.h>
Public Member Functions | |
TripleSource () | |
virtual | ~TripleSource ()=default |
virtual void | reset () |
virtual int | find (Triple &t, TripleContext *context)=0 |
virtual void | prune (TripleContext *context)=0 |
virtual std::list< Triple > | query (Triple &ti, TripleContext *context)=0 |
virtual void | remove_query (Triple &ti, TripleContext *context)=0 |
virtual void | insert (Triple &t, TripleContext *context)=0 |
virtual void | update (Triple &t, TripleContext *context)=0 |
virtual void | begin (TripleContext *context)=0 |
virtual void | end (TripleContext *context)=0 |
Abstract view of a database as a collection of triples.
These are the minimum functions that need to be implemented in order for the name server to use a particular kind of database.
Definition at line 43 of file TripleSource.h.
|
inline |
Definition at line 46 of file TripleSource.h.
|
virtualdefault |
|
pure virtual |
Implemented in yarp::serversql::impl::SqliteTripleSource.
|
pure virtual |
Implemented in yarp::serversql::impl::SqliteTripleSource.
|
pure virtual |
Implemented in yarp::serversql::impl::SqliteTripleSource.
|
pure virtual |
Implemented in yarp::serversql::impl::SqliteTripleSource.
|
pure virtual |
Implemented in yarp::serversql::impl::SqliteTripleSource.
|
pure virtual |
Implemented in yarp::serversql::impl::SqliteTripleSource.
|
pure virtual |
Implemented in yarp::serversql::impl::SqliteTripleSource.
|
inlinevirtual |
Definition at line 53 of file TripleSource.h.
|
pure virtual |
Implemented in yarp::serversql::impl::SqliteTripleSource.