Lucene++ - a full-featured, c++ search engine
API Documentation
int64_t getLength()
For non-stream access from thread that might be concurrent with writing.
ByteArray getBuffer(int32_t index)
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
void setLength(int64_t length)
RAMFile(const RAMDirectoryPtr &directory)
boost::weak_ptr< RAMDirectory > RAMDirectoryWeakPtr
Definition: LuceneTypes.h:505
File used as buffer in RAMDirectory.
Definition: RAMFile.h:15
int64_t getLastModified()
For non-stream access from thread that might be concurrent with writing.
Definition: AbstractAllTermDocs.h:12
Base class for all Lucene classes.
Definition: LuceneObject.h:31
void setLastModified(int64_t lastModified)
boost::shared_ptr< RAMDirectory > RAMDirectoryPtr
Definition: LuceneTypes.h:505
int64_t sizeInBytes
Definition: RAMFile.h:30
Collection< ByteArray > buffers
Definition: RAMFile.h:28
ByteArray addBuffer(int32_t size)
int64_t lastModified
This is publicly modifiable via Directory.touchFile(), so direct access not supported.
Definition: RAMFile.h:33
virtual ByteArray newBuffer(int32_t size)
Allocate a new buffer. Subclasses can allocate differently.
RAMDirectoryWeakPtr _directory
Definition: RAMFile.h:25
clucene.sourceforge.net