#include <string>
#include <xapian/types.h>
#include <xapian/database.h>
#include <xapian/version.h>
Include dependency graph for dbfactory.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | Xapian |
namespace | Xapian::Auto |
namespace | Xapian::InMemory |
namespace | Xapian::Quartz |
namespace | Xapian::Flint |
namespace | Xapian::Remote |
Functions | |
Database | open_stub (const std::string &file) |
Construct a Database object for a stub database file. | |
Database | open (const std::string &path) |
Construct a Database object for read-only access to a Flint database. | |
WritableDatabase | open (const std::string &path, int action) |
Construct a WritableDatabase object for update access to a database. | |
WritableDatabase | open () |
Construct a Database object for update access to an InMemory database. | |
Database | open (const std::string &dir) |
Construct a Database object for read-only access to a Quartz database. | |
WritableDatabase | open (const std::string &dir, int action, int block_size=8192) |
Construct a Database object for update access to a Quartz database. | |
Database | open (const std::string &dir) |
Construct a Database object for read-only access to a Flint database. | |
WritableDatabase | open (const std::string &dir, int action, int block_size=8192) |
Construct a Database object for update access to a Flint database. | |
Database | open (const std::string &host, unsigned int port, Xapian::timeout timeout=10000, Xapian::timeout connect_timeout=0) |
Construct a Database object for read-only access to a remote database accessed via a TCP connection. | |
Database | open (const std::string &program, const std::string &args, Xapian::timeout timeout=10000) |
Construct a Database object for read-only access to a remote database accessed via a program. |
|
Construct a Database object for read-only access to a remote database accessed via a program. Access to the remote database is done by running an external program and communicating with it on stdin/stdout.
|
|
Construct a Database object for read-only access to a remote database accessed via a TCP connection. Access to the remote database is via a TCP connection to the specified host and port.
|
|
Construct a Database object for update access to a Flint database.
|
|
Construct a Database object for read-only access to a Flint database. The appropriate database backend is chosen automatically.
|
|
Construct a Database object for update access to a Quartz database.
|
|
Construct a Database object for read-only access to a Quartz database. The appropriate database backend is chosen automatically.
|
|
Construct a Database object for update access to an InMemory database. A new, empty database is created for each call. |
|
Construct a WritableDatabase object for update access to a database. The appropriate database backend is chosen automatically.
|
|
Construct a Database object for read-only access to a Flint database. The appropriate database backend is chosen automatically.
|
|
Construct a Database object for a stub database file. The stub database file contains serialised parameters for one or more databases.
|