7 #ifndef DEFAULTSKIPLISTREADER_H
8 #define DEFAULTSKIPLISTREADER_H
33 void init(int64_t
skipPointer, int64_t freqBasePointer, int64_t proxBasePointer, int32_t df,
bool storesPayloads);
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Implements the skip list reader for the default posting list format that stores positions and payload...
Definition: DefaultSkipListReader.h:15
Collection< int64_t > proxPointer
Definition: DefaultSkipListReader.h:25
virtual void setLastSkipData(int32_t level)
Copies the values of the last read skip entry on this level.
int32_t lastPayloadLength
Definition: DefaultSkipListReader.h:30
virtual ~DefaultSkipListReader()
int64_t lastFreqPointer
Definition: DefaultSkipListReader.h:28
virtual int32_t readSkipData(int32_t level, const IndexInputPtr &skipStream)
Subclasses must implement the actual skip data encoding in this method.
void init(int64_t skipPointer, int64_t freqBasePointer, int64_t proxBasePointer, int32_t df, bool storesPayloads)
virtual void seekChild(int32_t level)
Seeks the skip entry on the given level.
int32_t getPayloadLength()
Returns the payload length of the payload stored just before the doc to which the last call of {} has...
int64_t lastProxPointer
Definition: DefaultSkipListReader.h:29
bool currentFieldStoresPayloads
Definition: DefaultSkipListReader.h:20
int64_t getFreqPointer()
Returns the freq pointer of the doc to which the last call of MultiLevelSkipListReader#skipTo(int) ha...
DefaultSkipListReader(const IndexInputPtr &skipStream, int32_t maxSkipLevels, int32_t skipInterval)
int64_t getProxPointer()
Returns the prox pointer of the doc to which the last call of MultiLevelSkipListReader#skipTo(int) ha...
Collection< int64_t > freqPointer
Definition: DefaultSkipListReader.h:24
Collection< int32_t > payloadLength
Definition: DefaultSkipListReader.h:26
This abstract class reads skip lists with multiple levels.
Definition: MultiLevelSkipListReader.h:20
Collection< int64_t > skipPointer
Definition: MultiLevelSkipListReader.h:44
Collection< IndexInputPtr > skipStream
Definition: MultiLevelSkipListReader.h:43
Collection< int32_t > skipInterval
Definition: MultiLevelSkipListReader.h:45
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< IndexInput > IndexInputPtr
Definition: LuceneTypes.h:493