Interface | Description |
---|---|
CachingConnectionFactory |
A connection factory that caches connections.
|
ConnectionFactory |
A factory used to get open
Connection instances. |
DrillConnection |
Drill-specific
Connection . |
DrillDatabaseMetaData |
Drill-specific
DatabaseMetaData . |
DrillPreparedStatement |
Drill-specific
PreparedStatement . |
DrillResultSet |
Drill-specific
ResultSet . |
DrillStatement |
Drill-specific
Statement . |
SchemaChangeListener |
Class | Description |
---|---|
ConnectionInfo |
An immutable bag of parameters that describes a
Connection . |
ConnectionInfoTest |
Test for Drill's Properties in the JDBC URL connection string
|
ConnectionTest |
Test for Drill's implementation of Connection's methods (other than
main transaction-related methods in
ConnectionTransactionMethodsTest ). |
ConnectionTransactionMethodsTest |
Test for Drill's implementation of Connection's main transaction-related
methods.
|
DatabaseMetaDataGetColumnsTest |
Test class for Drill's java.sql.DatabaseMetaData.getColumns() implementation.
|
DatabaseMetaDataTest |
Test for Drill's implementation of DatabaseMetaData's methods (other than
those tested separately, e.g.,
getColumn(...) , tested in
DatabaseMetaDataGetColumnsTest )). |
DrillbitClassLoader | |
DrillColumnMetaDataListTest | |
DrillConnectionConfig |
NOTE: DrillConnectionConfig will be changed from a class to an interface.
|
DrillResultSetTest | |
Driver |
Main class of Apache Drill JDBC driver.
|
DriverTest |
(Some) unit and integration tests for org.apache.drill.jdbc.Driver.
|
ITTestShadedJar | |
ITTestShadedJar.AbstractLoaderThread | |
ITTestShadedJar.DrillbitStartThread | |
ITTestShadedJar.DrillbitStopThread | |
JdbcTestBase | |
JdbcTestBase.ModelAndSchema | |
JdbcTestBase.TestDataConnection | |
LegacyDatabaseMetaDataGetColumnsTest |
Test compatibility with older versions of the server
|
LegacyDatabaseMetaDataTest |
Test compatibility with older versions of the server
|
LegacyPreparedStatementTest |
Test that prepared statements works even if not supported on server, to some extent.
|
MultiConnectionCachingFactory |
A connection factory that caches connections based on given
ConnectionInfo . |
NonClosableConnection |
A connection decorator that ignores
Connection.close() calls. |
PreparedStatementMaxRowsTest |
Test for Drill's implementation of PreparedStatement's get/setMaxRows methods
|
PreparedStatementTest |
Test for Drill's implementation of PreparedStatement's methods.
|
ResultSetGetMethodConversionsTest |
Integration-level unit test for ResultSet's
getType(column ID)
methods' type conversions. |
ResultSetMetaDataTest |
Test class for Drill's java.sql.ResultSetMetaData implementation.
|
SingleConnectionCachingFactory |
A connection factory that creates and caches a single connection instance.
|
StatementMaxRowsTest |
Test for Drill's implementation of Statement's get/setMaxRows methods
|
StatementTest |
Test for Drill's implementation of Statement's methods (most).
|
Exception | Description |
---|---|
AlreadyClosedSqlException |
SQLException for object-already-closed conditions, e.g., calling a method
on a closed
Statement . |
ExecutionCanceledSqlException |
SQLException for execution-canceled condition.
|
InvalidCursorStateSqlException |
SQLException for invalid-cursor-state conditions, e.g., calling a column
accessor method before calling
ResultSet#next() or after
ResultSet#next() returns false. |
InvalidParameterSqlException |
JdbcApiSqlException for invalid-parameter-value conditions. |
JdbcApiSqlException |
SQLException for JDBC API calling-sequence/state problems.
|
SQLConversionException | |
SQLConversionOverflowException | |
SqlTimeoutException |
Indicates that an operation timed out.
|
Drill's JDBC driver class is
org.apache.drill.jdbc.Driver
.
Copyright © 2021 The Apache Software Foundation. All rights reserved.