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