Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indri::file::BulkTreeWriter Class Reference

#include <BulkTree.hpp>

List of all members.

Public Member Functions

 BulkTreeWriter ()
 ~BulkTreeWriter ()
void close ()
void create (const std::string &filename)
void put (const char *key, const char *value, int valueLength)
void put (UINT32 key, const char *value, int valueLength)
void put (const char *key, int keyLength, const char *value, int valueLength)
bool get (const char *key, int keyLength, char *value, int &actual, int valueLength)
bool get (UINT32 key, char *value, int &actual, int valueLength)
bool get (const char *key, char *value, int &actual, int valueLength)
void flush ()

Public Attributes

std::vector< BulkBlock * > _blocks
File _file
SequentialWriteBuffer _write

Private Member Functions

void _flush (int blockIndex)
void _flushAll ()

Private Attributes

UINT32 _blockID
int _flushLevel


Constructor & Destructor Documentation

indri::file::BulkTreeWriter::BulkTreeWriter  ) 
 

indri::file::BulkTreeWriter::~BulkTreeWriter  ) 
 


Member Function Documentation

void indri::file::BulkTreeWriter::_flush int  blockIndex  )  [private]
 

void indri::file::BulkTreeWriter::_flushAll  )  [private]
 

void indri::file::BulkTreeWriter::close  ) 
 

void indri::file::BulkTreeWriter::create const std::string &  filename  ) 
 

void indri::file::BulkTreeWriter::flush  ) 
 

bool indri::file::BulkTreeWriter::get const char *  key,
char *  value,
int &  actual,
int  valueLength
 

bool indri::file::BulkTreeWriter::get UINT32  key,
char *  value,
int &  actual,
int  valueLength
 

bool indri::file::BulkTreeWriter::get const char *  key,
int  keyLength,
char *  value,
int &  actual,
int  valueLength
 

void indri::file::BulkTreeWriter::put const char *  key,
int  keyLength,
const char *  value,
int  valueLength
 

void indri::file::BulkTreeWriter::put UINT32  key,
const char *  value,
int  valueLength
 

void indri::file::BulkTreeWriter::put const char *  key,
const char *  value,
int  valueLength
 


Member Data Documentation

UINT32 indri::file::BulkTreeWriter::_blockID [private]
 

std::vector<BulkBlock*> indri::file::BulkTreeWriter::_blocks
 

File indri::file::BulkTreeWriter::_file
 

int indri::file::BulkTreeWriter::_flushLevel [private]
 

SequentialWriteBuffer indri::file::BulkTreeWriter::_write
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:00 2010 for Lemur by doxygen 1.3.4