xapian-core
1.4.27
|
Factory functions for constructing Database and WritableDatabase objects. More...
#include <sys/types.h>
#include <string>
#include <xapian/constants.h>
#include <xapian/database.h>
#include <xapian/deprecated.h>
#include <xapian/types.h>
#include <xapian/version.h>
#include <xapian/visibility.h>
Go to the source code of this file.
Namespaces | |
Xapian | |
The Xapian namespace contains public interfaces for the Xapian library. | |
Xapian::Auto | |
Database factory functions which determine the database type automatically. | |
Xapian::InMemory | |
Database factory functions for the inmemory backend. | |
Xapian::Chert | |
Database factory functions for the chert backend. | |
Xapian::Remote | |
Database factory functions for the remote backend. | |
Functions | |
Database | Xapian::Auto::open_stub (const std::string &file) |
Construct a Database object for a stub database file. More... | |
WritableDatabase | Xapian::Auto::open_stub (const std::string &file, int action) |
Construct a WritableDatabase object for a stub database file. More... | |
WritableDatabase | Xapian::InMemory::open () |
Construct a WritableDatabase object for a new, empty InMemory database. More... | |
Database | Xapian::Chert::open (const std::string &dir) |
Construct a Database object for read-only access to a Chert database. More... | |
WritableDatabase | Xapian::Chert::open (const std::string &dir, int action, int block_size=0) |
Construct a Database object for update access to a Chert database. More... | |
Database | Xapian::Remote::open (const std::string &host, unsigned int port, useconds_t timeout=10000, useconds_t connect_timeout=10000) |
Construct a Database object for read-only access to a remote database accessed via a TCP connection. More... | |
WritableDatabase | Xapian::Remote::open_writable (const std::string &host, unsigned int port, useconds_t timeout=0, useconds_t connect_timeout=10000, int flags=0) |
Construct a WritableDatabase object for update access to a remote database accessed via a TCP connection. More... | |
Database | Xapian::Remote::open (const std::string &program, const std::string &args, useconds_t timeout=10000) |
Construct a Database object for read-only access to a remote database accessed via a program. More... | |
WritableDatabase | Xapian::Remote::open_writable (const std::string &program, const std::string &args, useconds_t timeout=0, int flags=0) |
Construct a WritableDatabase object for update access to a remote database accessed via a program. More... | |
Factory functions for constructing Database and WritableDatabase objects.
Definition in file dbfactory.h.