BrassLazyTable Class Reference

#include <brass_lazytable.h>

Inheritance diagram for BrassLazyTable:

Inheritance graph
[legend]
Collaboration diagram for BrassLazyTable:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BrassLazyTable (const char *name_, const std::string &path, bool readonly, int z_strategy)
 Create a new lazy table.
void create_and_open (unsigned int blocksize)
 Lazy version of BrassTable::create_and_open().


Detailed Description

Definition at line 26 of file brass_lazytable.h.


Constructor & Destructor Documentation

BrassLazyTable::BrassLazyTable ( const char *  name_,
const std::string &  path,
bool  readonly,
int  z_strategy 
) [inline]

Create a new lazy table.

Parameters:
name_ The table's name.
path The path for the table.
readonly true if the table is read-only, else false.
z_strategy zlib strategy.

Definition at line 35 of file brass_lazytable.h.


Member Function Documentation

void BrassLazyTable::create_and_open ( unsigned int  blocksize  )  [inline]

Lazy version of BrassTable::create_and_open().

This method isn't virtual, but we never call it such that it needs to be.

Reimplemented from BrassTable.

Reimplemented in BrassTermListTable.

Definition at line 44 of file brass_lazytable.h.

References BrassTable::erase(), and BrassTable::set_block_size().

Referenced by BrassDatabase::create_and_open_tables().


The documentation for this class was generated from the following file:

Documentation for Xapian (version 1.2.9).
Generated on 10 May 2012 by Doxygen 1.5.9.