22#ifndef _SOPRANO_INDEX_MODEL_FILTER_H_
23#define _SOPRANO_INDEX_MODEL_FILTER_H_
48 class IndexFilterModelPrivate;
331 using FilterModel::addStatement;
332 using FilterModel::removeStatement;
333 using FilterModel::removeAllStatements;
336 IndexFilterModelPrivate*
const d;
A FilterModel is a virtual model that wraps another Model.
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)
void setIndexOnlyPredicates(const QList< QUrl > &predicates)
Soprano::Error::ErrorCode removeStatement(const Soprano::Statement &statement)
void setTransactionCacheSize(int size)
void addIndexOnlyPredicate(const QUrl &predicate)
QList< QUrl > forceIndexPredicates() const
Soprano::Error::ErrorCode addStatement(const Soprano::Statement &statement)
void addForceIndexPredicate(const QUrl &predicate)
QueryResultIterator executeQuery(const QString &query, Query::QueryLanguage language, const QString &userQueryLanguage=QString()) const
static QString encodeStringForLuceneQuery(const QString &value)
CLuceneIndex * index() const
IndexFilterModel(CLuceneIndex *index, Soprano::Model *model=0)
IndexFilterModel(const QString &indexDir, Soprano::Model *model=0)
Soprano::Error::ErrorCode removeAllStatements(const Soprano::Statement &statement)
int transactionCacheSize() const
void setForceIndexPredicates(const QList< QUrl > &predicates)
QList< QUrl > indexOnlyPredicates() const
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.
#define SOPRANO_INDEX_EXPORT