public class Driver
extends java.lang.Object
implements java.sql.Driver
Driver
interface.
Its empty and just delegates to the correct implementation.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_HOST |
static java.lang.String |
ENGINE_URL_PREFIX |
static java.lang.String |
ERRMSG_CONTROL_NODE_SDP |
static java.lang.String |
ERRMSG_INVALID_URI |
static java.lang.String |
ERRMSG_REASON_NOHOST_FOUND |
static java.lang.String |
URL_PREFIX |
Constructor and Description |
---|
Driver()
Creates a new Client Driver object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsURL(java.lang.String url)
Indicate whether the specified URL is understood by this driver.
|
java.sql.Connection |
connect(java.lang.String url,
java.util.Properties info) |
void |
connectionClosed(java.lang.Object o) |
int |
getMajorVersion() |
int |
getMinorVersion() |
int |
getNextRequestId() |
java.util.logging.Logger |
getParentLogger() |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties info) |
java.lang.Object |
getSdpState() |
boolean |
jdbcCompliant() |
public static final java.lang.String DEFAULT_HOST
public static final java.lang.String URL_PREFIX
public static final java.lang.String ENGINE_URL_PREFIX
public static final java.lang.String ERRMSG_INVALID_URI
public static final java.lang.String ERRMSG_REASON_NOHOST_FOUND
public static final java.lang.String ERRMSG_CONTROL_NODE_SDP
public boolean acceptsURL(java.lang.String url) throws java.sql.SQLException
acceptsURL
in interface java.sql.Driver
url
- String containing URL to checkjava.sql.SQLException
- if URL is null or database error occurspublic java.sql.Connection connect(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
connect
in interface java.sql.Driver
url
- a String identifying the remote URL to connect to.info
- a Properties holderjava.sql.SQLException
- for SDP connection errorspublic int getMajorVersion()
getMajorVersion
in interface java.sql.Driver
public int getMinorVersion()
getMinorVersion
in interface java.sql.Driver
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
getPropertyInfo
in interface java.sql.Driver
java.sql.SQLException
public boolean jdbcCompliant()
jdbcCompliant
in interface java.sql.Driver
public int getNextRequestId()
public java.lang.Object getSdpState()
public void connectionClosed(java.lang.Object o)
public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException
getParentLogger
in interface java.sql.Driver
java.sql.SQLFeatureNotSupportedException
Copyright (C) 2003-2021 SQLstream, Inc.