Logo Search packages:      
Sourcecode: qt4-x11 version File versions

TermInfosReader Class Reference

#include <TermInfosReader.h>

List of all members.


Detailed Description

This stores a monotonically increasing set of <Term, TermInfo> pairs in a Directory. Pairs are accessed either by Term or by ordinal position the set.

PORT STATUS: 365707 (jlucene 1.9)

Definition at line 29 of file TermInfosReader.h.


Public Member Functions

void close ()
TermInfo * get (const Term *term)
int32_t getSkipInterval ()
int64_t size () const
 TermInfosReader (CL_NS(store)::Directory *dir, const char *segment, FieldInfos *fis)
SegmentTermEnumterms (const Term *term=NULL)

Private Member Functions

void ensureIndexIsRead ()
Term * get (const int32_t position)
CL_NS(util) SegmentTermEnumgetEnum ()
int32_t getIndexOffset (const Term *term)
int64_t getPosition (const Term *term)
Term * scanEnum (const int32_t position)
TermInfo * scanEnum (const Term *term)
void seekEnum (const int32_t indexOffset)

Private Attributes

int64_t _size
FieldInfosfieldInfos
SegmentTermEnumindexEnum
TermInfo * indexInfos
int64_t * indexPointers
Term * indexTerms
int32_t indexTermsLength
SegmentTermEnumorigEnum
CL_NS(store) const char * segment

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index