ChertLazyTable Class Reference

#include <chert_lazytable.h>

Inheritance diagram for ChertLazyTable:

Inheritance graph
[legend]
Collaboration diagram for ChertLazyTable:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChertLazyTable (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 ChertTable::create_and_open().


Detailed Description

Definition at line 26 of file chert_lazytable.h.


Constructor & Destructor Documentation

ChertLazyTable::ChertLazyTable ( 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 chert_lazytable.h.


Member Function Documentation

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

Lazy version of ChertTable::create_and_open().

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

Reimplemented from ChertTable.

Reimplemented in ChertTermListTable.

Definition at line 44 of file chert_lazytable.h.

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

Referenced by ChertDatabase::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.