Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef BUFFEREDINDEXOUTPUT_H
8 #define BUFFEREDINDEXOUTPUT_H
39 virtual void writeBytes(
const uint8_t* b, int32_t offset, int32_t length);
49 virtual void flushBuffer(
const uint8_t* b, int32_t offset, int32_t length);
60 virtual void seek(int64_t pos);
Base implementation class for buffered IndexOutput.
Definition: BufferedIndexOutput.h:15
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual void close()
Closes this stream to further operations.
virtual void seek(int64_t pos)
Sets current position in this file, where the next write will occur.
virtual void writeBytes(const uint8_t *b, int32_t offset, int32_t length)
Writes an array of bytes.
virtual int64_t getFilePointer()
Returns the current position in this file, where the next write will occur.
virtual int64_t length()=0
The number of bytes in the file.
virtual void writeByte(uint8_t b)
Writes a single byte.
int32_t bufferPosition
Definition: BufferedIndexOutput.h:27
int64_t bufferStart
Definition: BufferedIndexOutput.h:26
Definition: AbstractAllTermDocs.h:12
virtual ~BufferedIndexOutput()
ByteArray buffer
Definition: BufferedIndexOutput.h:28
virtual void flush()
Forces any buffered output to be written.
Abstract base class for output to a file in a Directory. A random-access output stream....
Definition: IndexOutput.h:18
static const int32_t BUFFER_SIZE
Definition: BufferedIndexOutput.h:20
void flushBuffer(const uint8_t *b, int32_t length)
Implements buffer write. Writes bytes at the current position in the output.
virtual void flushBuffer(const uint8_t *b, int32_t offset, int32_t length)
Implements buffer write. Writes bytes at the current position in the output.
clucene.sourceforge.net