NepomukDaemons
Strigi::Soprano::IndexReader Class Reference
#include <sopranoindexreader.h>

Detailed Description
Definition at line 37 of file sopranoindexreader.h.
Public Member Functions | |
int32_t | countDocuments () |
int32_t | countHits (const Query &query) |
int32_t | countKeywords (const std::string &keywordprefix, const std::vector< std::string > &fieldnames) |
int32_t | countWords () |
std::vector< std::string > | fieldNames () |
void | getChildren (const std::string &parent, std::map< std::string, time_t > &children) |
void | getHits (const Strigi::Query &query, const std::vector< std::string > &fields, const std::vector< Strigi::Variant::Type > &types, std::vector< std::vector< Strigi::Variant > > &result, int off, int max) |
std::vector< std::pair < std::string, uint32_t > > | histogram (const std::string &query, const std::string &fieldname, const std::string &labeltype) |
IndexReader (::Soprano::Model *) | |
int64_t | indexSize () |
std::vector< std::string > | keywords (const std::string &keywordmatch, const std::vector< std::string > &fieldnames, uint32_t max, uint32_t offset) |
time_t | mTime (const std::string &uri) |
std::vector< IndexedDocument > | query (const Query &, int off, int max) |
~IndexReader () |
Constructor & Destructor Documentation
Strigi::Soprano::IndexReader::IndexReader | ( | ::Soprano::Model * | model | ) |
Definition at line 247 of file sopranoindexreader.cpp.
Strigi::Soprano::IndexReader::~IndexReader | ( | ) |
Definition at line 256 of file sopranoindexreader.cpp.
Member Function Documentation
int32_t Strigi::Soprano::IndexReader::countDocuments | ( | ) |
Definition at line 403 of file sopranoindexreader.cpp.
int32_t Strigi::Soprano::IndexReader::countHits | ( | const Query & | query | ) |
Definition at line 263 of file sopranoindexreader.cpp.
int32_t Strigi::Soprano::IndexReader::countKeywords | ( | const std::string & | keywordprefix, | |
const std::vector< std::string > & | fieldnames | |||
) |
Definition at line 485 of file sopranoindexreader.cpp.
int32_t Strigi::Soprano::IndexReader::countWords | ( | ) |
Definition at line 411 of file sopranoindexreader.cpp.
std::vector< std::string > Strigi::Soprano::IndexReader::fieldNames | ( | ) |
Definition at line 455 of file sopranoindexreader.cpp.
void Strigi::Soprano::IndexReader::getChildren | ( | const std::string & | parent, | |
std::map< std::string, time_t > & | children | |||
) |
Definition at line 372 of file sopranoindexreader.cpp.
void Strigi::Soprano::IndexReader::getHits | ( | const Strigi::Query & | query, | |
const std::vector< std::string > & | fields, | |||
const std::vector< Strigi::Variant::Type > & | types, | |||
std::vector< std::vector< Strigi::Variant > > & | result, | |||
int | off, | |||
int | max | |||
) |
Definition at line 282 of file sopranoindexreader.cpp.
std::vector< std::pair< std::string, uint32_t > > Strigi::Soprano::IndexReader::histogram | ( | const std::string & | query, | |
const std::string & | fieldname, | |||
const std::string & | labeltype | |||
) |
Definition at line 470 of file sopranoindexreader.cpp.
int64_t Strigi::Soprano::IndexReader::indexSize | ( | ) |
Definition at line 419 of file sopranoindexreader.cpp.
std::vector< std::string > Strigi::Soprano::IndexReader::keywords | ( | const std::string & | keywordmatch, | |
const std::vector< std::string > & | fieldnames, | |||
uint32_t | max, | |||
uint32_t | offset | |||
) |
Definition at line 497 of file sopranoindexreader.cpp.
time_t Strigi::Soprano::IndexReader::mTime | ( | const std::string & | uri | ) |
Definition at line 426 of file sopranoindexreader.cpp.
std::vector< Strigi::IndexedDocument > Strigi::Soprano::IndexReader::query | ( | const Query & | query, | |
int | off, | |||
int | max | |||
) |
Definition at line 336 of file sopranoindexreader.cpp.
The documentation for this class was generated from the following files: