21 #ifndef XAPIAN_INCLUDED_GLASS_DOCUMENT_H 22 #define XAPIAN_INCLUDED_GLASS_DOCUMENT_H 52 value_manager(value_manager_), docdata_table(docdata_table_) { }
62 #endif // XAPIAN_INCLUDED_GLASS_DOCUMENT_H The Xapian namespace contains public interfaces for the Xapian library.
GlassDocument(Xapian::Internal::intrusive_ptr< const Xapian::Database::Internal > db, Xapian::docid did_, const GlassValueManager *value_manager_, const GlassDocDataTable *docdata_table_)
Private constructor - only called by GlassDatabase::open_document().
string do_get_value(Xapian::valueno slot) const
Implementation of virtual methods.
Subclass of GlassTable which holds document data.
const GlassValueManager * value_manager
Used for lazy access to document values.
A document in the database, possibly plus modifications.
A document read from a GlassDatabase.
void do_get_all_values(map< Xapian::valueno, string > &values_) const
Retrieve all value values from the database.
GlassDocument(const GlassDocument &)
Don't allow copying.
A backend designed for efficient indexing and retrieval, using compressed posting lists and a btree s...
void operator=(const GlassDocument &)
Don't allow assignment.
unsigned valueno
The number for a value slot in a document.
const GlassDocDataTable * docdata_table
Used for lazy access to document data.
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document.
string do_get_data() const
Retrieve the document data from the database.