|
xapian-core
1.4.30
|
PostlistChunkReader is essentially an iterator wrapper around a postlist chunk. More...
Collaboration diagram for Glass::PostlistChunkReader: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 at_end, end, pos, read_wdf(), and wdf.
|
inline |
Definition at line 305 of file glass_postlist.cc.
References did.
Referenced by GlassPostListTable::merge_changes(), and GlassPostListTable::merge_doclen_changes().
|
inline |
Definition at line 308 of file glass_postlist.cc.
References wdf.
Referenced by GlassPostListTable::merge_changes(), and GlassPostListTable::merge_doclen_changes().
|
inline |
Definition at line 312 of file glass_postlist.cc.
References at_end.
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 at_end, did, end, pos, read_did_increase(), read_wdf(), and wdf.
Referenced by GlassPostListTable::merge_changes(), and GlassPostListTable::merge_doclen_changes().
|
private |
Definition at line 288 of file glass_postlist.cc.
Referenced by is_at_end(), next(), and PostlistChunkReader().
|
private |
Definition at line 283 of file glass_postlist.cc.
|
private |
Definition at line 290 of file glass_postlist.cc.
Referenced by get_docid(), and next().
|
private |
Definition at line 286 of file glass_postlist.cc.
Referenced by next(), and PostlistChunkReader().
|
private |
Definition at line 285 of file glass_postlist.cc.
Referenced by next(), and PostlistChunkReader().
|
private |
Definition at line 291 of file glass_postlist.cc.
Referenced by get_wdf(), next(), and PostlistChunkReader().