32 LOGCALL(DB,
string,
"InMemoryDocument::do_get_value", slot);
37 map<Xapian::valueno, string> values_ = db->
valuelists[
did - 1];
38 map<Xapian::valueno, string>::const_iterator i;
39 i = values_.find(slot);
40 if (i == values_.end())
48 LOGCALL_VOID(DB,
"InMemoryDocument::do_get_all_values", values_);
62 LOGCALL(DB,
string,
"InMemoryDocument::do_get_data", NO_ARGS);
void do_get_all_values(map< Xapian::valueno, string > &values_) const
Implementation of virtual methods.
Xapian::docid did
The document ID of the document in that database.
A database held entirely in memory.
#define LOGCALL_VOID(CATEGORY, FUNC, PARAMS)
A document read from a InMemoryDatabase.
Xapian::Internal::intrusive_ptr< const Xapian::Database::Internal > database
The database this document is in.
C++ class definition for inmemory database access.
string do_get_value(Xapian::valueno slot) const
Implementation of virtual methods.
vector< std::map< Xapian::valueno, string > > valuelists
static void throw_database_closed()
vector< std::string > doclists
unsigned valueno
The number for a value slot in a document.
string do_get_data() const
Implementation of virtual methods.
#define LOGCALL(CATEGORY, TYPE, FUNC, PARAMS)