Classes | |
| class | BasicStore |
| In-memory RDF data store implementing the Store interface, providing add, remove, matching and query operations for RDF triples and SPARQL, as well as export and import. More... | |
| class | Connection |
| Provides a connection interface to a transactional store, in a manner intended to be familiar to users of SQL database connection interfaces. More... | |
| class | Node |
| A single RDF node, with conversions to and from variant types. More... | |
| class | PropertyObject |
| Helper class for managing properties of an object URI -- that is, triples that share a common subject and possibly a common prefix for the predicate, and that are unique (having a one-to-one relationship between (subject,predicate) and object). More... | |
| class | CacheingPropertyObject |
| Helper class for managing properties of an object URI -- that is, triples that share a common subject and possibly a common prefix for the predicate -- with a demand-populated cache. More... | |
| class | RDFException |
| Exception resulting from an error specific to the RDF datastore. More... | |
| class | RDFDuplicateImportException |
| Exception resulting from an import into a store from an RDF document in ImportFailOnDuplicates mode, where the document contains a triple that already exists in the store. More... | |
| class | Store |
| Abstract interface for Dataquay RDF data stores. More... | |
| class | Transaction |
| Interface for reading and writing an RDF Store within the context of an atomic operation such as an editing command. More... | |
| class | TransactionalStore |
| RDF data store implementing the Store interface, providing transaction support as a wrapper around a non-transactional store such as a BasicStore. More... | |
| class | Triple |
| A triple made up of three Node objects. More... | |
Typedefs | |
| typedef QList< Node > | Nodes |
| A list of node types. | |
| typedef QList< Triple > | Triples |
| A list of RDF triples. | |
| typedef QHash< QString, Node > | Dictionary |
| A mapping from key to node, used to list results for a set of result keys. | |
| typedef QList< Dictionary > | ResultSet |
| A list of Dictionary types, used to contain a sequence of query results. | |
| typedef std::pair< ChangeType, Triple > | Change |
| An add or remove operation specified by add/remove token and triple. | |
| typedef QList< Change > | ChangeSet |
| A sequence of add/remove operations such as may be enacted by a transaction. | |
Enumerations | |
| enum | ChangeType { AddTriple, RemoveTriple } |
Functions | |
| template<typename T > | |
| QDebug & | operator<< (QDebug &d, const T &t) |
| bool | operator== (const Node &a, const Node &b) |
| bool | operator!= (const Node &a, const Node &b) |
| QDataStream & | operator<< (QDataStream &out, const Node &n) |
| QDataStream & | operator>> (QDataStream &in, Node &n) |
| std::ostream & | operator<< (std::ostream &out, const Node &n) |
| QTextStream & | operator<< (QTextStream &out, const Node &n) |
| bool | operator== (const Triple &a, const Triple &b) |
| bool | operator!= (const Triple &a, const Triple &b) |
| QDataStream & | operator<< (QDataStream &out, const Triple &t) |
| QDataStream & | operator>> (QDataStream &in, Triple &t) |
| std::ostream & | operator<< (std::ostream &out, const Triple &t) |
| QTextStream & | operator<< (QTextStream &out, const Triple &t) |
Variables | |
| static const QString | encodedVariantTypeURI = "http://breakfastquay.com/dataquay/datatype/encodedvariant" |
| Transaction *const | NoTransaction = 0 |
| typedef QList<Node> Dataquay::Nodes |
| typedef QList<Triple> Dataquay::Triples |
| typedef QHash<QString, Node> Dataquay::Dictionary |
| typedef QList<Dictionary> Dataquay::ResultSet |
| typedef std::pair<ChangeType, Triple> Dataquay::Change |
| typedef QList<Change> Dataquay::ChangeSet |
| enum Dataquay::ChangeType |
| QDebug& Dataquay::operator<< | ( | QDebug & | d, | |
| const T & | t | |||
| ) | [inline] |
| bool Dataquay::operator== | ( | const Node & | a, | |
| const Node & | b | |||
| ) |
Definition at line 132 of file Node.cpp.
References Dataquay::Node::datatype, Dataquay::Node::Nothing, Dataquay::Node::type, and Dataquay::Node::value.
Referenced by operator!=().
| bool Dataquay::operator!= | ( | const Node & | a, | |
| const Node & | b | |||
| ) |
| QDataStream & Dataquay::operator<< | ( | QDataStream & | out, | |
| const Node & | n | |||
| ) |
Definition at line 149 of file Node.cpp.
References Dataquay::Node::datatype, Dataquay::Node::type, and Dataquay::Node::value.
| QDataStream & Dataquay::operator>> | ( | QDataStream & | in, | |
| Node & | n | |||
| ) |
Definition at line 155 of file Node.cpp.
References Dataquay::Node::datatype, Dataquay::Node::type, and Dataquay::Node::value.
| std::ostream & Dataquay::operator<< | ( | std::ostream & | out, | |
| const Node & | n | |||
| ) |
Definition at line 164 of file Node.cpp.
References Dataquay::Node::Blank, Dataquay::Node::datatype, Dataquay::Node::Literal, Dataquay::Node::Nothing, Dataquay::Node::type, Dataquay::Node::URI, and Dataquay::Node::value.
| QTextStream & Dataquay::operator<< | ( | QTextStream & | out, | |
| const Node & | n | |||
| ) |
Definition at line 193 of file Node.cpp.
References Dataquay::Node::Blank, Dataquay::Node::datatype, Dataquay::Node::Literal, Dataquay::Node::Nothing, Dataquay::Node::type, Dataquay::Node::URI, and Dataquay::Node::value.
| bool Dataquay::operator== | ( | const Triple & | a, | |
| const Triple & | b | |||
| ) |
Definition at line 43 of file Triple.cpp.
References Dataquay::Triple::a, Dataquay::Triple::b, and Dataquay::Triple::c.
| bool Dataquay::operator!= | ( | const Triple & | a, | |
| const Triple & | b | |||
| ) |
| QDataStream & Dataquay::operator<< | ( | QDataStream & | out, | |
| const Triple & | t | |||
| ) |
Definition at line 58 of file Triple.cpp.
References Dataquay::Triple::a, Dataquay::Triple::b, and Dataquay::Triple::c.
| QDataStream & Dataquay::operator>> | ( | QDataStream & | in, | |
| Triple & | t | |||
| ) |
Definition at line 64 of file Triple.cpp.
References Dataquay::Triple::a, Dataquay::Triple::b, and Dataquay::Triple::c.
| std::ostream & Dataquay::operator<< | ( | std::ostream & | out, | |
| const Triple & | t | |||
| ) |
Definition at line 70 of file Triple.cpp.
References Dataquay::Triple::a, Dataquay::Triple::b, and Dataquay::Triple::c.
| QTextStream & Dataquay::operator<< | ( | QTextStream & | out, | |
| const Triple & | t | |||
| ) |
Definition at line 76 of file Triple.cpp.
References Dataquay::Triple::a, Dataquay::Triple::b, and Dataquay::Triple::c.
const QString Dataquay::encodedVariantTypeURI = "http://breakfastquay.com/dataquay/datatype/encodedvariant" [static] |
Definition at line 46 of file Node.cpp.
Referenced by Dataquay::Node::fromVariant(), and Dataquay::Node::toVariant().
| Transaction *const Dataquay::NoTransaction = 0 |
1.5.7.1