|
|||||||||
| Home >> All >> google >> jdbc >> [ driver overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
google.jdbc.driver
Class GoogleDriver

java.lang.Objectgoogle.jdbc.driver.GoogleDriver
- All Implemented Interfaces:
- java.sql.Driver
- public class GoogleDriver
- extends java.lang.Object
- implements java.sql.Driver
- extends java.lang.Object
GoogleDriver
| Constructor Summary | |
GoogleDriver()
|
|
| Method Summary | |
boolean |
acceptsURL(java.lang.String url)
This method tests whether or not the driver believes it can connect to the specified database. |
java.sql.Connection |
connect(java.lang.String url,
java.util.Properties info)
This method connects to the specified database using the connection properties supplied. |
int |
getMajorVersion()
This method returns the major version number of the driver. |
int |
getMinorVersion()
This method returns the minor version number of the driver. |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties info)
This method returns an array of possible properties that could be used to connect to the specified database. |
boolean |
jdbcCompliant()
This method tests whether or not the driver is JDBC compliant. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
GoogleDriver
public GoogleDriver()
| Method Detail |
acceptsURL
public boolean acceptsURL(java.lang.String url) throws java.sql.SQLException
- Description copied from interface:
java.sql.Driver - This method tests whether or not the driver believes it can connect to
the specified database. The driver should only test whether it
understands and accepts the URL. It should not necessarily attempt to
probe the database for a connection.
- Specified by:
acceptsURLin interfacejava.sql.Driver
connect
public java.sql.Connection connect(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
- Description copied from interface:
java.sql.Driver - This method connects to the specified database using the connection
properties supplied. If the driver does not understand the database
URL, it should return
nullinstead of throwing an exception since theDriverManagerwill probe a driver in this manner.- Specified by:
connectin interfacejava.sql.Driver
getMajorVersion
public int getMajorVersion()
- Description copied from interface:
java.sql.Driver - This method returns the major version number of the driver.
- Specified by:
getMajorVersionin interfacejava.sql.Driver
getMinorVersion
public int getMinorVersion()
- Description copied from interface:
java.sql.Driver - This method returns the minor version number of the driver.
- Specified by:
getMinorVersionin interfacejava.sql.Driver
jdbcCompliant
public boolean jdbcCompliant()
- Description copied from interface:
java.sql.Driver - This method tests whether or not the driver is JDBC compliant. This
method should only return
trueif the driver has been certified as JDBC compliant.- Specified by:
jdbcCompliantin interfacejava.sql.Driver
getPropertyInfo
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
- Description copied from interface:
java.sql.Driver - This method returns an array of possible properties that could be
used to connect to the specified database.
- Specified by:
getPropertyInfoin interfacejava.sql.Driver
|
|||||||||
| Home >> All >> google >> jdbc >> [ driver overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
google.jdbc.driver.GoogleDriver