Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indri::index::DiskDocListIterator Class Reference

#include <DiskDocListIterator.hpp>

Inheritance diagram for indri::index::DiskDocListIterator:

indri::index::DocListIterator List of all members.

Public Member Functions

 DiskDocListIterator (indri::file::SequentialReadBuffer *buffer, UINT64 startOffset, int fieldCount)
 ~DiskDocListIterator ()
void setStartOffset (UINT64 startOffset, TermData *termData)
const indri::utility::greedy_vector<
TopDocument > & 
topDocuments ()
void startIteration ()
bool nextEntry ()
bool nextEntry (lemur::api::DOCID_T documentID)
DocumentDatacurrentEntry ()
bool finished ()
bool isFrequent () const
TermDatatermData ()

Private Member Functions

void _readEntry ()
void _readSkip ()
void _readTopdocs ()
void _readTermData (int headerLength)

Private Attributes

const char * _list
const char * _listEnd
lemur::api::DOCID_T _skipDocument
indri::file::SequentialReadBuffer_file
UINT64 _startOffset
UINT64 _endOffset
bool _hasTopdocs
bool _isFrequent
indri::utility::greedy_vector<
TopDocument > 
_topdocs
DocumentData _data
DocumentData_result
TermData_termData
bool _ownTermData
char _term [lemur::file::Keyfile::MAX_KEY_LENGTH+1]
int _fieldCount

Constructor & Destructor Documentation

indri::index::DiskDocListIterator::DiskDocListIterator indri::file::SequentialReadBuffer buffer,
UINT64  startOffset,
int  fieldCount
 

indri::index::DiskDocListIterator::~DiskDocListIterator  ) 
 


Member Function Documentation

void indri::index::DiskDocListIterator::_readEntry  )  [inline, private]
 

void indri::index::DiskDocListIterator::_readSkip  )  [inline, private]
 

void indri::index::DiskDocListIterator::_readTermData int  headerLength  )  [private]
 

void indri::index::DiskDocListIterator::_readTopdocs  )  [private]
 

indri::index::DiskDocListIterator::DocumentData * indri::index::DiskDocListIterator::currentEntry  )  [virtual]
 

Implements indri::index::DocListIterator.

bool indri::index::DiskDocListIterator::finished  )  [virtual]
 

Implements indri::index::DocListIterator.

bool indri::index::DiskDocListIterator::isFrequent  )  const
 

bool indri::index::DiskDocListIterator::nextEntry lemur::api::DOCID_T  documentID  )  [virtual]
 

Implements indri::index::DocListIterator.

bool indri::index::DiskDocListIterator::nextEntry  )  [virtual]
 

Implements indri::index::DocListIterator.

void indri::index::DiskDocListIterator::setStartOffset UINT64  startOffset,
TermData termData
 

void indri::index::DiskDocListIterator::startIteration  )  [virtual]
 

Implements indri::index::DocListIterator.

indri::index::TermData * indri::index::DiskDocListIterator::termData  )  [virtual]
 

Implements indri::index::DocListIterator.

const indri::utility::greedy_vector< indri::index::DocListIterator::TopDocument > & indri::index::DiskDocListIterator::topDocuments  )  [virtual]
 

Implements indri::index::DocListIterator.


Member Data Documentation

DocumentData indri::index::DiskDocListIterator::_data [private]
 

UINT64 indri::index::DiskDocListIterator::_endOffset [private]
 

int indri::index::DiskDocListIterator::_fieldCount [private]
 

indri::file::SequentialReadBuffer* indri::index::DiskDocListIterator::_file [private]
 

bool indri::index::DiskDocListIterator::_hasTopdocs [private]
 

bool indri::index::DiskDocListIterator::_isFrequent [private]
 

const char* indri::index::DiskDocListIterator::_list [private]
 

const char* indri::index::DiskDocListIterator::_listEnd [private]
 

bool indri::index::DiskDocListIterator::_ownTermData [private]
 

DocumentData* indri::index::DiskDocListIterator::_result [private]
 

lemur::api::DOCID_T indri::index::DiskDocListIterator::_skipDocument [private]
 

UINT64 indri::index::DiskDocListIterator::_startOffset [private]
 

char indri::index::DiskDocListIterator::_term[ lemur::file::Keyfile::MAX_KEY_LENGTH+1 ] [private]
 

TermData* indri::index::DiskDocListIterator::_termData [private]
 

indri::utility::greedy_vector<TopDocument> indri::index::DiskDocListIterator::_topdocs [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:00 2010 for Lemur by doxygen 1.3.4