Crate adbc_core

Crate adbc_core 

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/

The core library currently provides the basic types shared by vendor-specific drivers, the driver manager, and the driver exporter.

§Native Rust drivers

Native Rust drivers will implement the abstract API consisting of the traits:

For drivers implemented in Rust, using these will be more efficient and safe, since it avoids the overhead of going through C FFI.

Modules§

constants
Constants defined in adbc.h
error
Error, status and result types.
options
Various option and configuration types.
schemas
Schemas and data types that appear through ADBC.

Structs§

PartitionedResult
A partitioned result set as returned by Statement::execute_partitions.

Constants§

LOAD_FLAG_ALLOW_RELATIVE_PATHS
LOAD_FLAG_DEFAULT
LOAD_FLAG_SEARCH_ENV
LOAD_FLAG_SEARCH_SYSTEM
LOAD_FLAG_SEARCH_USER

Traits§

Connection
A handle to an ADBC connection.
Database
A handle to an ADBC database.
Driver
A handle to an ADBC driver.
Optionable
Ability to configure an object by setting/getting options.
Statement
A handle to an ADBC statement.

Type Aliases§

LoadFlags
Partitions
Each data partition is described by an opaque byte array and can be retrieved with Connection::read_partition.