NepomukDaemons
Strigi::Soprano::IndexReader Class Reference
#include <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 () | |
Detailed Description
Definition at line 37 of file sopranoindexreader.h.
Constructor & Destructor Documentation
| Strigi::Soprano::IndexReader::IndexReader | ( | ::Soprano::Model * | model | ) |
Definition at line 259 of file sopranoindexreader.cpp.
| Strigi::Soprano::IndexReader::~IndexReader | ( | ) |
Definition at line 268 of file sopranoindexreader.cpp.
Member Function Documentation
| int32_t Strigi::Soprano::IndexReader::countDocuments | ( | ) |
Definition at line 427 of file sopranoindexreader.cpp.
| int32_t Strigi::Soprano::IndexReader::countHits | ( | const Query & | query | ) |
Definition at line 275 of file sopranoindexreader.cpp.
| int32_t Strigi::Soprano::IndexReader::countKeywords | ( | const std::string & | keywordprefix, | |
| const std::vector< std::string > & | fieldnames | |||
| ) |
Definition at line 509 of file sopranoindexreader.cpp.
| int32_t Strigi::Soprano::IndexReader::countWords | ( | ) |
Definition at line 435 of file sopranoindexreader.cpp.
| std::vector< std::string > Strigi::Soprano::IndexReader::fieldNames | ( | ) |
Definition at line 479 of file sopranoindexreader.cpp.
| void Strigi::Soprano::IndexReader::getChildren | ( | const std::string & | parent, | |
| std::map< std::string, time_t > & | children | |||
| ) |
Definition at line 384 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 294 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 494 of file sopranoindexreader.cpp.
| int64_t Strigi::Soprano::IndexReader::indexSize | ( | ) |
Definition at line 443 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 521 of file sopranoindexreader.cpp.
| time_t Strigi::Soprano::IndexReader::mTime | ( | const std::string & | uri | ) |
Definition at line 450 of file sopranoindexreader.cpp.
| std::vector< Strigi::IndexedDocument > Strigi::Soprano::IndexReader::query | ( | const Query & | query, | |
| int | off, | |||
| int | max | |||
| ) |
Definition at line 348 of file sopranoindexreader.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference