NepomukDaemons
Strigi::Soprano::IndexWriter Class Reference
#include <sopranoindexwriter.h>

Detailed Description
Definition at line 38 of file sopranoindexwriter.h.
Public Member Functions | |
void | addText (const AnalysisResult *, const char *text, int32_t length) |
void | addTriplet (const std::string &subject, const std::string &predicate, const std::string &object) |
void | addValue (const AnalysisResult *, const RegisteredField *field, const std::string &name, const std::string &value) |
void | addValue (const AnalysisResult *, const RegisteredField *field, double value) |
void | addValue (const AnalysisResult *, const RegisteredField *field, uint32_t value) |
void | addValue (const AnalysisResult *, const RegisteredField *field, int32_t value) |
void | addValue (const AnalysisResult *, const RegisteredField *field, const unsigned char *data, uint32_t size) |
void | addValue (const AnalysisResult *, const RegisteredField *field, const std::string &value) |
void | commit () |
void | deleteAllEntries () |
void | deleteEntries (const std::vector< std::string > &entries) |
void | finishAnalysis (const AnalysisResult *) |
IndexWriter (::Soprano::Model *) | |
void | initWriterData (const Strigi::FieldRegister &) |
void | releaseWriterData (const Strigi::FieldRegister &) |
void | startAnalysis (const AnalysisResult *) |
~IndexWriter () |
Constructor & Destructor Documentation
Strigi::Soprano::IndexWriter::IndexWriter | ( | ::Soprano::Model * | model | ) |
Definition at line 172 of file sopranoindexwriter.cpp.
Strigi::Soprano::IndexWriter::~IndexWriter | ( | ) |
Definition at line 182 of file sopranoindexwriter.cpp.
Member Function Documentation
void Strigi::Soprano::IndexWriter::addText | ( | const AnalysisResult * | idx, | |
const char * | text, | |||
int32_t | length | |||
) |
Definition at line 279 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::addTriplet | ( | const std::string & | subject, | |
const std::string & | predicate, | |||
const std::string & | object | |||
) |
Definition at line 418 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::addValue | ( | const AnalysisResult * | , | |
const RegisteredField * | field, | |||
const std::string & | name, | |||
const std::string & | value | |||
) |
Definition at line 346 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::addValue | ( | const AnalysisResult * | idx, | |
const RegisteredField * | field, | |||
double | value | |||
) |
Definition at line 398 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::addValue | ( | const AnalysisResult * | idx, | |
const RegisteredField * | field, | |||
uint32_t | value | |||
) |
Definition at line 353 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::addValue | ( | const AnalysisResult * | idx, | |
const RegisteredField * | field, | |||
int32_t | value | |||
) |
Definition at line 378 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::addValue | ( | const AnalysisResult * | idx, | |
const RegisteredField * | field, | |||
const unsigned char * | data, | |||
uint32_t | size | |||
) |
Definition at line 337 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::addValue | ( | const AnalysisResult * | idx, | |
const RegisteredField * | field, | |||
const std::string & | value | |||
) |
Definition at line 290 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::commit | ( | ) |
Definition at line 188 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::deleteAllEntries | ( | ) |
void Strigi::Soprano::IndexWriter::deleteEntries | ( | const std::vector< std::string > & | entries | ) |
Delete the entries with the given paths from the index.
- Parameters:
-
entries the paths of the files that should be deleted
Definition at line 194 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::finishAnalysis | ( | const AnalysisResult * | idx | ) |
Definition at line 433 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::initWriterData | ( | const Strigi::FieldRegister & | f | ) |
Definition at line 485 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::releaseWriterData | ( | const Strigi::FieldRegister & | f | ) |
Definition at line 499 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::startAnalysis | ( | const AnalysisResult * | idx | ) |
Definition at line 252 of file sopranoindexwriter.cpp.
The documentation for this class was generated from the following files: