Package org.apache.arrow.adbc.core
Interface AdbcDatabase
- All Superinterfaces:
AdbcOptions
,AutoCloseable
- All Known Implementing Classes:
FlightSqlDatabase
,JdbcDataSourceDatabase
An instance of a database (e.g. a handle to an in-memory database).
A database can have multiple open connections. While this is likely redundant structure for remote/networked databases, for in-memory databases, this object provides an explicit point of ownership.
-
Method Summary
Methods inherited from interface org.apache.arrow.adbc.core.AdbcOptions
getOption, setOption
Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
connect
Create a new connection to the database.- Throws:
AdbcException
-