xapian-core  1.4.20
Public Member Functions | Public Attributes | Private Attributes | List of all members
ChertCompact::PostlistCursor Class Reference
+ 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 ChertTableB
 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 ChertTableget_table () const
 Return a pointer to the ChertTable we're a cursor for. More...
 

Detailed Description

Definition at line 84 of file chert_compact.cc.

Constructor & Destructor Documentation

◆ PostlistCursor()

ChertCompact::PostlistCursor::PostlistCursor ( ChertTable in,
Xapian::docid  offset_ 
)
inline

Definition at line 92 of file chert_compact.cc.

Member Function Documentation

◆ next()

bool ChertCompact::PostlistCursor::next ( )
inline

Member Data Documentation

◆ cf

Xapian::termcount ChertCompact::PostlistCursor::cf

Definition at line 90 of file chert_compact.cc.

Referenced by ChertCompact::merge_postlists().

◆ firstdid

Xapian::docid ChertCompact::PostlistCursor::firstdid

◆ key

string ChertCompact::PostlistCursor::key

◆ offset

Xapian::docid ChertCompact::PostlistCursor::offset
private

Definition at line 85 of file chert_compact.cc.

◆ tag

string ChertCompact::PostlistCursor::tag

Definition at line 88 of file chert_compact.cc.

Referenced by ChertCompact::merge_postlists().

◆ tf

Xapian::termcount ChertCompact::PostlistCursor::tf

Definition at line 90 of file chert_compact.cc.

Referenced by ChertCompact::merge_postlists().


The documentation for this class was generated from the following file: