7 #ifndef BYTESLICEREADER_H 8 #define BYTESLICEREADER_H 54 virtual void seek(int64_t pos);
int32_t bufferOffset
Definition: ByteSliceReader.h:30
int64_t writeTo(const IndexOutputPtr &out)
boost::shared_ptr< IndexOutput > IndexOutputPtr
Definition: LuceneTypes.h:494
ByteBlockPoolPtr pool
Definition: ByteSliceReader.h:21
virtual void close()
Not implemented.
int32_t bufferUpto
Definition: ByteSliceReader.h:25
boost::shared_ptr< ByteBlockPool > ByteBlockPoolPtr
Definition: LuceneTypes.h:89
virtual void seek(int64_t pos)
Not implemented.
int32_t level
Definition: ByteSliceReader.h:29
virtual int64_t length()
Not implemented.
virtual uint8_t readByte()
Reads and returns a single byte.
int32_t upto
Definition: ByteSliceReader.h:27
void init(const ByteBlockPoolPtr &pool, int32_t startIndex, int32_t endIndex)
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
virtual int64_t getFilePointer()
Not implemented.
IndexInput that knows how to read the byte slices written by Posting and PostingVector. We read the bytes in each slice until we hit the end of that slice at which point we read the forwarding address of the next slice and then jump to it.
Definition: ByteSliceReader.h:16
virtual void readBytes(uint8_t *b, int32_t offset, int32_t length)
Reads a specified number of bytes into an array at the specified offset.
virtual ~ByteSliceReader()
int32_t limit
Definition: ByteSliceReader.h:28
int32_t endIndex
Definition: ByteSliceReader.h:31
ByteArray buffer
Definition: ByteSliceReader.h:26