CLucene - a full-featured, c++ search engine
API Documentation
#include <RAMDirectory.h>
Public Member Functions | |
| RAMIndexInput (RAMFile *f) | |
| ~RAMIndexInput () | |
| IndexInput * | clone () const |
| void | close () |
| Closes the stream to futher operations. | |
| int64_t | length () |
| The number of bytes in the file. | |
| const char * | getDirectoryType () const |
Protected Member Functions | |
| RAMIndexInput (const RAMIndexInput &clone) | |
| IndexInput methods. | |
| void | readInternal (uint8_t *dest, const int32_t len) |
| Expert: implements buffer refill. | |
| void | seekInternal (const int64_t pos) |
| Random-at methods. | |
| lucene::store::RAMIndexInput::RAMIndexInput | ( | const RAMIndexInput & | clone | ) | [protected] |
IndexInput methods.
| lucene::store::RAMIndexInput::RAMIndexInput | ( | RAMFile * | f | ) |
| lucene::store::RAMIndexInput::~RAMIndexInput | ( | ) |
| IndexInput* lucene::store::RAMIndexInput::clone | ( | ) | const [virtual] |
Implements lucene::store::BufferedIndexInput.
| void lucene::store::RAMIndexInput::close | ( | ) | [virtual] |
Closes the stream to futher operations.
Reimplemented from lucene::store::BufferedIndexInput.
| const char* lucene::store::RAMIndexInput::getDirectoryType | ( | ) | const [virtual] |
Implements lucene::store::IndexInput.
| int64_t lucene::store::RAMIndexInput::length | ( | ) | [virtual] |
The number of bytes in the file.
Implements lucene::store::IndexInput.
| void lucene::store::RAMIndexInput::readInternal | ( | uint8_t * | b, | |
| const int32_t | len | |||
| ) | [protected, virtual] |
Expert: implements buffer refill.
Reads bytes from the current position in the input.
| b | the array to read bytes into | |
| offset | the offset in the array to start storing bytes | |
| length | the number of bytes to read |
Implements lucene::store::BufferedIndexInput.
| void lucene::store::RAMIndexInput::seekInternal | ( | const int64_t | pos | ) | [protected, virtual] |
Random-at methods.
Implements lucene::store::BufferedIndexInput.