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