Package org.apache.arrow.adbc.core
Interface AdbcOptions
- All Known Subinterfaces:
AdbcConnection
,AdbcDatabase
,AdbcStatement
- All Known Implementing Classes:
FlightSqlConnection
,FlightSqlDatabase
,FlightSqlStatement
,JdbcConnection
,JdbcDataSourceDatabase
,JdbcStatement
public interface AdbcOptions
An ADBC object that supports getting/setting generic options.
-
Method Summary
-
Method Details
-
getOption
Get a generic option.- Type Parameters:
T
- The option value type.- Parameters:
key
- The option to retrieve.- Returns:
- The option value.
- Throws:
AdbcException
- Since:
- ADBC API revision 1.1.0
-
setOption
Set a generic option.- Type Parameters:
T
- The option value type.- Parameters:
key
- The option to set.value
- The option value.- Throws:
AdbcException
- Since:
- ADBC API revision 1.1.0
-