#include <KeyfileDocListSegmentReader.hpp>
Public Member Functions | |
KeyfileDocListSegmentReader (File *stream, std::string &baseName, int segment, int readBufferSize) | |
Instantiate for a given file. | |
~KeyfileDocListSegmentReader () | |
File * | file () |
Return the File this reader reads. | |
lemur::index::InvFPDocList * | next () |
Return the next DocInfoList in the segment. | |
bool | operator< (const KeyfileDocListSegmentReader &other) const |
Compare two Readers for merging. | |
const lemur::index::InvFPDocList * | top () const |
Return the current DocInfoList in the segment. | |
lemur::index::InvFPDocList * | top () |
Return the current DocInfoList in the segment. | |
void | pop () |
set the current DocInfoList to the next in the segment | |
int | segment () const |
Return which segment this reader reads. | |
const std::string & | name () const |
Return the base name of the File this reader reads. | |
Private Attributes | |
File * | _stream |
ReadBuffer * | _file |
lemur::index::InvFPDocList * | _top |
int | _segment |
std::string | _name |
|
Instantiate for a given file.
|
|
|
|
Return the File this reader reads.
|
|
Return the base name of the File this reader reads.
|
|
Return the next DocInfoList in the segment.
|
|
Compare two Readers for merging.
|
|
set the current DocInfoList to the next in the segment
|
|
Return which segment this reader reads.
|
|
Return the current DocInfoList in the segment.
|
|
Return the current DocInfoList in the segment.
|
|
|
|
|
|
|
|
|
|
|