xapian-core
1.4.27
|
PostlistChunkReader is essentially an iterator wrapper around a postlist chunk. More...
Public Member Functions | |
PostlistChunkReader (Xapian::docid first_did, const string &data_) | |
Initialise the postlist chunk reader. More... | |
Xapian::docid | get_docid () const |
Xapian::termcount | get_wdf () const |
bool | is_at_end () const |
void | next () |
Advance to the next entry. More... | |
Private Attributes | |
string | data |
const char * | pos |
const char * | end |
bool | at_end |
Xapian::docid | did |
Xapian::termcount | wdf |
PostlistChunkReader is essentially an iterator wrapper around a postlist chunk.
It simply iterates through the entries in a postlist.
Definition at line 253 of file chert_postlist.cc.
|
inline |
Initialise the postlist chunk reader.
first_did | First document id in this chunk. |
data | The tag string with the header removed. |
Definition at line 270 of file chert_postlist.cc.
References read_wdf().
|
inline |
Definition at line 276 of file chert_postlist.cc.
Referenced by ChertPostListTable::merge_changes().
|
inline |
Definition at line 279 of file chert_postlist.cc.
Referenced by ChertPostListTable::merge_changes().
|
inline |
Definition at line 283 of file chert_postlist.cc.
References ChertTable::next().
Referenced by ChertPostListTable::merge_changes().
void PostlistChunkReader::next | ( | ) |
Advance to the next entry.
Set at_end if we run off the end.
Definition at line 295 of file chert_postlist.cc.
References read_did_increase(), and read_wdf().
Referenced by ChertPostListTable::merge_changes().
|
private |
Definition at line 259 of file chert_postlist.cc.
|
private |
Definition at line 254 of file chert_postlist.cc.
|
private |
Definition at line 261 of file chert_postlist.cc.
|
private |
Definition at line 257 of file chert_postlist.cc.
|
private |
Definition at line 256 of file chert_postlist.cc.
|
private |
Definition at line 262 of file chert_postlist.cc.