Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
27 virtual int32_t read();
30 virtual int32_t read(
wchar_t* buffer, int32_t offset, int32_t length) = 0;
33 virtual int64_t
skip(int64_t n);
43 virtual void mark(int32_t readAheadLimit);
virtual void close()=0
Close the stream.
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
static const int32_t READER_EOF
Definition: Reader.h:21
virtual void reset()
Reset the stream. If the stream has been marked, then attempt to reposition it at the mark....
virtual void mark(int32_t readAheadLimit)
Mark the present position in the stream. Subsequent calls to reset() will attempt to reposition the s...
Definition: AbstractAllTermDocs.h:12
virtual int64_t length()
The number of bytes in the stream.
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Abstract class for reading character streams.
Definition: Reader.h:15
virtual bool markSupported()
Tell whether this stream supports the mark() operation.
virtual int64_t skip(int64_t n)
Skip characters.
clucene.sourceforge.net