Package org.apache.arrow.adbc.driver.jni
Class JniDatabase
java.lang.Object
org.apache.arrow.adbc.driver.jni.JniDatabase
- All Implemented Interfaces:
AutoCloseable,AdbcDatabase,AdbcOptions,HasChildReferences
-
Constructor Details
-
JniDatabase
-
-
Method Details
-
getChildReferences
- Specified by:
getChildReferencesin interfaceHasChildReferences
-
connect
Description copied from interface:AdbcDatabaseCreate a new connection to the database.- Specified by:
connectin interfaceAdbcDatabase- Throws:
AdbcException
-
close
- Specified by:
closein interfaceAdbcDatabase- Specified by:
closein interfaceAutoCloseable- Throws:
AdbcException
-
getOption
Description copied from interface:AdbcOptionsGet a generic option.- Specified by:
getOptionin interfaceAdbcOptions- Type Parameters:
T- The option value type.- Parameters:
key- The option to retrieve.- Returns:
- The option value.
- Throws:
AdbcException
-
setOption
Description copied from interface:AdbcOptionsSet a generic option.- Specified by:
setOptionin interfaceAdbcOptions- Type Parameters:
T- The option value type.- Parameters:
key- The option to set.value- The option value.- Throws:
AdbcException
-