Dataquay Namespace Reference


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< NodeNodes
 A list of node types.
typedef QList< TripleTriples
 A list of RDF triples.
typedef QHash< QString, NodeDictionary
 A mapping from key to node, used to list results for a set of result keys.
typedef QList< DictionaryResultSet
 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< ChangeChangeSet
 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 Documentation

typedef QList<Node> Dataquay::Nodes

A list of node types.

Definition at line 138 of file Node.h.

typedef QList<Triple> Dataquay::Triples

A list of RDF triples.

Definition at line 46 of file Store.h.

typedef QHash<QString, Node> Dataquay::Dictionary

A mapping from key to node, used to list results for a set of result keys.

Definition at line 49 of file Store.h.

A list of Dictionary types, used to contain a sequence of query results.

Definition at line 52 of file Store.h.

typedef std::pair<ChangeType, Triple> Dataquay::Change

An add or remove operation specified by add/remove token and triple.

Definition at line 57 of file Store.h.

typedef QList<Change> Dataquay::ChangeSet

A sequence of add/remove operations such as may be enacted by a transaction.

Definition at line 60 of file Store.h.


Enumeration Type Documentation

Enumerator:
AddTriple 
RemoveTriple 

Definition at line 54 of file Store.h.


Function Documentation

template<typename T >
QDebug& Dataquay::operator<< ( QDebug &  d,
const T &  t 
) [inline]

Definition at line 48 of file Debug.h.

bool Dataquay::operator== ( const Node &  a,
const Node &  b 
)

bool Dataquay::operator!= ( const Node &  a,
const Node &  b 
)

Definition at line 143 of file Node.cpp.

References operator==().

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 
)

QTextStream & Dataquay::operator<< ( QTextStream &  out,
const Node &  n 
)

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 
)

Definition at line 52 of file Triple.cpp.

References operator==().

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.


Variable Documentation

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().

Definition at line 39 of file Transaction.cpp.

Referenced by Dataquay::PropertyObject::getStore().


Generated on Thu Sep 24 23:19:48 2009 for Dataquay by  doxygen 1.5.7.1