Driver
public class Driver extends UnregisteredDriver
Modifier and Type | Class | Description |
---|---|---|
static class |
Driver.Serialization |
Defines the method of message serialization used by the Driver
|
UnregisteredDriver.JdbcVersion
Modifier and Type | Field | Description |
---|---|---|
static String |
CONNECT_STRING_PREFIX |
factory, handler
Constructor | Description |
---|---|
Driver() |
Modifier and Type | Method | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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–2018 The Apache Software Foundation. All rights reserved.