#include <string>
#include <vector>
#include <xapian/base.h>
#include <xapian/types.h>
Include dependency graph for database.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::Quartz |
namespace | Xapian::InMemory |
namespace | Xapian::Muscat36 |
namespace | Xapian::Remote |
Classes | |
class | Xapian::Database |
This class is used to access a database, or a group of databases. More... | |
class | Xapian::WritableDatabase |
This class provides read/write access to a database. More... | |
Functions | |
Database | open (const std::string &path) |
Open a Quartz database read-only. | |
WritableDatabase | open (const std::string &path, int action) |
Open a database for update, automatically determining the database backend to use. | |
Database | open_stub (const std::string &file) |
Open a stub database. | |
Database | open (const std::string &dir) |
Open a Quartz database read-only. | |
WritableDatabase | open (const std::string &dir, int action, int block_size=8192) |
Open a Quartz database for update. | |
WritableDatabase | open () |
Open an InMemory database for update. | |
Database | open_da (const std::string &R, const std::string &T, bool heavy_duty=true) |
Open a Muscat 3.6 DA database. | |
Database | open_da (const std::string &R, const std::string &T, const std::string &values, bool heavy_duty=true) |
Open a Muscat 3.6 DA database. | |
Database | open_db (const std::string &DB, size_t cache_size=30) |
Open a Muscat 3.6 DB database. | |
Database | open_db (const std::string &DB, const std::string &values, size_t cache_size=30) |
Open a Muscat 3.6 DB database. | |
Database | open (const std::string &program, const std::string &args, Xapian::timeout timeout=10000) |
Open a remote database (using a program). | |
Database | open (const std::string &host, unsigned int port, Xapian::timeout timeout=10000, Xapian::timeout connect_timeout=0) |
Open a remote database (using a TCP connection). | |
Variables | |
const int | DB_CREATE_OR_OPEN = 1 |
const int | DB_CREATE = 2 |
const int | DB_CREATE_OR_OVERWRITE = 3 |
const int | DB_OPEN = 4 |
|
Open a remote database (using a TCP connection). This opens a remote database by connecting to the specified TCP port on the specified host.
|
|
Open a remote database (using a program). This opens a remote database by running a program which it communicates with on stdin/stdout.
|
|
Open an InMemory database for update.
|
|
Open a Quartz database for update.
|
|
Open a Quartz database read-only. This function is deprecated - use Xapian::Database(path) instead.
|
|
Open a database for update, automatically determining the database backend to use. This function is deprecated - use Xapian::WritableDatabase(path) instead. |
|
Open a Quartz database read-only. This function is deprecated - use Xapian::Database(path) instead.
|
|
Open a Muscat 3.6 DA database. This opens a DA database with a values file.
|
|
Open a Muscat 3.6 DA database. This opens a DA database with no values file.
|
|
Open a Muscat 3.6 DB database. This opens a DB database with a values file. The backend auto-detects if the database is heavy-duty or flimsy.
|
|
Open a Muscat 3.6 DB database. This opens a DB database with no values file. The backend auto-detects if the database is heavy-duty or flimsy.
|
|
Open a stub database. This opens a file which contains types and serialised parameters for one or more databases.
|