Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

google.jdbc.driver
Class GoogleDriver  view GoogleDriver download GoogleDriver.java

java.lang.Object
  extended bygoogle.jdbc.driver.GoogleDriver
All Implemented Interfaces:
java.sql.Driver

public class GoogleDriver
extends java.lang.Object
implements java.sql.Driver

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:
acceptsURL in interface java.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 null instead of throwing an exception since the DriverManager will probe a driver in this manner.

Specified by:
connect in interface java.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:
getMajorVersion in interface java.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:
getMinorVersion in interface java.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 true if the driver has been certified as JDBC compliant.

Specified by:
jdbcCompliant in interface java.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:
getPropertyInfo in interface java.sql.Driver