NepomukDaemons
Strigi::Soprano::IndexWriter Class Reference
#include <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 () |
Detailed Description
Definition at line 38 of file sopranoindexwriter.h.
Constructor & Destructor Documentation
Strigi::Soprano::IndexWriter::IndexWriter | ( | ::Soprano::Model * | model | ) |
Definition at line 186 of file sopranoindexwriter.cpp.
Strigi::Soprano::IndexWriter::~IndexWriter | ( | ) |
Definition at line 197 of file sopranoindexwriter.cpp.
Member Function Documentation
void Strigi::Soprano::IndexWriter::addText | ( | const AnalysisResult * | idx, | |
const char * | text, | |||
int32_t | length | |||
) |
Definition at line 302 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::addTriplet | ( | const std::string & | subject, | |
const std::string & | predicate, | |||
const std::string & | object | |||
) |
Definition at line 440 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 368 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::addValue | ( | const AnalysisResult * | idx, | |
const RegisteredField * | field, | |||
double | value | |||
) |
Definition at line 420 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::addValue | ( | const AnalysisResult * | idx, | |
const RegisteredField * | field, | |||
uint32_t | value | |||
) |
Definition at line 375 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::addValue | ( | const AnalysisResult * | idx, | |
const RegisteredField * | field, | |||
int32_t | value | |||
) |
Definition at line 400 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 359 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::addValue | ( | const AnalysisResult * | idx, | |
const RegisteredField * | field, | |||
const std::string & | value | |||
) |
Definition at line 313 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::commit | ( | ) |
Definition at line 203 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 209 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::finishAnalysis | ( | const AnalysisResult * | idx | ) |
Definition at line 455 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::initWriterData | ( | const Strigi::FieldRegister & | f | ) |
Definition at line 519 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::releaseWriterData | ( | const Strigi::FieldRegister & | f | ) |
Definition at line 533 of file sopranoindexwriter.cpp.
void Strigi::Soprano::IndexWriter::startAnalysis | ( | const AnalysisResult * | idx | ) |
Definition at line 275 of file sopranoindexwriter.cpp.
The documentation for this class was generated from the following files: