public interface AvaticaFactory
There is an implementation for each supported JDBC version.
| Modifier and Type | Method and Description |
|---|---|
int |
getJdbcMajorVersion() |
int |
getJdbcMinorVersion() |
AvaticaConnection |
newConnection(UnregisteredDriver driver,
AvaticaFactory factory,
String url,
Properties info) |
AvaticaDatabaseMetaData |
newDatabaseMetaData(AvaticaConnection connection)
Creates meta data for the database.
|
AvaticaPreparedStatement |
newPreparedStatement(AvaticaConnection connection,
Meta.StatementHandle h,
Meta.Signature signature,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
AvaticaResultSet |
newResultSet(AvaticaStatement statement,
Meta.Signature signature,
TimeZone timeZone,
Meta.Frame firstFrame)
Creates a result set.
|
ResultSetMetaData |
newResultSetMetaData(AvaticaStatement statement,
Meta.Signature signature)
Creates meta data for a result set.
|
AvaticaStatement |
newStatement(AvaticaConnection connection,
Meta.StatementHandle h,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
int getJdbcMajorVersion()
int getJdbcMinorVersion()
AvaticaConnection newConnection(UnregisteredDriver driver, AvaticaFactory factory, String url, Properties info) throws SQLException
SQLExceptionAvaticaStatement newStatement(AvaticaConnection connection, Meta.StatementHandle h, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLExceptionAvaticaPreparedStatement newPreparedStatement(AvaticaConnection connection, Meta.StatementHandle h, Meta.Signature signature, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLExceptionAvaticaResultSet newResultSet(AvaticaStatement statement, Meta.Signature signature, TimeZone timeZone, Meta.Frame firstFrame) throws SQLException
AvaticaResultSet.execute() on it.statement - Statementsignature - Prepared statementtimeZone - Time zonefirstFrame - Frame containing the first (or perhaps only) rows in the
result, or null if an execute/fetch is requiredSQLExceptionAvaticaDatabaseMetaData newDatabaseMetaData(AvaticaConnection connection)
ResultSetMetaData newResultSetMetaData(AvaticaStatement statement, Meta.Signature signature) throws SQLException
statement - Statementsignature - Prepared statementSQLExceptionCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.