Apache.Arrow.Adbc.Client 0.14.0

dotnet add package Apache.Arrow.Adbc.Client --version 0.14.0                
NuGet\Install-Package Apache.Arrow.Adbc.Client -Version 0.14.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Apache.Arrow.Adbc.Client" Version="0.14.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Apache.Arrow.Adbc.Client --version 0.14.0                
#r "nuget: Apache.Arrow.Adbc.Client, 0.14.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Apache.Arrow.Adbc.Client as a Cake Addin
#addin nuget:?package=Apache.Arrow.Adbc.Client&version=0.14.0

// Install Apache.Arrow.Adbc.Client as a Cake Tool
#tool nuget:?package=Apache.Arrow.Adbc.Client&version=0.14.0                

Client

The Client library provides an ADO.NET client over the the top of results from the ExecuteQuery and ExecuteUpdate calls in the AdbcStatement class.

Library Design

The Client is designed to work with any driver that inherits from AdbcDriver, whether they are written in a .NET language or a C-compatible language that can be loaded via Interop. The driver is injected at runtime during the creation of the Adbc.Client.AdbcConnection, seen here:

Dependency Injection Model

This enables the client to work with multiple ADBC drivers in the same fashion. When a new client AdbcConnection is created, the driver is just passed in as part of the constructor, like:

new Adbc.Client.AdbcConnection()
{
   new DriverA(),
   ...
}

new Adbc.Client.AdbcConnection()
{
   new DriverB(),
   ...
}

Since ADO.NET is row-oriented, and ADBC is column-oriented, the row index is tracked through the Read() call. When the end of the current record batch is reached, the Client library calls the ReadNextRecordBatchAsync method on the QueryResult until no more record batches can be obtained.

This can be thought of as:

Arrow to DbDataReader

Connection Properties

The ADO.NET Client is designed so that properties in the connection string map to the properties that are sent to the ADBC driver in the code:

AdbcDriver.Open(adbcConnectionParameters);

The connection string is parsed using the DbConnectionStringBuilder class and the key/value pairs are then added to the properties for the ADBC driver.

For example, when using the Snowflake ADBC Go Driver, the connection string will look similar to:

 adbc.snowflake.sql.account={account};adbc.snowflake.sql.warehouse={warehouse};username={user};password={password}

if using the default user name and password authentication, but look like

 adbc.snowflake.sql.account={account};adbc.snowflake.sql.warehouse={warehouse};username={user};password={password};adbc.snowflake.sql.auth_type=snowflake_jwt;adbc.snowflake.sql.client_option.jwt_private_key={private_key_file}

when using JWT authentication with an unencrypted key file.

Other ADBC drivers will have different connection parameters, so be sure to check the documentation for each driver.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Apache.Arrow.Adbc.Client:

Repository Stars
apache/arrow-adbc
Database connectivity API standard and libraries for Apache Arrow
Version Downloads Last updated
0.14.0 131 9/5/2024
0.13.0 127 7/5/2024
0.12.0 115 5/21/2024
0.11.0 171 3/31/2024