21 #ifndef XAPIAN_INCLUDED_GLASS_DOCDATA_H    22 #define XAPIAN_INCLUDED_GLASS_DOCDATA_H   110 #endif // XAPIAN_INCLUDED_GLASS_DOCDATA_H 
bool delete_document_data(Xapian::docid did)
Delete the document data for document did. 
 
bool readahead_key(const string &key) const
 
Subclass of GlassTable for deriving lazy tables from. 
 
void add(const std::string &key, const std::string &tag, bool already_compressed=false)
Add a key/tag pair to the table, replacing any existing pair with the same key. 
 
static std::string make_key(Xapian::docid did)
 
void replace_document_data(Xapian::docid did, const std::string &data)
Replace the document data for document did. 
 
void readahead_for_document(Xapian::docid did) const
 
std::string get_document_data(Xapian::docid did) const
Get the document data for document did. 
 
GlassDocDataTable(int fd, off_t offset_, bool readonly)
 
bool get_exact_entry(const std::string &key, std::string &tag) const
Read an entry from the table, if and only if it is exactly that being asked for. 
 
GlassDocDataTable(const std::string &dbdir, bool readonly)
Create a new GlassDocDataTable object. 
 
Pack types into strings and unpack them again. 
 
unsigned XAPIAN_DOCID_BASE_TYPE docid
A unique identifier for a document. 
 
void add_document_data(Xapian::docid did, const std::string &data)
Set the document data for document did. 
 
bool del(const std::string &key)
Delete an entry from the table. 
 
void pack_uint_preserving_sort(std::string &s, U value)
Append an encoded unsigned integer to a string, preserving the sort order.