#include <flint_document.h>


Public Member Functions | |
| string | do_get_value (Xapian::valueno slot) const |
| Retrieve a value from the database. | |
| void | do_get_all_values (map< Xapian::valueno, string > &values_) const |
| string | do_get_data () const |
| Retrieve the document data from the database. | |
Private Member Functions | |
| FlintDocument (Xapian::Internal::RefCntPtr< const Xapian::Database::Internal > database_, const FlintValueTable *value_table_, const FlintRecordTable *record_table_, Xapian::docid did_, bool lazy) | |
| Create a FlintDocument: this is only called by FlintDatabase::open_document(). | |
| FlintDocument (const FlintDocument &) | |
| FlintDocument & | operator= (const FlintDocument &) |
Private Attributes | |
| Xapian::Internal::RefCntPtr < const Xapian::Database::Internal > | database |
| The database this document is in. | |
| const FlintValueTable * | value_table |
| const FlintRecordTable * | record_table |
Friends | |
| class | FlintDatabase |
| class | FlintWritableDatabase |
Definition at line 34 of file flint_document.h.
| FlintDocument::FlintDocument | ( | Xapian::Internal::RefCntPtr< const Xapian::Database::Internal > | database_, | |
| const FlintValueTable * | value_table_, | |||
| const FlintRecordTable * | record_table_, | |||
| Xapian::docid | did_, | |||
| bool | lazy | |||
| ) | [private] |
Create a FlintDocument: this is only called by FlintDatabase::open_document().
Definition at line 34 of file flint_document.cc.
References Xapian::Document::Internal::did, FlintRecordTable::get_record(), LOGCALL_CTOR, and record_table.
| FlintDocument::FlintDocument | ( | const FlintDocument & | ) | [private] |
| void FlintDocument::do_get_all_values | ( | map< Xapian::valueno, string > & | values_ | ) | const |
| string FlintDocument::do_get_data | ( | ) | const [virtual] |
Retrieve the document data from the database.
Reimplemented from Xapian::Document::Internal.
Definition at line 74 of file flint_document.cc.
References Xapian::Document::Internal::did, FlintRecordTable::get_record(), LOGCALL, record_table, and RETURN.
| string FlintDocument::do_get_value | ( | Xapian::valueno | slot | ) | const [virtual] |
Retrieve a value from the database.
| slot | The value number to retrieve. |
Reimplemented from Xapian::Document::Internal.
Definition at line 54 of file flint_document.cc.
References Xapian::Document::Internal::did, FlintValueTable::get_value(), LOGCALL, RETURN, and value_table.
| FlintDocument& FlintDocument::operator= | ( | const FlintDocument & | ) | [private] |
friend class FlintDatabase [friend] |
Definition at line 35 of file flint_document.h.
friend class FlintWritableDatabase [friend] |
Definition at line 36 of file flint_document.h.
Xapian::Internal::RefCntPtr<const Xapian::Database::Internal> FlintDocument::database [private] |
The database this document is in.
Reimplemented from Xapian::Document::Internal.
Definition at line 38 of file flint_document.h.
const FlintRecordTable* FlintDocument::record_table [private] |
const FlintValueTable* FlintDocument::value_table [private] |