39 LOGCALL(DB,
string,
"ChertDocument::do_get_value", slot);
48 LOGCALL_VOID(DB,
"ChertDocument::do_get_all_values", values_);
57 LOGCALL(DB,
string,
"ChertDocument::do_get_data", NO_ARGS);
Records in chert databases.
Xapian::docid did
The document ID of the document in that database.
std::string get_value(Xapian::docid did, Xapian::valueno slot) const
A document read from a ChertDatabase.
void get_all_values(std::map< Xapian::valueno, std::string > &values, Xapian::docid did) const
#define LOGCALL_VOID(CATEGORY, FUNC, PARAMS)
void do_get_all_values(map< Xapian::valueno, string > &values_) const
Retrieve all value values from the database.
const ChertRecordTable * record_table
Used for lazy access to document data.
C++ class definition for chert database.
unsigned valueno
The number for a value slot in a document.
string get_record(Xapian::docid did) const
Retrieve a document from the table.
string do_get_value(Xapian::valueno slot) const
Implementation of virtual methods.
const ChertValueManager * value_manager
Used for lazy access to document values.
string do_get_data() const
Retrieve the document data from the database.
#define LOGCALL(CATEGORY, TYPE, FUNC, PARAMS)