25#include "driver/framework/base_driver.h"
28namespace adbc::driver {
36template <
typename Derived>
56 Derived& impl() {
return static_cast<Derived&
>(*this); }
virtual Status InitImpl()
初始化資料庫。
定義 base_driver.h:809
virtual Status SetOptionImpl(std::string_view key, Option value)
設定選項。可能會在 InitImpl 之前呼叫。
定義 base_driver.h:815
virtual Status ReleaseImpl()
釋放資料庫。
定義 base_driver.h:812
AdbcDatabase 的 CRTP 基礎實作。
定義 database.h:37
virtual Status ReleaseImpl()
釋放資料庫。
定義 database.h:48
virtual Status SetOptionImpl(std::string_view key, Option value)
設定選項。可能會在 InitImpl 之前呼叫。
定義 database.h:51
virtual Status InitImpl()
初始化資料庫。
定義 database.h:45
具型別的選項值包裝器。目前不嘗試轉換 (即,取得 double 選項...
定義 base_driver.h:59
AdbcStatusCode + AdbcError 的包裝器。
定義 status.h:43