|
xapian-core
2.0.0
|
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 281 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 298 of file glass_postlist.cc.
References pos, and read_wdf().
|
inline |
Definition at line 304 of file glass_postlist.cc.
Referenced by GlassPostListTable::merge_changes(), and GlassPostListTable::merge_doclen_changes().
|
inline |
Definition at line 307 of file glass_postlist.cc.
Referenced by GlassPostListTable::merge_changes(), and GlassPostListTable::merge_doclen_changes().
|
inline |
Definition at line 311 of file glass_postlist.cc.
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 323 of file glass_postlist.cc.
References pos, read_did_increase(), and read_wdf().
Referenced by GlassPostListTable::merge_changes(), and GlassPostListTable::merge_doclen_changes().
|
private |
Definition at line 287 of file glass_postlist.cc.
|
private |
Definition at line 282 of file glass_postlist.cc.
|
private |
Definition at line 289 of file glass_postlist.cc.
|
private |
Definition at line 285 of file glass_postlist.cc.
|
private |
Definition at line 284 of file glass_postlist.cc.
|
private |
Definition at line 290 of file glass_postlist.cc.