|
xapian-core
1.4.30
|
Inheritance diagram for ChertCompact::PostlistCursor:
Collaboration diagram for ChertCompact::PostlistCursor:Public Member Functions | |
| PostlistCursor (ChertTable *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 ChertCursor | |
| 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 ChertTable * | B |
| The Btree table. More... | |
Additional Inherited Members | |
Private Member Functions inherited from ChertCursor | |
| ChertCursor (const ChertTable *B) | |
| Create a cursor attached to a Btree. More... | |
| ~ChertCursor () | |
| Destroy the ChertCursor. 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 | prev () |
| Move to the previous key. More... | |
| bool | find_entry (const string &key) |
| Position the cursor on the highest entry with key <= 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 ChertTable * | get_table () const |
| Return a pointer to the ChertTable we're a cursor for. More... | |
Definition at line 84 of file chert_compact.cc.
|
inline |
Definition at line 92 of file chert_compact.cc.
|
inline |
Definition at line 99 of file chert_compact.cc.
References C_pack_uint_preserving_sort(), C_unpack_uint_preserving_sort(), ChertCompact::is_doclenchunk_key(), ChertCompact::is_metainfo_key(), ChertCompact::is_user_metadata_key(), ChertCompact::is_valuechunk_key(), ChertCompact::is_valuestats_key(), ChertCursor::next(), pack_uint(), unpack_string_preserving_sort(), and unpack_uint().
Referenced by ChertCompact::merge_postlists().
| Xapian::termcount ChertCompact::PostlistCursor::cf |
Definition at line 90 of file chert_compact.cc.
Referenced by ChertCompact::merge_postlists().
| Xapian::docid ChertCompact::PostlistCursor::firstdid |
Definition at line 89 of file chert_compact.cc.
Referenced by ChertCompact::merge_postlists(), and ChertCompact::PostlistCursorGt::operator()().
| string ChertCompact::PostlistCursor::key |
Definition at line 88 of file chert_compact.cc.
Referenced by ChertCompact::merge_postlists(), and ChertCompact::PostlistCursorGt::operator()().
|
private |
Definition at line 85 of file chert_compact.cc.
| string ChertCompact::PostlistCursor::tag |
Definition at line 88 of file chert_compact.cc.
Referenced by ChertCompact::merge_postlists().
| Xapian::termcount ChertCompact::PostlistCursor::tf |
Definition at line 90 of file chert_compact.cc.
Referenced by ChertCompact::merge_postlists().