25#include "driver/framework/base_driver.h"
28namespace adbc::driver {
36template <
typename Derived>
56 Derived& impl() {
return static_cast<Derived&
>(*this); }
Definition base_driver.h:782
virtual Status InitImpl()
Initialize the database.
Definition base_driver.h:809
virtual Status SetOptionImpl(std::string_view key, Option value)
Set an option. May be called prior to InitImpl.
Definition base_driver.h:815
virtual Status ReleaseImpl()
Release the database.
Definition base_driver.h:812
The CRTP base implementation of an AdbcDatabase.
Definition database.h:37
virtual Status ReleaseImpl()
Release the database.
Definition database.h:48
virtual Status SetOptionImpl(std::string_view key, Option value)
Set an option. May be called prior to InitImpl.
Definition database.h:51
virtual Status InitImpl()
Initialize the database.
Definition database.h:45
A typed option value wrapper. It currently does not attempt conversion (i.e., getting a double option...
Definition base_driver.h:59
A wrapper around AdbcStatusCode + AdbcError.
Definition status.h:43