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 282 of file glass_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 299 of file glass_postlist.cc.
References read_wdf().
|
inline |
Definition at line 305 of file glass_postlist.cc.
Referenced by GlassPostListTable::merge_changes(), and GlassPostListTable::merge_doclen_changes().
|
inline |
Definition at line 308 of file glass_postlist.cc.
Referenced by GlassPostListTable::merge_changes(), and GlassPostListTable::merge_doclen_changes().
|
inline |
Definition at line 312 of file glass_postlist.cc.
References GlassTable::next().
Referenced by GlassPostListTable::merge_changes(), and GlassPostListTable::merge_doclen_changes().
void PostlistChunkReader::next | ( | ) |
Advance to the next entry.
Set at_end if we run off the end.
Definition at line 324 of file glass_postlist.cc.
References read_did_increase(), and read_wdf().
Referenced by GlassPostListTable::merge_changes(), and GlassPostListTable::merge_doclen_changes().
|
private |
Definition at line 288 of file glass_postlist.cc.
|
private |
Definition at line 283 of file glass_postlist.cc.
|
private |
Definition at line 290 of file glass_postlist.cc.
|
private |
Definition at line 286 of file glass_postlist.cc.
|
private |
Definition at line 285 of file glass_postlist.cc.
|
private |
Definition at line 291 of file glass_postlist.cc.