Class JdbcDriver
- java.lang.Object
-
- org.apache.arrow.adbc.driver.jdbc.JdbcDriver
-
- All Implemented Interfaces:
AdbcDriver
public class JdbcDriver extends Object implements AdbcDriver
An ADBC driver wrapping the JDBC API.
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAM_DATASOURCEA parameter for creating anAdbcDatabasefrom aDataSource.static StringPARAM_JDBC_QUIRKSA parameter for specifying backend-specific configuration (type:JdbcQuirks).static StringPARAM_URIA parameter for specifying a URI to connect to.-
Fields inherited from interface org.apache.arrow.adbc.core.AdbcDriver
ADBC_VERSION_1_0_0, ADBC_VERSION_1_1_0, PARAM_PASSWORD, PARAM_SQL_QUIRKS, PARAM_URL, PARAM_USERNAME
-
-
Constructor Summary
Constructors Constructor Description JdbcDriver(org.apache.arrow.memory.BufferAllocator allocator)
-
-
-
Field Detail
-
PARAM_DATASOURCE
public static final String PARAM_DATASOURCE
A parameter for creating anAdbcDatabasefrom aDataSource.- See Also:
- Constant Field Values
-
PARAM_JDBC_QUIRKS
public static final String PARAM_JDBC_QUIRKS
A parameter for specifying backend-specific configuration (type:JdbcQuirks).- See Also:
- Constant Field Values
-
PARAM_URI
public static final String PARAM_URI
A parameter for specifying a URI to connect to.Matches the parameter used by C and Go.
- See Also:
- Constant Field Values
-
-
Method Detail
-
open
public AdbcDatabase open(Map<String,Object> parameters) throws AdbcException
- Specified by:
openin interfaceAdbcDriver- Throws:
AdbcException
-
-