public class Driver extends UnregisteredDriver
| Modifier and Type | Class and Description |
|---|---|
static class |
Driver.Serialization
Defines the method of message serialization used by the Driver
|
UnregisteredDriver.JdbcVersion| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECT_STRING_PREFIX |
factory, handler| Constructor and Description |
|---|
Driver() |
| Modifier and Type | Method and Description |
|---|---|
Connection |
connect(String url,
Properties info) |
protected DriverVersion |
createDriverVersion()
Creates an object describing the name and version of this driver.
|
Meta |
createMeta(AvaticaConnection connection)
Creates a service handler that will give connections from this Driver
their behavior.
|
protected Collection<ConnectionProperty> |
getConnectionProperties()
Returns the connection properties supported by this driver.
|
protected String |
getConnectStringPrefix()
Returns the prefix of the connect string that this driver will recognize
as its own.
|
acceptsURL, createFactory, createHandler, getDriverVersion, getFactoryClassName, getMajorVersion, getMinorVersion, getParentLogger, getPropertyInfo, instantiateFactory, jdbcCompliant, registerpublic static final String CONNECT_STRING_PREFIX
protected String getConnectStringPrefix()
UnregisteredDrivergetConnectStringPrefix in class UnregisteredDriverprotected DriverVersion createDriverVersion()
UnregisteredDrivercreateDriverVersion in class UnregisteredDriverprotected Collection<ConnectionProperty> getConnectionProperties()
UnregisteredDrivergetConnectionProperties in class UnregisteredDriverpublic Meta createMeta(AvaticaConnection connection)
UnregisteredDrivercreateMeta in class UnregisteredDriverpublic Connection connect(String url, Properties info) throws SQLException
connect in interface Driverconnect in class UnregisteredDriverSQLExceptionCopyright © 2012-2025 Apache Software Foundation. All Rights Reserved.