Sqlite database, viewed as a collection of triples. More...
#include <yarp/serversql/impl/SqliteTripleSource.h>
Public Member Functions | |
SqliteTripleSource (sqlite3 *db) | |
std::string | condition (Triple &t, TripleContext *context) |
int | find (Triple &t, TripleContext *context) override |
void | remove_query (Triple &ti, TripleContext *context) override |
void | prune (TripleContext *context) override |
std::list< Triple > | query (Triple &ti, TripleContext *context) override |
std::string | expressContext (TripleContext *context) |
void | insert (Triple &t, TripleContext *context) override |
void | update (Triple &t, TripleContext *context) override |
void | begin (TripleContext *context) override |
void | end (TripleContext *context) override |
Public Member Functions inherited from yarp::serversql::impl::TripleSource | |
TripleSource () | |
virtual | ~TripleSource ()=default |
virtual void | reset () |
Sqlite database, viewed as a collection of triples.
These are the minimum functions needed by the name server to use a Sqlite database.
Definition at line 27 of file SqliteTripleSource.h.
SqliteTripleSource::SqliteTripleSource | ( | sqlite3 * | db | ) |
Definition at line 25 of file SqliteTripleSource.cpp.
|
overridevirtual |
Implements yarp::serversql::impl::TripleSource.
Definition at line 215 of file SqliteTripleSource.cpp.
std::string SqliteTripleSource::condition | ( | Triple & | t, |
TripleContext * | context | ||
) |
Definition at line 29 of file SqliteTripleSource.cpp.
|
overridevirtual |
Implements yarp::serversql::impl::TripleSource.
Definition at line 224 of file SqliteTripleSource.cpp.
std::string SqliteTripleSource::expressContext | ( | TripleContext * | context | ) |
Definition at line 156 of file SqliteTripleSource.cpp.
|
overridevirtual |
Implements yarp::serversql::impl::TripleSource.
Definition at line 71 of file SqliteTripleSource.cpp.
|
overridevirtual |
Implements yarp::serversql::impl::TripleSource.
Definition at line 166 of file SqliteTripleSource.cpp.
|
overridevirtual |
Implements yarp::serversql::impl::TripleSource.
Definition at line 108 of file SqliteTripleSource.cpp.
|
overridevirtual |
Implements yarp::serversql::impl::TripleSource.
Definition at line 120 of file SqliteTripleSource.cpp.
|
overridevirtual |
Implements yarp::serversql::impl::TripleSource.
Definition at line 96 of file SqliteTripleSource.cpp.
|
overridevirtual |
Implements yarp::serversql::impl::TripleSource.
Definition at line 185 of file SqliteTripleSource.cpp.