Go to the documentation of this file.
22 #ifndef _SOPRANO_INDEX_MODEL_FILTER_H_
23 #define _SOPRANO_INDEX_MODEL_FILTER_H_
48 class IndexFilterModelPrivate;
336 IndexFilterModelPrivate*
const d;
void setForceIndexPredicates(const QList< QUrl > &predicates)
void addIndexOnlyPredicate(const QUrl &predicate)
void setTransactionCacheSize(int size)
IndexFilterModel(const QString &indexDir, Soprano::Model *model=0)
static QString encodeStringForLuceneQuery(const QString &value)
SOPRANO_EXPORT QUrl predicate()
virtual Error::ErrorCode addStatement(const Statement &statement)=0
IndexFilterModel(CLuceneIndex *index, Soprano::Model *model=0)
A FilterModel is a virtual model that wraps another Model.
SOPRANO_EXPORT QUrl size()
SOPRANO_EXPORT QUrl value()
A Statement instance represents one RDF quadruple.
CLuceneIndex * index() const
An iterator for query results.
#define SOPRANO_INDEX_EXPORT
The CLuceneIndex provides a wrapper around a CLucene index which stores RDF statements.
Soprano::Error::ErrorCode removeStatement(const Soprano::Statement &statement)
QList< QUrl > forceIndexPredicates() const
virtual Error::ErrorCode removeStatement(const Statement &statement)=0
int transactionCacheSize() const
A Model is the central class in Soprano. It is a queryable collection of RDF quadruples,...
Soprano::Error::ErrorCode removeAllStatements(const Soprano::Statement &statement)
The IndexFilterModel provides a full text index around any Soprano Model.
QList< QUrl > indexOnlyPredicates() const
QueryResultIterator executeQuery(const QString &query, Query::QueryLanguage language, const QString &userQueryLanguage=QString()) const
void addForceIndexPredicate(const QUrl &predicate)
void setIndexOnlyPredicates(const QList< QUrl > &predicates)
virtual Error::ErrorCode removeAllStatements(const Statement &statement)=0
Soprano::Error::ErrorCode addStatement(const Soprano::Statement &statement)
SOPRANO_EXPORT QUrl language()
static QString encodeUriForLuceneQuery(const QUrl &uri)