#include <quartz_document.h>
Inheritance diagram for QuartzDocument:
Public Member Functions | |
~QuartzDocument () | |
Destroy a QuartzDocument. | |
string | do_get_value (Xapian::valueno valueid) const |
Retrieve a value from the database. | |
map< Xapian::valueno, string > | do_get_all_values () const |
Retrieve all value values from the database. | |
string | do_get_data () const |
Retrieve the document data from the database. | |
Private Member Functions | |
QuartzDocument (Xapian::Internal::RefCntPtr< const Xapian::Database::Internal > database_, const QuartzValueTable *value_table_, const QuartzRecordTable *record_table_, Xapian::docid did_, bool lazy) | |
Create a QuartzDocument: this is only called by QuartzDatabase::open_document(). | |
QuartzDocument (const QuartzDocument &) | |
QuartzDocument & | operator= (const QuartzDocument &) |
Private Attributes | |
Xapian::Internal::RefCntPtr< const Xapian::Database::Internal > | database |
The database this document is in. | |
const QuartzValueTable * | value_table |
const QuartzRecordTable * | record_table |
Friends | |
class | QuartzDatabase |
class | QuartzWritableDatabase |
Definition at line 34 of file quartz_document.h.
QuartzDocument::QuartzDocument | ( | Xapian::Internal::RefCntPtr< const Xapian::Database::Internal > | database_, | |
const QuartzValueTable * | value_table_, | |||
const QuartzRecordTable * | record_table_, | |||
Xapian::docid | did_, | |||
bool | lazy | |||
) | [private] |
Create a QuartzDocument: this is only called by QuartzDatabase::open_document().
Definition at line 35 of file quartz_document.cc.
References DEBUGCALL, Xapian::Document::Internal::did, QuartzRecordTable::get_record(), and record_table.
QuartzDocument::QuartzDocument | ( | const QuartzDocument & | ) | [private] |
QuartzDocument::~QuartzDocument | ( | ) |
QuartzDocument& QuartzDocument::operator= | ( | const QuartzDocument & | ) | [private] |
string QuartzDocument::do_get_value | ( | Xapian::valueno | valueid | ) | const [virtual] |
Retrieve a value from the database.
valueid | The value number to retrieve. |
Reimplemented from Xapian::Document::Internal.
Definition at line 62 of file quartz_document.cc.
References DEBUGCALL, Xapian::Document::Internal::did, QuartzValueTable::get_value(), RETURN, and value_table.
map< Xapian::valueno, string > QuartzDocument::do_get_all_values | ( | ) | const [virtual] |
Retrieve all value values from the database.
Reimplemented from Xapian::Document::Internal.
Definition at line 73 of file quartz_document.cc.
References DEBUGCALL, Xapian::Document::Internal::did, QuartzValueTable::get_all_values(), and value_table.
string QuartzDocument::do_get_data | ( | ) | const [virtual] |
Retrieve the document data from the database.
Reimplemented from Xapian::Document::Internal.
Definition at line 84 of file quartz_document.cc.
References DEBUGCALL, Xapian::Document::Internal::did, QuartzRecordTable::get_record(), record_table, and RETURN.
friend class QuartzDatabase [friend] |
Definition at line 35 of file quartz_document.h.
friend class QuartzWritableDatabase [friend] |
Definition at line 36 of file quartz_document.h.
The database this document is in.
Reimplemented from Xapian::Document::Internal.
Definition at line 38 of file quartz_document.h.
const QuartzValueTable* QuartzDocument::value_table [private] |
Definition at line 40 of file quartz_document.h.
Referenced by do_get_all_values(), and do_get_value().
const QuartzRecordTable* QuartzDocument::record_table [private] |