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