Dataquay Namespace Reference

Classes

class  BasicStore
 BasicStore is an 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
 Connection provides a connection interface to TransactionalStore, allowing it to be used in a convenient manner familiar to programmers working with SQL databases. More...
class  Node
 Node represents a single RDF node, with conversions to and from variant types. More...
class  PropertyObject
 PropertyObject is a helper class for managing RDF properties of an object URI -- that is, triples that share a common subject and possibly a common prefix for the predicate, and that have only one value for each subject-predicate combination. More...
class  CacheingPropertyObject
 CacheingPropertyObject is a helper class for managing RDF properties of an object URI -- that is, triples that share a common subject and possibly a common prefix for the predicate, and that have only one value for each subject-predicate combination. More...
class  RDFException
 RDFException is an exception that results from incorrect usage of the RDF store interface or unsuitable data provided to a function. More...
class  RDFInternalError
 RDFInternalError is an exception that results from an internal error in the RDF store. More...
class  RDFTransactionError
 RDFTransactionError is an exception that results from incorrect use of a Transaction, for example using a Transaction object after it has been committed. More...
class  RDFDuplicateImportException
 RDFDuplicateImportException is an exception that results 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
 Store is an abstract interface for Dataquay RDF data stores. More...
class  Transaction
 Transaction is an abstract interface for classes that read and write an RDF Store within the context of an atomic operation such as an editing command. More...
class  TransactionalStore
 TransactionalStore is an 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
 Triple represents an RDF statement made up of three Node objects. More...
class  Triples
 A list of RDF triples. More...
class  Uri
 Uri represents a single URI. More...
class  ContainerBuilder
 ContainerBuilder is a utility class which assists with storage of arbitrary container objects into variant objects and subsequently retrieving them into lists. More...
class  ObjectBuilder
 ObjectBuilder is a singleton object factory capable of constructing new objects of classes that are subclassed from QObject. More...
class  ObjectLoader
 ObjectLoader can create and refresh objects based on the types and relationships set out in a Store. More...
class  ObjectMapper
 ObjectMapper manages a set of objects, maintaining a consistent record of their state in a TransactionalStore by mapping changes in both directions between objects and store. More...
class  UnknownTypeException
 UnknownTypeException is an exception thrown by ObjectMapper classes when asked to load an object from an RDF entity whose type cannot be mapped to a C++ class type using the current TypeMapping. More...
class  ConstructionFailedException
 ConstructionFailedException is an exception that may be thrown by ObjectMapper classes if a class mapped from an RDF entity type could not be constructed. More...
class  NoUriException
 NoUriException is an exception thrown by ObjectMapper classes when asked to store a class that is expected to have been assigned a URI already, if its URI property is absent. More...
class  ObjectMapperForwarder
 ObjectMapperForwarder notifies ObjectMapper when a QObject is modified or destroyed. More...
class  ObjectStorer
 ObjectStorer is a storage handler capable of turning objects derived from QObject into RDF triples in a Store, such that under the right conditions the original objects can be recreated from the store by ObjectLoader. More...
class  TypeMapping
 TypeMapping describes a set of relationships between RDF entity and property URIs, and C++ class and QObject property names. More...

Typedefs

typedef QList< NodeNodes
 A list of node types.
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 QPair< ChangeType, TripleChange
 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.
typedef QList< UriUriList

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)
QDataStream & operator<< (QDataStream &out, const Uri &u)
QDataStream & operator>> (QDataStream &in, Uri &u)
std::ostream & operator<< (std::ostream &out, const Uri &u)
QTextStream & operator<< (QTextStream &out, const Uri &u)

Variables

static const Uri encodedVariantTypeURI ("http://breakfastquay.com/dataquay/datatype/encodedvariant")
static const Uri xsdPrefix ("http://www.w3.org/2001/XMLSchema#")
Transaction *const NoTransaction = 0
static Uri defaultTypePrefix ("http://breakfastquay.com/rdf/dataquay/objectmapper/type/")
static Uri defaultPropertyPrefix ("http://breakfastquay.com/rdf/dataquay/objectmapper/property/")
static Uri defaultRelationshipPrefix ("http://breakfastquay.com/rdf/dataquay/objectmapper/relationship/")

Typedef Documentation

typedef QList<Node> Dataquay::Nodes

A list of node types.

Definition at line 246 of file Node.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 48 of file Store.h.

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

Definition at line 51 of file Store.h.

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

Definition at line 56 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 59 of file Store.h.

typedef QList<Uri> Dataquay::UriList

Definition at line 136 of file Uri.h.


Enumeration Type Documentation

Enumerator:
AddTriple 
RemoveTriple 

Definition at line 53 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 
)
QDataStream & Dataquay::operator<< ( QDataStream &  out,
const Node &  n 
)
QDataStream & Dataquay::operator>> ( QDataStream &  in,
Node &  n 
)
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 
)
bool Dataquay::operator!= ( const Triple &  a,
const Triple &  b 
)
QDataStream & Dataquay::operator<< ( QDataStream &  out,
const Triple &  t 
)
QDataStream & Dataquay::operator>> ( QDataStream &  in,
Triple &  t 
)
std::ostream & Dataquay::operator<< ( std::ostream &  out,
const Triple &  t 
)
QTextStream & Dataquay::operator<< ( QTextStream &  out,
const Triple &  t 
)
QDataStream & Dataquay::operator<< ( QDataStream &  out,
const Uri &  u 
)
QDataStream & Dataquay::operator>> ( QDataStream &  in,
Uri &  u 
)
std::ostream & Dataquay::operator<< ( std::ostream &  out,
const Uri &  u 
)
QTextStream & Dataquay::operator<< ( QTextStream &  out,
const Uri &  u 
)

Variable Documentation

const Uri Dataquay::encodedVariantTypeURI("http://breakfastquay.com/dataquay/datatype/encodedvariant") [static]
const Uri Dataquay::xsdPrefix("http://www.w3.org/2001/XMLSchema#") [static]
Uri Dataquay::defaultTypePrefix("http://breakfastquay.com/rdf/dataquay/objectmapper/type/") [static]
Uri Dataquay::defaultPropertyPrefix("http://breakfastquay.com/rdf/dataquay/objectmapper/property/") [static]
Uri Dataquay::defaultRelationshipPrefix("http://breakfastquay.com/rdf/dataquay/objectmapper/relationship/") [static]
Generated on Thu May 17 22:54:21 2012 for Dataquay by  doxygen 1.6.3