|
AdbcStatusCode | Init (void *parent, AdbcError *error) override |
| Initialize the object.
|
|
virtual Status | InitImpl (void *parent) |
| Initialize the database.
|
|
AdbcStatusCode | Cancel (AdbcError *error) |
|
Status | CancelImpl () |
|
AdbcStatusCode | Commit (AdbcError *error) |
|
Status | CommitImpl () |
|
AdbcStatusCode | GetInfo (const uint32_t *info_codes, size_t info_codes_length, ArrowArrayStream *out, AdbcError *error) |
|
Status | GetInfoImpl (const std::vector< uint32_t > info_codes, ArrowArrayStream *out) |
|
AdbcStatusCode | GetObjects (int c_depth, const char *catalog, const char *db_schema, const char *table_name, const char **table_type, const char *column_name, ArrowArrayStream *out, AdbcError *error) |
|
Status | GetObjectsImpl (int c_depth, std::optional< std::string_view > catalog_filter, std::optional< std::string_view > schema_filter, std::optional< std::string_view > table_filter, std::optional< std::string_view > column_filter, const std::vector< std::string_view > &table_types, struct ArrowArrayStream *out) |
|
AdbcStatusCode | GetStatistics (const char *catalog, const char *db_schema, const char *table_name, char approximate, ArrowArrayStream *out, AdbcError *error) |
|
Status | GetStatisticsImpl (std::optional< std::string_view > catalog, std::optional< std::string_view > db_schema, std::optional< std::string_view > table_name, bool approximate, ArrowArrayStream *out) |
|
AdbcStatusCode | GetStatisticNames (ArrowArrayStream *out, AdbcError *error) |
|
Status | GetStatisticNames (ArrowArrayStream *out) |
|
AdbcStatusCode | GetTableSchema (const char *catalog, const char *db_schema, const char *table_name, ArrowSchema *schema, AdbcError *error) |
|
Status | GetTableSchemaImpl (std::optional< std::string_view > catalog, std::optional< std::string_view > db_schema, std::string_view table_name, ArrowSchema *out) |
|
AdbcStatusCode | GetTableTypes (ArrowArrayStream *out, AdbcError *error) |
|
Status | GetTableTypesImpl (ArrowArrayStream *out) |
|
AdbcStatusCode | ReadPartition (const uint8_t *serialized_partition, size_t serialized_length, ArrowArrayStream *out, AdbcError *error) |
|
Status | ReadPartitionImpl (std::string_view serialized_partition, ArrowArrayStream *out) |
|
AdbcStatusCode | Release (AdbcError *error) override |
| Finalize the object.
|
|
Status | ReleaseImpl () |
|
AdbcStatusCode | Rollback (AdbcError *error) |
|
Status | RollbackImpl () |
|
AdbcStatusCode | SetOption (std::string_view key, Option value, AdbcError *error) override |
| Set an option value.
|
|
virtual Status | SetOptionImpl (std::string_view key, Option value) |
| Set an option. May be called prior to InitImpl.
|
|
virtual Result< Option > | GetOption (std::string_view key) |
| Get an option value.
|
|
template<typename Derived >
Finalize the object.
This can be used to return an error if the object is not in a valid state (e.g. prevent closing a connection with open statements) or to clean up resources when resource cleanup could fail. Infallible resource cleanup (e.g. releasing memory) should generally be handled in the destructor.
Generally, you won't need to override this directly. Instead, use the typed ReleaseImpl provided by Database/Connection/Statement.
Reimplemented from adbc::driver::ObjectBase.