xapian-core
1.4.26
|
Public Member Functions | |
PostlistCursor (GlassTable *in, Xapian::docid offset_) | |
bool | next () |
Public Attributes | |
string | key |
string | tag |
Xapian::docid | firstdid |
Xapian::termcount | tf |
Xapian::termcount | cf |
Private Attributes | |
Xapian::docid | offset |
Private Attributes inherited from GlassCursor | |
string | current_key |
Current key pointed to by cursor. More... | |
string | current_tag |
Current tag pointed to by cursor. More... | |
bool | is_positioned |
Whether the cursor is positioned at a valid entry. More... | |
bool | is_after_end |
Whether the cursor is off the end of the table. More... | |
const GlassTable * | B |
The Btree table. More... | |
Additional Inherited Members | |
Private Member Functions inherited from GlassCursor | |
GlassCursor (const GlassTable *B, const Glass::Cursor *C_=NULL) | |
Create a cursor attached to a Btree. More... | |
GlassCursor * | clone () const |
Clone a cursor. More... | |
~GlassCursor () | |
Destroy the GlassCursor. More... | |
bool | read_tag (bool keep_compressed=false) |
Read the tag from the table and store it in current_tag. More... | |
bool | next () |
Advance to the next key. More... | |
bool | find_entry (const string &key) |
Position the cursor on the highest entry with key <= key. More... | |
bool | find_exact (const string &key) |
Position the cursor exactly on a key. More... | |
void | find_entry_lt (const string &key) |
Position the cursor on the highest entry with key < key. More... | |
bool | find_entry_ge (const string &key) |
Position the cursor on the lowest entry with key >= key. More... | |
void | to_end () |
Set the cursor to be off the end of the table. More... | |
bool | after_end () const |
Determine whether cursor is off the end of table. More... | |
const GlassTable * | get_table () const |
Return a pointer to the GlassTable we're a cursor for. More... | |
Definition at line 79 of file glass_compact.cc.
|
inline |
Definition at line 87 of file glass_compact.cc.
|
inline |
Definition at line 94 of file glass_compact.cc.
References GlassCompact::is_doclenchunk_key(), GlassCompact::is_user_metadata_key(), GlassCompact::is_valuechunk_key(), GlassCompact::is_valuestats_key(), GlassCursor::next(), pack_uint(), pack_uint_preserving_sort(), unpack_string_preserving_sort(), unpack_uint(), and unpack_uint_preserving_sort().
Referenced by GlassCompact::merge_postlists().
Xapian::termcount GlassCompact::PostlistCursor::cf |
Definition at line 85 of file glass_compact.cc.
Referenced by GlassCompact::merge_postlists().
Xapian::docid GlassCompact::PostlistCursor::firstdid |
Definition at line 84 of file glass_compact.cc.
Referenced by GlassCompact::merge_postlists(), and GlassCompact::PostlistCursorGt::operator()().
string GlassCompact::PostlistCursor::key |
Definition at line 83 of file glass_compact.cc.
Referenced by GlassCompact::merge_postlists(), and GlassCompact::PostlistCursorGt::operator()().
|
private |
Definition at line 80 of file glass_compact.cc.
string GlassCompact::PostlistCursor::tag |
Definition at line 83 of file glass_compact.cc.
Referenced by GlassCompact::merge_postlists().
Xapian::termcount GlassCompact::PostlistCursor::tf |
Definition at line 85 of file glass_compact.cc.
Referenced by GlassCompact::merge_postlists().