![]() |
Quadcap Embeddable Database |
Inheritance diagram for com.quadcap.jdbc.JdbcDriver:

java.sql.Driver interface, which provides a basic mechanism for establishing connections to a QED database.
A driver can support multiple simultaneously open databases -- the database URL specifies a file name which is the root directory of the database, and which is used to select the correct database.
Definition at line 76 of file JdbcDriver.java.
Public Member Functions | |
| JdbcDriver () | |
| No-argument constructor. | |
| java.sql.Connection | makeConnection (Database db, String auth, String passwd) throws SQLException |
Make a new Connection for the specified database and user. | |
| QedResultSet | makeResultSet (Cursor c) |
Make a QedResultSet to wrap the internal database cursor. | |
| boolean | acceptsURL (String url) |
| Return true if this is a QED JDBC URL. | |
| java.sql.Connection | connect (String url, Properties props) throws SQLException |
Assuming that url is a QED URL, return a new Connection object that can be used to access the database specified by that url. | |
| int | getMajorVersion () |
| Return the driver major version number. | |
| int | getMinorVersion () |
| Return the driver minor version number. | |
| DriverPropertyInfo[] | getPropertyInfo (String url, Properties info) throws SQLException |
Return an array of DriverPropertyInfo objects that describe the properties required to connect to a QED database. | |
| boolean | jdbcCompliant () |
| QED is a JDBC compliant driver. | |
| void | closeDatabase (final String name) |
| Close the specified database. | |
| Enumeration | getDatabaseNames () |
| Enumerate the currently open databases. | |
| Database | getDatabase (String name) |
| Locate a specific database by name. | |
| Session | getSession (java.sql.Connection conn) |
| Return the session for this connection. | |
Static Public Member Functions | |
| void | closeAll () |
| Close all databases (presumably at program exit). | |
Static Public Attributes | |
| JdbcDriver | jdbcDriver = null |
Static Package Functions | |
| [static initializer] | |
Static Package Attributes | |
| final ConfigNumber | trace |
| Hashtable | dbs = new Hashtable() |
|
|
No-argument constructor.
Definition at line 119 of file JdbcDriver.java. |
|
|
|
|
|
Return true if this is a QED JDBC URL.
QED URLS are of the form
Definition at line 161 of file JdbcDriver.java. References com.quadcap.jdbc.JdbcDriver.acceptsURL(). Referenced by com.quadcap.jdbc.JdbcDriver.acceptsURL(). |
|
|
Close all databases (presumably at program exit).
Definition at line 355 of file JdbcDriver.java. References com.quadcap.jdbc.JdbcDriver.dbs. |
|
|
Close the specified database.
Definition at line 306 of file JdbcDriver.java. References com.quadcap.jdbc.JdbcDriver.closeDatabase(), com.quadcap.jdbc.JdbcDriver.dbs, and com.quadcap.jdbc.JdbcDriver.trace. Referenced by com.quadcap.jdbc.JdbcDriver.closeDatabase(). |
|
||||||||||||
|
Assuming that
Definition at line 189 of file JdbcDriver.java. References com.quadcap.sql.Database.addConnection(), com.quadcap.jdbc.JdbcDriver.connect(), com.quadcap.jdbc.JdbcDriver.dbs, com.quadcap.sql.Database.driverLock, com.quadcap.sql.Database.init(), com.quadcap.sql.Database.removeConnection(), and com.quadcap.jdbc.JdbcDriver.trace. Referenced by com.quadcap.jdbc.JdbcDriver.connect(). |
|
|
Locate a specific database by name.
Definition at line 346 of file JdbcDriver.java. References com.quadcap.jdbc.JdbcDriver.dbs, and com.quadcap.jdbc.JdbcDriver.getDatabase(). Referenced by com.quadcap.jdbc.JdbcDriver.getDatabase(). |
|
|
Enumerate the currently open databases.
Definition at line 335 of file JdbcDriver.java. References com.quadcap.jdbc.JdbcDriver.dbs. |
|
|
Return the driver major version number.
Definition at line 258 of file JdbcDriver.java. |
|
|
Return the driver minor version number.
Definition at line 265 of file JdbcDriver.java. |
|
||||||||||||
|
Return an array of
Currently no properties are required except
Definition at line 277 of file JdbcDriver.java. References com.quadcap.jdbc.JdbcDriver.getPropertyInfo(). Referenced by com.quadcap.jdbc.JdbcDriver.getPropertyInfo(). |
|
|
Return the session for this connection.
Definition at line 372 of file JdbcDriver.java. References com.quadcap.jdbc.JdbcDriver.getSession(). Referenced by com.quadcap.jdbc.JdbcDriver.getSession(). |
|
|
QED is a JDBC compliant driver.
Definition at line 296 of file JdbcDriver.java. |
|
||||||||||||||||
|
Make a new
Definition at line 130 of file JdbcDriver.java. References com.quadcap.jdbc.JdbcDriver.makeConnection(), and com.quadcap.jdbc.JdbcDriver.trace. Referenced by com.quadcap.jdbc.JdbcDriver.makeConnection(). |
|
|
Make a
Definition at line 150 of file JdbcDriver.java. References com.quadcap.jdbc.JdbcDriver.makeResultSet(). Referenced by com.quadcap.jdbc.JdbcDriver.makeResultSet(). |
|
|
Definition at line 104 of file JdbcDriver.java. Referenced by com.quadcap.jdbc.JdbcDriver.closeAll(), com.quadcap.jdbc.JdbcDriver.closeDatabase(), com.quadcap.jdbc.JdbcDriver.connect(), com.quadcap.jdbc.JdbcDriver.getDatabase(), and com.quadcap.jdbc.JdbcDriver.getDatabaseNames(). |
|
|
Definition at line 106 of file JdbcDriver.java. |
|
|
Initial value:
Definition at line 100 of file JdbcDriver.java. Referenced by com.quadcap.jdbc.JdbcDriver.closeDatabase(), com.quadcap.jdbc.JdbcDriver.connect(), and com.quadcap.jdbc.JdbcDriver.makeConnection(). |