Crate adbc_ffi

Crate adbc_ffi 

Source
Expand description

ADBC: Arrow Database Connectivity

ADBC is a set of APIs and libraries for Arrow-native access to databases. Execute SQL and Substrait queries, query database catalogs, and more, all using Arrow data to eliminate unnecessary data copies, speed up access, and make it more convenient to build analytical applications.

Read more about ADBC at https://arrow.apache.org/adbc/

This library currently provides:

  • Structs for C-compatible items as defined in adbc.h.
  • A driver exporter that takes an implementation of the abstract API and turns it into an object file that implements the C API.

§Driver Exporter

The driver exporter allows exposing native Rust drivers as C drivers to be used by other languages via their own driver manager. Once you have an implementation of adbc_core::Driver, provided that it also implements Default, you can build it as an object file implementing the C API with the export_driver macro.

Modules§

driver_exporter
methods

Macros§

driver_method
export_driver
Export a Rust driver as a C driver.

Structs§

FFI_AdbcConnection
FFI_AdbcDatabase
FFI_AdbcDriver
FFI_AdbcError
FFI_AdbcErrorDetail
FFI_AdbcPartitions
FFI_AdbcStatement

Type Aliases§

FFI_AdbcDriverInitFunc
A driver initialization function.