22#ifndef _SOPRANO_ASYNC_MODEL_H_
23#define _SOPRANO_ASYNC_MODEL_H_
34 class StatementIterator;
37 class QueryResultIterator;
41 class AsyncModelPrivate;
369 AsyncModelPrivate*
const d;
371 Q_PRIVATE_SLOT( d,
void _s_executeNextCommand() )
A FilterModel is a virtual model that wraps another Model.
virtual Error::ErrorCode addStatement(const Statement &statement)
virtual bool containsStatement(const Statement &statement) const
StatementIterator listStatements() const
Error::ErrorCode removeAllStatements()
virtual bool containsAnyStatement(const Statement &statement) const
virtual Error::ErrorCode removeStatement(const Statement &statement)
A Model is the central class in Soprano. It is a queryable collection of RDF quadruples,...
An iterator that provides a stream of Nodes.
A Node represents one RDF resource.
An iterator for query results.
An iterator that provides a stream of Statements.
A Statement instance represents one RDF quadruple.
Filter model that allows to perform operations asyncroneously.
AsyncResult * statementCountAsync() const
AsyncResult * removeStatementAsync(const Statement &statement)
AsyncResult * removeStatementAsync(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node())
AsyncResult * addStatementAsync(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node())
AsyncResult * createBlankNodeAsync()
StatementIterator listStatements(const Statement &partial) const
AsyncResult * removeStatementsAsync(const QList< Statement > &statements)
AsyncResult * containsStatementAsync(const Statement &statement) const
AsyncResult * containsAnyStatementAsync(const Statement &statement) const
void setMode(AsyncModelMode mode)
NodeIterator listContexts() const
AsyncModel(Model *parent=0)
AsyncResult * containsStatementAsync(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const
AsyncModelMode mode() const
AsyncResult * containsAnyStatementAsync(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const
AsyncResult * removeAllStatementsAsync(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node())
AsyncResult * removeAllStatementsAsync(const Statement &statement)
AsyncResult * listStatementsAsync(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const
AsyncResult * listStatementsAsync() const
AsyncResult * listStatementsAsync(const Statement &statement) const
AsyncResult * addStatementAsync(const Statement &statement)
AsyncResult * isEmptyAsync() const
AsyncResult * listContextsAsync() const
QueryResultIterator executeQuery(const QString &query, Query::QueryLanguage language, const QString &userQueryLanguage=QString()) const
AsyncResult * executeQueryAsync(const QString &query, Query::QueryLanguage language, const QString &userQueryLanguage=QString()) const
AsyncResult * addStatementsAsync(const QList< Statement > &statements)
A delayed result as returned by AsyncModel.
SOPRANO_EXPORT QUrl predicate()
SOPRANO_EXPORT QUrl subject()
SOPRANO_EXPORT QUrl Statement()
SOPRANO_EXPORT QUrl context()
SOPRANO_EXPORT QUrl language()