Xapian::Quartz Namespace Reference


Functions

Database open (const std::string &dir)
 Construct a Database object for read-only access to a Quartz database.
 WritableDatabaseopen (const std::string &dir, int action, int block_size=8192)
 Construct a Database object for update access to a Quartz database.


Function Documentation

Database Xapian::Quartz::open ( const std::string &  dir  ) 

Construct a Database object for read-only access to a Quartz database.

The Quartz backend is deprecated - use the Flint backend instead.

Parameters:
dir pathname of the directory containing the database.

Referenced by DEFINE_TESTCASE(), BackendManagerQuartz::get_writable_database_again(), BackendManagerQuartz::get_writable_database_as_database(), main(), Xapian::open_stub(), and test_writelock1().

Xapian::Quartz::WritableDatabaseopen ( const std::string &  dir,
int  action,
int  block_size = 8192 
)

Construct a Database object for update access to a Quartz database.

The Quartz backend is deprecated - use the Flint backend instead.

Parameters:
dir pathname of the directory containing the database.
action determines handling of existing/non-existing database:
block_size the Btree blocksize to use (in bytes), which must be a power of two between 2048 and 65536 (inclusive). The default (also used if an invalid value if passed) is 8192 bytes. This parameter is ignored when opening an existing database.


Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.