knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <Transaction.h>
Public Member Functions | |
Insert (const std::shared_ptr< QueryableStorage > &queryable, const std::shared_ptr< Vocabulary > &vocabulary) | |
Insert (const std::shared_ptr< QueryableStorage > &queryable, const std::shared_ptr< Vocabulary > &vocabulary) | |
Public Member Functions inherited from knowrob::transaction::Transaction | |
Transaction (const std::shared_ptr< QueryableStorage > &queryable, const std::shared_ptr< Vocabulary > &vocabulary, bool isRemoval) | |
virtual | ~Transaction ()=default |
void | addBackend (const std::shared_ptr< NamedBackend > &backend) |
bool | commit (const Triple &triple) |
bool | commit (const Triple &triple, const IRIAtomPtr &reifiedName) |
bool | commit (const TripleContainerPtr &triples) |
bool | commit (const TripleContainerPtr &triples, const ReifiedNames &reifiedNames) |
Transaction (const std::shared_ptr< QueryableStorage > &queryable, const std::shared_ptr< Vocabulary > &vocabulary, bool isRemoval) | |
virtual | ~Transaction ()=default |
void | addBackend (const std::shared_ptr< NamedBackend > &backend) |
bool | commit (const Triple &triple) |
bool | commit (const Triple &triple, const IRIAtomPtr &reifiedName) |
bool | commit (const TripleContainerPtr &triples) |
bool | commit (const TripleContainerPtr &triples, const ReifiedNames &reifiedNames) |
Protected Member Functions | |
bool | doCommit (const Triple &triple, const StoragePtr &backend) override |
bool | doCommit (const TripleContainerPtr &triples, const StoragePtr &backend) override |
void | updateVocabulary (const Triple &triple) override |
bool | doCommit (const Triple &triple, const StoragePtr &backend) override |
bool | doCommit (const TripleContainerPtr &triples, const StoragePtr &backend) override |
void | updateVocabulary (const Triple &triple) override |
Protected Member Functions inherited from knowrob::transaction::Transaction | |
bool | commitProtected (const TripleContainerPtr &triple, const StoragePtr &backend) |
IRIAtomPtr | queryReifiedName (const Triple &triple) |
bool | commitProtected (const TripleContainerPtr &triple, const StoragePtr &backend) |
IRIAtomPtr | queryReifiedName (const Triple &triple) |
Additional Inherited Members | |
Static Protected Member Functions inherited from knowrob::transaction::Transaction | |
static std::shared_ptr< ThreadPool::Runner > | createTripleWorker (const TripleContainerPtr &triples, const std::function< void(const TriplePtr &)> &fn) |
static std::shared_ptr< ThreadPool::Runner > | createTripleWorker (const TripleContainerPtr &triples, const std::function< void(const TriplePtr &)> &fn) |
Protected Attributes inherited from knowrob::transaction::Transaction | |
std::shared_ptr< Vocabulary > | vocabulary_ |
std::shared_ptr< QueryableStorage > | queryable_ |
std::vector< std::shared_ptr< NamedBackend > > | backends_ |
bool | isRemoval_ |
A data insertion transaction.
Definition at line 94 of file Transaction.h.
|
inline |
Definition at line 96 of file Transaction.h.
|
inline |
Definition at line 96 of file Transaction.h.
|
overrideprotectedvirtual |
Implements knowrob::transaction::Transaction.
Definition at line 185 of file Transaction.cpp.
|
overrideprotectedvirtual |
Implements knowrob::transaction::Transaction.
|
overrideprotectedvirtual |
Implements knowrob::transaction::Transaction.
Definition at line 193 of file Transaction.cpp.
|
overrideprotectedvirtual |
Implements knowrob::transaction::Transaction.
|
overrideprotectedvirtual |
Implements knowrob::transaction::Transaction.
Definition at line 201 of file Transaction.cpp.
|
overrideprotectedvirtual |
Implements knowrob::transaction::Transaction.