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, register
public static final String CONNECT_STRING_PREFIX
protected String getConnectStringPrefix()
UnregisteredDriver
getConnectStringPrefix
in class UnregisteredDriver
protected DriverVersion createDriverVersion()
UnregisteredDriver
createDriverVersion
in class UnregisteredDriver
protected Collection<ConnectionProperty> getConnectionProperties()
UnregisteredDriver
getConnectionProperties
in class UnregisteredDriver
public Meta createMeta(AvaticaConnection connection)
UnregisteredDriver
createMeta
in class UnregisteredDriver
public Connection connect(String url, Properties info) throws SQLException
connect
in interface Driver
connect
in class UnregisteredDriver
SQLException
Copyright © 2012-2024 Apache Software Foundation. All Rights Reserved.