Java Doc for DatabaseMetaData.java in  » Database-DBMS » Quadcap-Embeddable-Database » com » quadcap » jdbc » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » Quadcap Embeddable Database » com.quadcap.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.quadcap.jdbc.DatabaseMetaData

DatabaseMetaData
public class DatabaseMetaData implements java.sql.DatabaseMetaData(Code)
This class implements the java.sql.DatabaseMetaData interface, which provides a way for the JDBC application to determine which features a database supports and also a way to explore the database schema, through information analagous to the SQL "INFORMATION_SCHEMA".
author:
   Stan Bailes


Field Summary
 Connectionconnection
    
 Databasedatabase
    
 com.quadcap.sql.ConnectionqConn
    
 Sessionsession
    

Constructor Summary
 DatabaseMetaData(Connection connection)
    

Method Summary
public  booleanallProceduresAreCallable()
     Return true if the current user has the privileges necessary to invoke all procedures returned by getProcedures().
public  booleanallTablesAreSelectable()
     Return true if the current user can use a SELECT statement with all tables returned by getTables().
public  booleandataDefinitionCausesTransactionCommit()
     A data definition statement within a transaction does not force a commit in QED.
public  booleandataDefinitionIgnoredInTransactions()
     Data definition statements within transactions are not ignored in QED.
public  booleandeletesAreDetected(int type)
     For all types of ResultSets, deleted rows are simply removed from the ResultSet, so this function always returns false.
final  voiddoPattern(StringBuffer sb, String name, String pattern)
    
final  voiddoString(StringBuffer sb, String name, String val)
    
public  booleandoesMaxRowSizeIncludeBlobs()
     QED doesn't impose any maximum row size, so this function is really a don't care, but we return true anyway.
public  java.sql.ResultSetgetAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern)
     Retrieves a description of the given attribute of the given type for a user-defined type (UDT) that is available in the given schema and catalog.

Descriptions are returned only for attributes of UDTs matching the catalog, schema, type, and attribute name criteria.

public  java.sql.ResultSetgetBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable)
     Return a resultset containing the set of columns that "best uniquely identify a row".
public  StringgetCatalogSeparator()
     QED doesn't support catalogs, so there is no separator.
public  StringgetCatalogTerm()
     Call it what you like, but QED doesn't support catalogs.
public  java.sql.ResultSetgetCatalogs()
     QED doesn't support catalogs, but we return an empty ResultSet of the right signature as a courtesy.
public  java.sql.ResultSetgetColumnPrivileges(String catalog, String schema, String table, String columnNamePattern)
     QED doesn't support access controls, but we return an empty ResultSet of the right signature as a courtesy.
public  java.sql.ResultSetgetColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern)
     This function returns a ResultSet object containing information about the specified columns.
public  java.sql.ConnectiongetConnection()
     Return the Connection object that was used to create this DatabaseMetaData object.
public  java.sql.ResultSetgetCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable)
     This function returns a ResultSet object containing information about the foreign key relationships in the database.
Parameters:
  primaryCatalog - not used
Parameters:
  primarySchema - a schema name.
public  intgetDatabaseMajorVersion()
     Retrieves the major version number of the underlying database.
public  intgetDatabaseMinorVersion()
     Retrieves the minor version number of the underlying database.
public  StringgetDatabaseProductName()
    
public  StringgetDatabaseProductVersion()
     Return the version for this product.
public  intgetDefaultTransactionIsolation()
     Return the default transaction isolation level.
public  intgetDriverMajorVersion()
     Return the driver major version number.
public  intgetDriverMinorVersion()
     Return the driver minor version number.
public  StringgetDriverName()
    
public  StringgetDriverVersion()
     Return the version for this JDBC Driver.
public  java.sql.ResultSetgetExportedKeys(String catalog, String schema, String table)
     This function returns a ResultSet object that contains information about the foreign key columns that reference the primary keys in the specified table.
Parameters:
  catalog - ignored, since catalogs not supported by QED.
Parameters:
  schema - a schema name.
public  StringgetExtraNameCharacters()
     Returns a string consisting of all characters that can be used in unquoted identifier names other than alphanumerics and _).
public  StringgetIdentifierQuoteString()
     Return the string used to quote SQL identifiers.
public  java.sql.ResultSetgetImportedKeys(String catalog, String schema, String table)
     This function returns a ResultSet object that contains information about the primary key columns that are referenced by the foreign keys in the specified table.
Parameters:
  catalog - ignored, since catalogs not supported by QED.
Parameters:
  schema - a schema name.
public  java.sql.ResultSetgetIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate)
     This function returns a ResultSet object that contains information about the index columns in the specified table.
Parameters:
  catalog - ignored, since catalogs not supported by QED.
Parameters:
  schema - a schema name.
public  intgetJDBCMajorVersion()
     Retrieves the major JDBC version number for this driver.
public  intgetJDBCMinorVersion()
     Retrieves the minor JDBC version number for this driver.
public  intgetMaxBinaryLiteralLength()
     Return the maximum size of a binary literal.
public  intgetMaxCatalogNameLength()
     QED doesn't support catalogs, but if it did, it wouldn't impose a limit on the length of their names.
public  intgetMaxCharLiteralLength()
     Return the maximum size of a character literal.
public  intgetMaxColumnNameLength()
     Return the maximum length of a column name.
public  intgetMaxColumnsInGroupBy()
     Return the maximum number of columns in a GROUP BY clause.
public  intgetMaxColumnsInIndex()
     Return the maximum number of columns in an index.
public  intgetMaxColumnsInOrderBy()
     Return the maximum number of columns in an ORDER BY clause.
public  intgetMaxColumnsInSelect()
     Return the maximum number of columns in a SELECT clause.
public  intgetMaxColumnsInTable()
     Return the maximum number of columns in an table.
public  intgetMaxConnections()
     Return the maximum number of active connections that can be maintained by this driver instance.
public  intgetMaxCursorNameLength()
     QED doesn't support named cursors, but if it did, it wouldn't impose a limit on the length of their names.
public  intgetMaxIndexLength()
     Return the maximum number of bytes in an index.
public  intgetMaxProcedureNameLength()
     QED doesn't support stored procedures, but if it did, it wouldn't impose a limit on the length of their names.
public  intgetMaxRowSize()
     Return the maximum number of bytes in a single row.
public  intgetMaxSchemaNameLength()
     Return the maximum length of a schema name.
public  intgetMaxStatementLength()
     Return the maximum number of characters in an SQL statement.
public  intgetMaxStatements()
     Return the maximum number of concurrently active statements that can be open on a single connection.
public  intgetMaxTableNameLength()
     Return the maximum length of a table name.
public  intgetMaxTablesInSelect()
     Return the maximum number of tables allowed in a SELECT clause.
public  intgetMaxUserNameLength()
     Return the maximum length of a user name.
public  StringgetNumericFunctions()
     Return a comma-separated string containing the names of the numeric functions supported by QED.
public  java.sql.ResultSetgetPrimaryKeys(String catalog, String schema, String table)
     This function returns a ResultSet describing the primary key columns of the specified table.
Parameters:
  catalog - ignored, since catalogs not supported by QED.
Parameters:
  schema - a schema name.
public  java.sql.ResultSetgetProcedureColumns(String catalog, String schemaNamePattern, String procedureNamePattern, String columnNamePattern)
     Stored procedures aren't supported by QED, but we return an empty result set with the right signature as a courtesy.
public  StringgetProcedureTerm()
     Whatever.
public  java.sql.ResultSetgetProcedures(String catalog, String schemaNamePattern, String procedureNamePattern)
     Stored procedures aren't supported by QED, but we return an empty result set with the right signature as a courtesy.
public  intgetResultSetHoldability()
     Retrieves the default holdability of this ResultSet object.
public  StringgetSQLKeywords()
     Returns a list of database keywords that are not also SQL-92 keywords.
public  intgetSQLStateType()
     Indicates whether the SQLSTATEs returned by SQLException.getSQLState is X/Open (now known as Open Group) SQL CLI or SQL99.
public  StringgetSchemaTerm()
     Get the "database vendor's preferred term for 'schema'".
public  java.sql.ResultSetgetSchemas()
     Return a result set containing the names of the database schemas.
public  StringgetSearchStringEscape()
     Return the default value for the escape sequence that can be used to escape literal "_" and "%" pattern characters in LIKE pattern strings.
public  StringgetStringFunctions()
     Return a comma-separated string containing the names of the string functions supported by QED.
public  java.sql.ResultSetgetSuperTables(String catalog, String schemaPattern, String tableNamePattern)
     Retrieves a description of the table hierarchies defined in a particular schema in this database.

Only supertable information for tables matching the catalog, schema and table name are returned.

public  java.sql.ResultSetgetSuperTypes(String catalog, String schemaPattern, String typeNamePattern)
     Retrieves a description of the user-defined type (UDT) hierarchies defined in a particular schema in this database.
public  StringgetSystemFunctions()
     Return a comma-separated string containing the names of the system functions supported by QED.
public  java.sql.ResultSetgetTablePrivileges(String catalog, String schema, String tableNamePattern)
     QED doesn't support column privs, but we return an empty ResultSet of the right signature as a courtesy.
public  java.sql.ResultSetgetTableTypes()
     This function returns a ResultSet which describes the table types supported by QED.
public  java.sql.ResultSetgetTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)
     This function returns a ResultSet describing the tables in the database.
Parameters:
  catalog - ignored, since catalogs not supported by QED.
Parameters:
  schemaPattern - a SQL "like" pattern.
public  StringgetTimeDateFunctions()
     Return a comma-separated string containing the names of the date-time functions supported by QED.
public  java.sql.ResultSetgetTypeInfo()
     This function returns a ResultSet listing the data types supported by QED.
exception:
  SQLException - may be thrown.The column in the ResultSet object has the followingdefinition:

1: TYPE_NAMEString Containing the SQL-92 name of the type2: DATA_TYPEshort Giving the JDBC type, fromjava.sql.Types3: PRECISIONint indicating the maximum precision fornumeric types, and -1 for non-numeric types4: LITERAL_PREFIXString for character types, the 'character; for other types, null5: LITERAL_SUFFIXString for character types, the 'character; for other types, null6: CREATE_PARAMSString Giving the parameters used whencreating the type.

public  java.sql.ResultSetgetUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types)
     Not implemented in this QED release.
public  StringgetURL()
     Return the URL used to connect to this database.
public  StringgetUserName()
     Return the user name used to connect to this database.
public  java.sql.ResultSetgetVersionColumns(String catalog, String schema, String table)
     QED doesn't support this feature, but we return an empty ResultSet of the right signature as a courtesy.
public  booleaninsertsAreDetected(int type)
     JDBC specifies two criteria for determining whether inserts are detected.
public  booleanisCatalogAtStart()
     Catalogs aren't supported in QED, but we'll play along at thig point.
public  booleanisReadOnly()
     This release of QED doesn't support read-only connections or databases, completely....
public  booleanlocatorsUpdateCopy()
     Indicates whether updates made to a LOB are made on a copy or directly to the LOB.
public  booleannullPlusNonNullIsNull()
     Most boolean operators (e.g, arithmetic, logical, string operators) produce a NULL result when one of the operands is NULL.
public  booleannullsAreSortedAtEnd()
     In QED, NULLs are sorted low.
public  booleannullsAreSortedAtStart()
     In QED, NULLs are sorted low.
public  booleannullsAreSortedHigh()
     In QED, NULLs are sorted low.
public  booleannullsAreSortedLow()
     In QED, NULLs are sorted low.
public  booleanothersDeletesAreVisible(int type)
    
public  booleanothersInsertsAreVisible(int type)
    
public  booleanothersUpdatesAreVisible(int type)
    
public  booleanownDeletesAreVisible(int type)
     This release of QED doesn't fully support visible change detection.
public  booleanownInsertsAreVisible(int type)
     This release of QED doesn't fully support visible change detection.
public  booleanownUpdatesAreVisible(int type)
     This release of QED doesn't fully support visible change detection.
 ExpressionparseExpression(String s)
    
public  booleanstoresLowerCaseIdentifiers()
     QED treats mixed case identifiers in SQL statements as case-insensitve and stores them internally in upper case.
public  booleanstoresLowerCaseQuotedIdentifiers()
     QED treats mixed case quoted identifiers in SQL statements as case-insensitve and stores them internally in upper case.
public  booleanstoresMixedCaseIdentifiers()
     QED treats mixed case identifiers in SQL statements as case-insensitve and stores them internally in upper case.
public  booleanstoresMixedCaseQuotedIdentifiers()
     QED treats mixed case quoted identifiers in SQL statements as case-insensitve and stores them internally in upper case.
public  booleanstoresUpperCaseIdentifiers()
     QED treats mixed case identifiers in SQL statements as case-insensitve and stores them internally in upper case.
public  booleanstoresUpperCaseQuotedIdentifiers()
     QED treats mixed case quoted identifiers in SQL statements as case-insensitve and stores them internally in upper case.
public  booleansupportsANSI92EntryLevelSQL()
    
public  booleansupportsANSI92FullSQL()
     QED supports many, but not all, of the features of Full SQL 92.
public  booleansupportsANSI92IntermediateSQL()
    
public  booleansupportsAlterTableWithAddColumn()
    
public  booleansupportsAlterTableWithDropColumn()
    
public  booleansupportsBatchUpdates()
    
public  booleansupportsCatalogsInDataManipulation()
    
public  booleansupportsCatalogsInIndexDefinitions()
    
public  booleansupportsCatalogsInPrivilegeDefinitions()
    
public  booleansupportsCatalogsInProcedureCalls()
    
public  booleansupportsCatalogsInTableDefinitions()
    
public  booleansupportsColumnAliasing()
     QED supports column aliasing via the AS clause of the SELECT statement.
public  booleansupportsConvert()
     This QED release doesn't implement the CONVERT function.
public  booleansupportsConvert(int fromType, int toType)
     This QED release doesn't implement the CONVERT function.
public  booleansupportsCoreSQLGrammar()
     QED supports everything in the ODBC Core SQL grammar except GRANT and REVOKE.
public  booleansupportsCorrelatedSubqueries()
    
public  booleansupportsDataDefinitionAndDataManipulationTransactions()
     Both data definition statements and data manipulation statements can be arbitrarily mixed within a transaction.
public  booleansupportsDataManipulationTransactionsOnly()
     The JDBC spec says that this function should return true if
this database supports only data manipulation statements within a transaction
. It's not clear what this is supposed to mean.
public  booleansupportsDifferentTableCorrelationNames()
     Table correlation names are supported in QED, but they are not required to be different from the names of the source tables, so this function returns false.
public  booleansupportsExpressionsInOrderBy()
    
public  booleansupportsExtendedSQLGrammar()
    
public  booleansupportsFullOuterJoins()
    
public  booleansupportsGetGeneratedKeys()
     Retrieves whether auto-generated keys can be retrieved after a statement has been executed.
public  booleansupportsGroupBy()
    
public  booleansupportsGroupByBeyondSelect()
     In QED, the GROUP BY clause can only specify columns that are in the SELECT clause.
public  booleansupportsGroupByUnrelated()
     In QED, the GROUP BY clause can only specify columns that are in the SELECT clause.
public  booleansupportsIntegrityEnhancementFacility()
    
public  booleansupportsLikeEscapeClause()
     QED supports the LIKE escape clause using the standard SQL-92 escape syntax.
public  booleansupportsLimitedOuterJoins()
     Since supportsFullOuterJoins() returns true, this method should return true as well.
public  booleansupportsMinimumSQLGrammar()
    
public  booleansupportsMixedCaseIdentifiers()
     QED converts mixed case identifiers to upper case for storage in the metadata structures.
public  booleansupportsMixedCaseQuotedIdentifiers()
     QED converts mixed case quoted identifiers to upper case for storage in the metadata structures.
public  booleansupportsMultipleOpenResults()
     Retrieves whether it is possible to have multiple ResultSet objects returned from a CallableStatement object simultaneously.
public  booleansupportsMultipleResultSets()
     This QED release supports only a single active result set per Statement.
public  booleansupportsMultipleTransactions()
    
public  booleansupportsNamedParameters()
     Retrieves whether this database supports named parameters to callable statements.
public  booleansupportsNonNullableColumns()
     QED supports definining columns as non-nullable, via the standard SQL-92 NOT NULL constraint.
public  booleansupportsOpenCursorsAcrossCommit()
    
public  booleansupportsOpenCursorsAcrossRollback()
    
public  booleansupportsOpenStatementsAcrossCommit()
     Statements per se are not closed by QED on commit, but the ResultSet associated with a statement is.
public  booleansupportsOpenStatementsAcrossRollback()
     Statements per se are not closed by QED on rollback, but the ResultSet associated with a statement is.
public  booleansupportsOrderByUnrelated()
     In QED, the ORDER BY clause can only specify columns that are in the SELECT clause.
public  booleansupportsOuterJoins()
     QED supports the full set of SQL-92 outer join operations.
public  booleansupportsPositionedDelete()
     QED supports positioned DELETE statements.
public  booleansupportsPositionedUpdate()
     QED supports positioned UPDATE statements.
public  booleansupportsResultSetConcurrency(int type, int concurrency)
    
public  booleansupportsResultSetHoldability(int holdability)
     Retrieves whether this database supports the given result set holdability.
public  booleansupportsResultSetType(int type)
     This release of QED supports TYPE_FORWARD_ONLY ResultSets.
public  booleansupportsSavepoints()
     Retrieves whether this database supports savepoints.
public  booleansupportsSchemasInDataManipulation()
     QED supports using schema names in data manipulation statements.
public  booleansupportsSchemasInIndexDefinitions()
     QED supports using schema names in index definition statements.
public  booleansupportsSchemasInPrivilegeDefinitions()
     QED doesn't support privilege definitions.
public  booleansupportsSchemasInProcedureCalls()
    
public  booleansupportsSchemasInTableDefinitions()
     QED supports using schema names in table definition statements.
public  booleansupportsSelectForUpdate()
     QED supports the SELECT ...
public  booleansupportsStatementPooling()
     Retrieves weather this database supports statement pooling.
public  booleansupportsStoredProcedures()
    
public  booleansupportsSubqueriesInComparisons()
    
public  booleansupportsSubqueriesInExists()
    
public  booleansupportsSubqueriesInIns()
    
public  booleansupportsSubqueriesInQuantifieds()
    
public  booleansupportsTableCorrelationNames()
    
public  booleansupportsTransactionIsolationLevel(int level)
    
public  booleansupportsTransactions()
    
public  booleansupportsUnion()
    
public  booleansupportsUnionAll()
    
public  booleanupdatesAreDetected(int type)
    
public  booleanusesLocalFilePerTable()
    
public  booleanusesLocalFiles()
     QED uses local files to store the database, the lock file, and the transaction logs.

Field Detail
connection
Connection connection(Code)



database
Database database(Code)



qConn
com.quadcap.sql.Connection qConn(Code)



session
Session session(Code)




Constructor Detail
DatabaseMetaData
DatabaseMetaData(Connection connection) throws IOException, SQLException(Code)




Method Detail
allProceduresAreCallable
public boolean allProceduresAreCallable()(Code)
Return true if the current user has the privileges necessary to invoke all procedures returned by getProcedures(). Since QED doesn't support access privileges, this function always returns false, though since it doesn't support stored procedures, this isn't likely to matter. true



allTablesAreSelectable
public boolean allTablesAreSelectable()(Code)
Return true if the current user can use a SELECT statement with all tables returned by getTables(). Since QED doesn't support access privileges, this function always returns true. true



dataDefinitionCausesTransactionCommit
public boolean dataDefinitionCausesTransactionCommit()(Code)
A data definition statement within a transaction does not force a commit in QED. false



dataDefinitionIgnoredInTransactions
public boolean dataDefinitionIgnoredInTransactions()(Code)
Data definition statements within transactions are not ignored in QED. false



deletesAreDetected
public boolean deletesAreDetected(int type)(Code)
For all types of ResultSets, deleted rows are simply removed from the ResultSet, so this function always returns false. false



doPattern
final void doPattern(StringBuffer sb, String name, String pattern)(Code)
Helper function to handle a single metadata pattern matcher



doString
final void doString(StringBuffer sb, String name, String val)(Code)
Helper function to handle a single metadata string specifier



doesMaxRowSizeIncludeBlobs
public boolean doesMaxRowSizeIncludeBlobs()(Code)
QED doesn't impose any maximum row size, so this function is really a don't care, but we return true anyway. true



getAttributes
public java.sql.ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException(Code)
Retrieves a description of the given attribute of the given type for a user-defined type (UDT) that is available in the given schema and catalog.

Descriptions are returned only for attributes of UDTs matching the catalog, schema, type, and attribute name criteria. They are ordered by TYPE_SCHEM, TYPE_NAME and ORDINAL_POSITION. This description does not contain inherited attributes.

The ResultSet object that is returned has the following columns:

  1. TYPE_CAT String => type catalog (may be null)
  2. TYPE_SCHEM String => type schema (may be null)
  3. TYPE_NAME String => type name
  4. ATTR_NAME String => attribute name
  5. DATA_TYPE short => attribute type SQL type from java.sql.Types
  6. ATTR_TYPE_NAME String => Data source dependent type name. For a UDT, the type name is fully qualified. For a REF, the type name is fully qualified and represents the target type of the reference type.
  7. ATTR_SIZE int => column size. For char or date types this is the maximum number of characters; for numeric or decimal types this is precision.
  8. DECIMAL_DIGITS int => the number of fractional digits
  9. NUM_PREC_RADIX int => Radix (typically either 10 or 2)
  10. NULLABLE int => whether NULL is allowed
    • attributeNoNulls - might not allow NULL values
    • attributeNullable - definitely allows NULL values
    • attributeNullableUnknown - nullability unknown
  11. REMARKS String => comment describing column (may be null)
  12. ATTR_DEF String => default value (may be null)
  13. SQL_DATA_TYPE int => unused
  14. SQL_DATETIME_SUB int => unused
  15. CHAR_OCTET_LENGTH int => for char types the maximum number of bytes in the column
  16. ORDINAL_POSITION int => index of column in table (starting at 1)
  17. IS_NULLABLE String => "NO" means column definitely does not allow NULL values; "YES" means the column might allow NULL values. An empty string means unknown.
  18. SCOPE_CATALOG String => catalog of table that is the scope of a reference attribute (null if DATA_TYPE isn't REF)
  19. SCOPE_SCHEMA String => schema of table that is the scope of a reference attribute (null if DATA_TYPE isn't REF)
  20. SCOPE_TABLE String => table name that is the scope of a reference attribute (null if the DATA_TYPE isn't REF)
  21. SOURCE_DATA_TYPE short => source type of a distinct type or user-generated Ref type,SQL type from java.sql.Types (null if DATA_TYPE isn't DISTINCT or user-generated REF)

Parameters:
  catalog - a catalog name; must match the catalog name as itis stored in the database; "" retrieves those without a catalog;null means that the catalog name should not beused to narrowthe search
Parameters:
  schemaPattern - a schema name pattern; must match the schema nameas it is stored in the database; "" retrieves those without aschema;null means that the schema name should not beused to narrowthe search
Parameters:
  typeNamePattern - a type name pattern; must match thetype name as it is stored in the database
Parameters:
  attributeNamePattern - an attribute name pattern; must matchthe attributename as it is declared in the database a ResultSet object in which each row is an attribute description
exception:
  SQLException - if a database access error occurs
since:
   1.4



getBestRowIdentifier
public java.sql.ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException(Code)
Return a resultset containing the set of columns that "best uniquely identify a row". In QED, this is interpreted to mean the 'primary key' constraint, if specified, otherwise a 'unique' constraint, maybe... the specified ResultSet
exception:
  SQLException - may be thrown



getCatalogSeparator
public String getCatalogSeparator()(Code)
QED doesn't support catalogs, so there is no separator. the empty string



getCatalogTerm
public String getCatalogTerm()(Code)
Call it what you like, but QED doesn't support catalogs. "catalog"



getCatalogs
public java.sql.ResultSet getCatalogs() throws SQLException(Code)
QED doesn't support catalogs, but we return an empty ResultSet of the right signature as a courtesy.



getColumnPrivileges
public java.sql.ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException(Code)
QED doesn't support access controls, but we return an empty ResultSet of the right signature as a courtesy.



getColumns
public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException(Code)
This function returns a ResultSet object containing information about the specified columns.
Parameters:
  catalog - not used
Parameters:
  schemaPattern - a SQL "like" pattern. All schema names matchingthis pattern are selected. If this parameter is the emptystring, all schemas are selected.
Parameters:
  tableNamePattern - a SQL "like" pattern. All table names matching this pattern are selected.
Parameters:
  columnNamePattern - a SQL "like" pattern. All column names matching this pattern are selected. a ResultSet object, with each row being adescription of a table column.

The columns in the ResultSet object have thefollowing definition:1: TABLE_CATnull (Catalogs not supported by QED)2: TABLE_SCHEMString giving the table's schema3: TABLE_NAMEString giving the table's name4: COLUMN_NAMEString giving the column name5: DATA_TYPEshort type from java.sql.types6: TYPE_NAMEString giving the SQL type7: COLUMN_SIZEint For numeric types, this is the precision; for character types, it's the maximum width8: BUFFER_LENGTHnull unused9: DECIMAL_DIGITSint For numeric types, the number of digits to the right of the decimal point. For other types, -110: NUM_PREC_RADIXint 1011: NULLABLEint One of:

  • ResultSetMetaData.columnNoNulls
  • ResultSetMetaData.columnNullable
  • ResultSetMetaData.columnNullableUnknown
12: REMARKSnull13: COLUMN_DEFString The column's default value, cast to a String. null if the column doesn't have a default value14: SQL_DATA_TYPEnull15: SQL_DATETIME_SUBnull16: CHAR_OCTET_LENGTHint For character types, two times the maximum numberof characters in the column. null for other types.17: ORDINAL_POSITIONint The index of the column in its table.18: IS_NULLABLEString One of "NO","YES", or ""
exception:
  SQLException - may be thrown.



getConnection
public java.sql.Connection getConnection()(Code)
Return the Connection object that was used to create this DatabaseMetaData object. a Connection object



getCrossReference
public java.sql.ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException(Code)
This function returns a ResultSet object containing information about the foreign key relationships in the database.
Parameters:
  primaryCatalog - not used
Parameters:
  primarySchema - a schema name. Used to specify the schema nameof the table containing the primary key. nullspecifies all schemas.
Parameters:
  foreignCatalog - not used
Parameters:
  foreignSchema - a schema name. Used to specify the schema nameof the table containing the foreign key. nullspecifies all schemas.
Parameters:
  foreignTable - the name of the table containing the foreign key. a ResultSet object, with each row being adescription of a foreign key column.


exception:
  SQLException - may be thrown.The columns in the ResultSet object have the followingdefinition:

1: PKTABLE_CATnull (Catalogs not supported by QED)2: PKTABLE_SCHEMString giving the schema of the primary key's table.3: PKTABLE_NAMEString giving the name of the primary key's table4: PKCOLUMN_NAMEString giving the column name of the primary key5: FKTABLE_CATString (An empty string in QED)6: FKTABLE_SCHEMString giving the schema of the foreign key's table.7: FKTABLE_NAMEString giving the name of the foreign key's table8: FKCOLUMN_NAMEString giving the column name of the foreign key9: KEY_SEQshort indicating the column number within the foreign key, if the foreign key hasmore than one column10: UPDATE_RULEshort indicating what happens when the primary key is updated: The values supported by QEDare:

  • DatabaseMetaData.importedKeyRestrict
  • DatabaseMetaData.importedKeyCascade
11: DELETE_RULEshort indicating what happens when the primary key is deleted: The values supported by QEDare:
  • DatabaseMetaData.importedKeyRestrict
  • DatabaseMetaData.importedKeyCascade
12: FK_NAMEnull13: PK_NAMEnull14: DEFERRABILITYshort indicating whether foreign key constraintchecking can be deferred. One of:
  • DatabaseMetaData.importedKeyInitiallyDeferred
  • DatabaseMetaData.importedKeyInitiallyImmediate
  • DatabaseMetaData.importedKeyNotDeferrable

This QED release remembers the deferability specificationin the original DDL statement, but deferred constraint checkingis not supported in this release.




getDatabaseMajorVersion
public int getDatabaseMajorVersion() throws SQLException(Code)
Retrieves the major version number of the underlying database. the underlying database's major version
exception:
  SQLException - if a database access error occurs
since:
   1.4



getDatabaseMinorVersion
public int getDatabaseMinorVersion() throws SQLException(Code)
Retrieves the minor version number of the underlying database. underlying database's minor version
exception:
  SQLException - if a database access error occurs
since:
   1.4



getDatabaseProductName
public String getDatabaseProductName()(Code)
Return the database product name, "QED" QED



getDatabaseProductVersion
public String getDatabaseProductVersion()(Code)
Return the version for this product. QED version strings are strings of the form major.minor, where major and minor are the driver major and minor version numbers
See Also:   DatabaseMetaData.getDriverMajorVersion()
See Also:   DatabaseMetaData.getDriverMinorVersion() the QED version string.



getDefaultTransactionIsolation
public int getDefaultTransactionIsolation()(Code)
Return the default transaction isolation level. For QED, the default (and only supported) transaction isolation level is Connection.TRANSACTION_SERIALIZABLE.



getDriverMajorVersion
public int getDriverMajorVersion()(Code)
Return the driver major version number. the driver's major version number



getDriverMinorVersion
public int getDriverMinorVersion()(Code)
Return the driver minor version number. the driver's minor version number



getDriverName
public String getDriverName()(Code)
Return the name of this JDBC driver the string "com.quadcap.jdbc.JdbcDriver"



getDriverVersion
public String getDriverVersion() throws SQLException(Code)
Return the version for this JDBC Driver. QED version strings are strings of the form major.minor, where major and minor are the driver major and minor version numbers
See Also:   DatabaseMetaData.getDriverMajorVersion()
See Also:   DatabaseMetaData.getDriverMinorVersion() the QED version string.



getExportedKeys
public java.sql.ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException(Code)
This function returns a ResultSet object that contains information about the foreign key columns that reference the primary keys in the specified table.
Parameters:
  catalog - ignored, since catalogs not supported by QED.
Parameters:
  schema - a schema name. Used to specify the schema nameof the table containing the primary key. nullspecifies any schema.
Parameters:
  table - the name of the table containing the primary key. a ResultSet object, with each row being adescription of a foreign key column.


exception:
  SQLException - may be thrown.The columns in the ResultSet object have the followingdefinition:

1: PKTABLE_CATnull (Catalogs not supported by QED)2: PKTABLE_SCHEMString giving the schema of the primary key's table.3: PKTABLE_NAMEString giving the name of the primary key's table4: PKCOLUMN_NAMEString giving the column name of the primary key5: FKTABLE_CATnull (Catalogs not supported by QED)6: FKTABLE_SCHEMString giving the schema of the foreign key's table.7: FKTABLE_NAMEString giving the name of the foreign key's table8: FKCOLUMN_NAMEString giving the column name of the foreign key9: KEY_SEQshort indicating the column number within the foreign key, if the foreign key hasmore than one column10: UPDATE_RULEshort indicating what happens when the primary key is updated: The values supported by QEDare:

  • DatabaseMetaData.importedKeyRestrict
  • DatabaseMetaData.importedKeyCascade
11: DELETE_RULEshort indicating what happens when the primary key is deleted: The values supported by QEDare:
  • DatabaseMetaData.importedKeyRestrict
  • DatabaseMetaData.importedKeyCascade
12: FK_NAMEnull13: PK_NAMEnull14: DEFERRABILITYshort indicating whether foreign key constraintchecking can be deferred. One of:
  • DatabaseMetaData.importedKeyInitiallyDeferred
  • DatabaseMetaData.importedKeyInitiallyImmediate
  • DatabaseMetaData.importedKeyNotDeferrable

This QED release remembers the deferability specificationin the original DDL statement, but deferred constraint checkingis not supported in this release.




getExtraNameCharacters
public String getExtraNameCharacters()(Code)
Returns a string consisting of all characters that can be used in unquoted identifier names other than alphanumerics and _). In QED, this returns the empty string, since only alphanumerics and underscore are valid identifier characters. the empty string



getIdentifierQuoteString
public String getIdentifierQuoteString()(Code)
Return the string used to quote SQL identifiers. the double-quote character: "



getImportedKeys
public java.sql.ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException(Code)
This function returns a ResultSet object that contains information about the primary key columns that are referenced by the foreign keys in the specified table.
Parameters:
  catalog - ignored, since catalogs not supported by QED.
Parameters:
  schema - a schema name. Used to specify the schema nameof the table containing the foreign key. nullspecifies any schema.
Parameters:
  table - the name of the table containing the foreign key. a ResultSet object, with each row being adescription of a foreign key column.


exception:
  SQLException - may be thrown.The columns in the ResultSet object have the followingdefinition:

1: PKTABLE_CATnull (Catalogs not supported by QED)2: PKTABLE_SCHEMString giving the schema of the primary key's table.3: PKTABLE_NAMEString giving the name of the primary key's table4: PKCOLUMN_NAMEString giving the column name of the primary key5: FKTABLE_CATnull (Catalogs not supported by QED)6: FKTABLE_SCHEMString giving the schema of the foreign key's table.7: FKTABLE_NAMEString giving the name of the foreign key's table8: FKCOLUMN_NAMEString giving the column name of the foreign key9: KEY_SEQshort indicating the column number within the foreign key, if the foreign key hasmore than one column10: UPDATE_RULEshort indicating what happens when the primary key is updated: The values supported by QEDare:

  • DatabaseMetaData.importedKeyRestrict
  • DatabaseMetaData.importedKeyCascade
11: DELETE_RULEshort indicating what happens when the primary key is deleted: The values supported by QEDare:
  • DatabaseMetaData.importedKeyRestrict
  • DatabaseMetaData.importedKeyCascade
12: FK_NAMEthe name of the foreign key constraint13: PK_NAMEnull14: DEFERRABILITYshort indicating whether foreign key constraintchecking can be deferred. One of:
  • DatabaseMetaData.importedKeyInitiallyDeferred
  • DatabaseMetaData.importedKeyInitiallyImmediate
  • DatabaseMetaData.importedKeyNotDeferrable

This QED release remembers the deferability specificationin the original DDL statement, but deferred constraint checkingis not supported in this release.




getIndexInfo
public java.sql.ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException(Code)
This function returns a ResultSet object that contains information about the index columns in the specified table.
Parameters:
  catalog - ignored, since catalogs not supported by QED.
Parameters:
  schema - a schema name. Used to specify the schema nameof the table. nullspecifies any schema.
Parameters:
  table - the name of the table. a ResultSet object, with each row being adescription of an index column.


exception:
  SQLException - may be thrown.The columns in the ResultSet object have the followingdefinition:

1: TABLE_CATnull (Catalogs not supported by QED)2: TABLE_SCHEMString giving the table's schema3: TABLE_NAMEString giving the table's name4: NON_UNIQUEboolean false if index values must be unique, true otherwise.5: INDEX_QUALIFIERQED returns "global" if this is a globalindex, null otherwise.6: INDEX_NAMEString the name of the index7: TYPEshort DatabaseMetaData.tableIndexOther8: ORDINAL_POSITIONshort indicating the column sequencewithin the index9: COLUMN_NAMEString The name of the column10: ASC_OR_DESCString always "A"11: CARDINALITYnull The JDBC specification says that this returns the number of unique values in the index,a statistic which is not kept in this release ofQED.12: PAGESnull The JDBC specification says that this returns the number of pages used by the index,a statistic which is not kept in this release ofQED.13: FILTER_CONDITIONnull not supported by QED




getJDBCMajorVersion
public int getJDBCMajorVersion() throws SQLException(Code)
Retrieves the major JDBC version number for this driver. JDBC version major number
exception:
  SQLException - if a database access error occurs
since:
   1.4



getJDBCMinorVersion
public int getJDBCMinorVersion() throws SQLException(Code)
Retrieves the minor JDBC version number for this driver. JDBC version minor number
exception:
  SQLException - if a database access error occurs
since:
   1.4



getMaxBinaryLiteralLength
public int getMaxBinaryLiteralLength()(Code)
Return the maximum size of a binary literal. QED has no architectural limitation on literal sizes, and so always returns zero. zero, meaning unlimited.



getMaxCatalogNameLength
public int getMaxCatalogNameLength()(Code)
QED doesn't support catalogs, but if it did, it wouldn't impose a limit on the length of their names. zero, meaning unlimited.



getMaxCharLiteralLength
public int getMaxCharLiteralLength()(Code)
Return the maximum size of a character literal. QED has no architectural limitation on literal sizes, and so always returns zero. zero, meaning unlimited.



getMaxColumnNameLength
public int getMaxColumnNameLength()(Code)
Return the maximum length of a column name. QED has no architectural limitation on name sizes, and so always returns zero. zero, meaning unlimited.



getMaxColumnsInGroupBy
public int getMaxColumnsInGroupBy()(Code)
Return the maximum number of columns in a GROUP BY clause. QED has no architectural limitation on GROUP BY clauses, and so always returns zero. zero, meaning unlimited.



getMaxColumnsInIndex
public int getMaxColumnsInIndex()(Code)
Return the maximum number of columns in an index. QED has no architectural limitation on index columns, and so always returns zero. zero, meaning unlimited.



getMaxColumnsInOrderBy
public int getMaxColumnsInOrderBy()(Code)
Return the maximum number of columns in an ORDER BY clause. QED has no architectural limitation on ORDER BY clauses, and so always returns zero. zero, meaning unlimited.



getMaxColumnsInSelect
public int getMaxColumnsInSelect()(Code)
Return the maximum number of columns in a SELECT clause. QED has no architectural limitation on SELECT clauses, and so always returns zero. zero, meaning unlimited.



getMaxColumnsInTable
public int getMaxColumnsInTable()(Code)
Return the maximum number of columns in an table. QED has no architectural limitation on table columns, and so always returns zero. zero, meaning unlimited.



getMaxConnections
public int getMaxConnections()(Code)
Return the maximum number of active connections that can be maintained by this driver instance. QED has no architectural limitation on datbase connections, and so always returns zero. zero, meaning unlimited.



getMaxCursorNameLength
public int getMaxCursorNameLength()(Code)
QED doesn't support named cursors, but if it did, it wouldn't impose a limit on the length of their names. zero, meaning unlimited.



getMaxIndexLength
public int getMaxIndexLength()(Code)
Return the maximum number of bytes in an index. QED has no architectural limitation on index sizes, and so always returns zero. zero, meaning unlimited.



getMaxProcedureNameLength
public int getMaxProcedureNameLength()(Code)
QED doesn't support stored procedures, but if it did, it wouldn't impose a limit on the length of their names. zero, meaning unlimited.



getMaxRowSize
public int getMaxRowSize()(Code)
Return the maximum number of bytes in a single row. QED has no architectural limitation on row sizes, and so always returns zero. zero, meaning unlimited.



getMaxSchemaNameLength
public int getMaxSchemaNameLength()(Code)
Return the maximum length of a schema name. QED has no architectural limitation on schema sizes, and so always returns zero. zero, meaning unlimited.



getMaxStatementLength
public int getMaxStatementLength()(Code)
Return the maximum number of characters in an SQL statement. QED has no architectural limitation on statement sizes, and so always returns zero. zero, meaning unlimited.



getMaxStatements
public int getMaxStatements()(Code)
Return the maximum number of concurrently active statements that can be open on a single connection. The QED threading model essentially restricts the application to a single active ResultSet per connection. If another statement is executed which creates a ResultSet, the first ResultSet will be automatically closed. one



getMaxTableNameLength
public int getMaxTableNameLength()(Code)
Return the maximum length of a table name. QED has no architectural limitation on name lengths, and so always returns zero. zero, meaning unlimited.



getMaxTablesInSelect
public int getMaxTablesInSelect()(Code)
Return the maximum number of tables allowed in a SELECT clause. QED has no architectural limitation on this, and so always returns zero. zero, meaning unlimited.



getMaxUserNameLength
public int getMaxUserNameLength()(Code)
Return the maximum length of a user name. QED has no architectural limitation on name lengths, and so always returns zero. zero, meaning unlimited.



getNumericFunctions
public String getNumericFunctions()(Code)
Return a comma-separated string containing the names of the numeric functions supported by QED. This string contains the Open Group CLI names for the following functions:

ABS,ACOS,ASIN,ATAN,ATAN2,CEILING,COS,COT,DEGREES,EXP,FLOOR LOG,LOG10,MOD,PI,POWER,RADIANS,RAND,ROUND,SIGN,SIN,SQRT,TAN TRUNCATE




getPrimaryKeys
public java.sql.ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException(Code)
This function returns a ResultSet describing the primary key columns of the specified table.
Parameters:
  catalog - ignored, since catalogs not supported by QED.
Parameters:
  schema - a schema name. Used to specify the schema nameof the table. nullspecifies any schema.
Parameters:
  table - the name of the table. a ResultSet object, with each row being adescription of an index column.


exception:
  SQLException - may be thrown.The columns in the ResultSet object have the followingdefinition:

1: TABLE_CATnull (Catalogs not supported by QED)2: TABLE_SCHEMString giving the table's schema3: TABLE_NAMEString giving the table's name4: COLUMN_NAMEString giving the column name5: KEY_SEQshort indicating the column sequencewithin the primary key6: PK_NAMEString The name of the primary key constraint




getProcedureColumns
public java.sql.ResultSet getProcedureColumns(String catalog, String schemaNamePattern, String procedureNamePattern, String columnNamePattern) throws SQLException(Code)
Stored procedures aren't supported by QED, but we return an empty result set with the right signature as a courtesy.
Parameters:
  catalog - N/A
Parameters:
  schemaNamePattern - N/A
Parameters:
  procedureNamePattern - N/A
Parameters:
  columnNamePattern - N/A



getProcedureTerm
public String getProcedureTerm() throws SQLException(Code)
Whatever.



getProcedures
public java.sql.ResultSet getProcedures(String catalog, String schemaNamePattern, String procedureNamePattern) throws SQLException(Code)
Stored procedures aren't supported by QED, but we return an empty result set with the right signature as a courtesy.
Parameters:
  catalog - N/A
Parameters:
  schemaNamePattern - N/A
Parameters:
  procedureNamePattern - N/A



getResultSetHoldability
public int getResultSetHoldability() throws SQLException(Code)
Retrieves the default holdability of this ResultSet object. the default holdability; either ResultSet.HOLD_CURSORS_OVER_COMMIT orResultSet.CLOSE_CURSORS_AT_COMMIT
exception:
  SQLException - if a database access error occurs
since:
   1.4



getSQLKeywords
public String getSQLKeywords()(Code)
Returns a list of database keywords that are not also SQL-92 keywords. For this release of QED, this is currently the empty string. ""



getSQLStateType
public int getSQLStateType() throws SQLException(Code)
Indicates whether the SQLSTATEs returned by SQLException.getSQLState is X/Open (now known as Open Group) SQL CLI or SQL99. the type of SQLSTATEs, one of:sqlStateXOpen orsqlStateSQL99
throws:
  SQLException - if a database access error occurs
since:
   1.4



getSchemaTerm
public String getSchemaTerm()(Code)
Get the "database vendor's preferred term for 'schema'". "schema"



getSchemas
public java.sql.ResultSet getSchemas() throws SQLException(Code)
Return a result set containing the names of the database schemas.



getSearchStringEscape
public String getSearchStringEscape()(Code)
Return the default value for the escape sequence that can be used to escape literal "_" and "%" pattern characters in LIKE pattern strings. the string "\"



getStringFunctions
public String getStringFunctions()(Code)
Return a comma-separated string containing the names of the string functions supported by QED. This string contains the Open Group CLI names for the following functions:

ASCII, CHAR, CONCAT, DIFFERENCE, INSERT, LCASE, LOWER, LEFT, LENGTH LOCATE, LTRIM, REPEAT, REPLACE, RIGHT, RTRIM, SOUNDEX, SPACE SUBSTRING, UCASE, UPPER




getSuperTables
public java.sql.ResultSet getSuperTables(String catalog, String schemaPattern, String tableNamePattern) throws SQLException(Code)
Retrieves a description of the table hierarchies defined in a particular schema in this database.

Only supertable information for tables matching the catalog, schema and table name are returned. The table name parameter may be a fully- qualified name, in which case, the catalog and schemaPattern parameters are ignored. If a table does not have a super table, it is not listed here. Supertables have to be defined in the same catalog and schema as the sub tables. Therefore, the type description does not need to include this information for the supertable.

Each type description has the following columns:

  1. TABLE_CAT String => the type's catalog (may be null)
  2. TABLE_SCHEM String => type's schema (may be null)
  3. TABLE_NAME String => type name
  4. SUPERTABLE_NAME String => the direct super type's name

Note: If the driver does not support type hierarchies, an empty result set is returned.
Parameters:
  catalog - a catalog name; "" retrieves those without a catalog;null means drop catalog name from the selectioncriteria
Parameters:
  schemaPattern - a schema name pattern; "" retrieves those without a schema
Parameters:
  tableNamePattern - a table name pattern; may be a fully-qualifiedname a ResultSet object in which each row is a typedescription
throws:
  SQLException - if a database access error occurs
since:
   1.4




getSuperTypes
public java.sql.ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException(Code)
Retrieves a description of the user-defined type (UDT) hierarchies defined in a particular schema in this database. Only the immediate super type/ sub type relationship is modeled.

Only supertype information for UDTs matching the catalog, schema, and type name is returned. The type name parameter may be a fully-qualified name. When the UDT name supplied is a fully-qualified name, the catalog and schemaPattern parameters are ignored.

If a UDT does not have a direct super type, it is not listed here. A row of the ResultSet object returned by this method describes the designated UDT and a direct supertype. A row has the following columns:

  1. TYPE_CAT String => the UDT's catalog (may be null)
  2. TYPE_SCHEM String => UDT's schema (may be null)
  3. TYPE_NAME String => type name of the UDT
  4. SUPERTYPE_CAT String => the direct super type's catalog (may be null)
  5. SUPERTYPE_SCHEM String => the direct super type's schema (may be null)
  6. SUPERTYPE_NAME String => the direct super type's name

Note: If the driver does not support type hierarchies, an empty result set is returned.
Parameters:
  catalog - a catalog name; "" retrieves those without a catalog;null means drop catalog name from the selectioncriteria
Parameters:
  schemaPattern - a schema name pattern; "" retrieves those without a schema
Parameters:
  typeNamePattern - a UDT name pattern; may be a fully-qualifiedname a ResultSet object in which a row gives informationabout the designated UDT
throws:
  SQLException - if a database access error occurs
since:
   1.4




getSystemFunctions
public String getSystemFunctions()(Code)
Return a comma-separated string containing the names of the system functions supported by QED. This string contains the Open Group CLI names for the following functions:

DATABASE, IFNULL, USER




getTablePrivileges
public java.sql.ResultSet getTablePrivileges(String catalog, String schema, String tableNamePattern) throws SQLException(Code)
QED doesn't support column privs, but we return an empty ResultSet of the right signature as a courtesy.



getTableTypes
public java.sql.ResultSet getTableTypes() throws SQLException(Code)
This function returns a ResultSet which describes the table types supported by QED.
exception:
  SQLException - may be thrown.The column in the ResultSet object has the followingdefinition:

1: TABLE_TYPEString listing the table type.One of:

  • TABLE
  • VIEW
  • GLOBAL TEMPORARY
  • LOCAL TEMPORARY



getTables
public java.sql.ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException(Code)
This function returns a ResultSet describing the tables in the database.
Parameters:
  catalog - ignored, since catalogs not supported by QED.
Parameters:
  schemaPattern - a SQL "like" pattern. All schema names matchingthis pattern are selected. If this parameter is the emptystring, all schemas are selected.
Parameters:
  tableNamePattern - a SQL "like" pattern. All table names matching this pattern are selected.
Parameters:
  types - an array of strings specifying the table types tobe returned, from the set: "TABLE", "VIEW","LOCAL TEMPORARY", "GLOBAL TEMPORARY" a ResultSet object, with each row being adescription of a table.


exception:
  SQLException - may be thrown.The columns in the ResultSet object have the followingdefinition:

1: TABLE_CATnull (Catalogs not supported by QED)2: TABLE_SCHEMString giving the table's schema3: TABLE_NAMEString giving the table's name4: TABLE_TYPEString The table type. One of:

  • TABLE
  • VIEW
  • GLOBAL TEMPORARY
  • LOCAL TEMPORARY
5: REMARKSnull



getTimeDateFunctions
public String getTimeDateFunctions() throws SQLException(Code)
Return a comma-separated string containing the names of the date-time functions supported by QED. This string contains the Open Group CLI names for the following functions:

CURDATE,CURTIME,DAYNAME,DAYOFMONTH,DAYOFWEEK,DAYOFYEAR HOUR,MINUTE,MONTH,MONTHNAME,NOW,QUARTER,SECOND,TIMESTAMPADD TIMESTAMPDIFF,WEEK,YEAR




getTypeInfo
public java.sql.ResultSet getTypeInfo() throws SQLException(Code)
This function returns a ResultSet listing the data types supported by QED.
exception:
  SQLException - may be thrown.The column in the ResultSet object has the followingdefinition:

1: TYPE_NAMEString Containing the SQL-92 name of the type2: DATA_TYPEshort Giving the JDBC type, fromjava.sql.Types3: PRECISIONint indicating the maximum precision fornumeric types, and -1 for non-numeric types4: LITERAL_PREFIXString for character types, the 'character; for other types, null5: LITERAL_SUFFIXString for character types, the 'character; for other types, null6: CREATE_PARAMSString Giving the parameters used whencreating the type. Typically, for character types,"length", and for numeric types, "precision" 7: NULLABLEint indicating whether a type is nullable.All types are nullable in QED, so this alwayscontains DatabaseMetaData.typeNullable.8: CASE_SENSITIVEboolean if the type is case-sensitive.Always true in QED.9: SEARCHABLEshort indicating if this type can be usedin a WHERE clause. QED always returnsDatabaseMetaData.typeSearchable10: UNSIGNED_ATTRIBUTEboolean true ifthis type is unsigned, false otherwise11: FIXED_PREC_SCALEboolean true ifthis type can be a currency value12: AUTO_INCREMENTfalse in QED, no auto-increment typesare supported.13: LOCAL_TYPE_NAMEnull14: MINIMUM_SCALEshort indicating the minimum scalesupported for tthis type15: MAXIMUM_SCALEshort indicating the maximum scalesupported for tthis type16: SQL_DATA_TYPEint null17: SQL_DATETIME_SUBint null18: NUM_PREC_RADIXint 10




getUDTs
public java.sql.ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException(Code)
Not implemented in this QED release. Just returns an empty resultset



getURL
public String getURL()(Code)
Return the URL used to connect to this database. the database URL.



getUserName
public String getUserName()(Code)
Return the user name used to connect to this database. the user name



getVersionColumns
public java.sql.ResultSet getVersionColumns(String catalog, String schema, String table) throws SQLException(Code)
QED doesn't support this feature, but we return an empty ResultSet of the right signature as a courtesy.



insertsAreDetected
public boolean insertsAreDetected(int type)(Code)
JDBC specifies two criteria for determining whether inserts are detected.
  1. A row that has been inserted appears in the ResultSet object without having to close and reopen it
  2. and
  3. The method ResultSet.rowInserted will return true if the current row was one inserted after the ResultSet was opened

This release of QED always returns false to ResultSet.rowInserted.
Parameters:
  type - the type of ResultSet false




isCatalogAtStart
public boolean isCatalogAtStart() throws SQLException(Code)
Catalogs aren't supported in QED, but we'll play along at thig point. Return true, yep, catalog is at start



isReadOnly
public boolean isReadOnly()(Code)
This release of QED doesn't support read-only connections or databases, completely.... false



locatorsUpdateCopy
public boolean locatorsUpdateCopy() throws SQLException(Code)
Indicates whether updates made to a LOB are made on a copy or directly to the LOB. true if updates are made to a copy of the LOB;false if updates are made directly to the LOB
throws:
  SQLException - if a database access error occurs
since:
   1.4



nullPlusNonNullIsNull
public boolean nullPlusNonNullIsNull()(Code)
Most boolean operators (e.g, arithmetic, logical, string operators) produce a NULL result when one of the operands is NULL. One notable exception is logical operators such as AND and OR, where, e.g., (NULL AND FALSE) = FALSE true



nullsAreSortedAtEnd
public boolean nullsAreSortedAtEnd()(Code)
In QED, NULLs are sorted low. false



nullsAreSortedAtStart
public boolean nullsAreSortedAtStart()(Code)
In QED, NULLs are sorted low. false



nullsAreSortedHigh
public boolean nullsAreSortedHigh()(Code)
In QED, NULLs are sorted low. false



nullsAreSortedLow
public boolean nullsAreSortedLow()(Code)
In QED, NULLs are sorted low. true



othersDeletesAreVisible
public boolean othersDeletesAreVisible(int type)(Code)
Due to QED's table-level locking strategy, combined with strictly serializable transaction execution, it's not possible to see other transaction's deletes
Parameters:
  type - the ResultSet type, ignored false



othersInsertsAreVisible
public boolean othersInsertsAreVisible(int type)(Code)
Due to QED's table-level locking strategy, combined with strictly serializable transaction execution, it's not possible to see other transaction's inserts
Parameters:
  type - the ResultSet type, ignored false



othersUpdatesAreVisible
public boolean othersUpdatesAreVisible(int type)(Code)
Due to QED's table-level locking strategy, combined with strictly serializable transaction execution, it's not possible to see other transaction's updates
Parameters:
  type - the ResultSet type, ignored false



ownDeletesAreVisible
public boolean ownDeletesAreVisible(int type)(Code)
This release of QED doesn't fully support visible change detection.
Parameters:
  type - the ResultSet type, ignored false



ownInsertsAreVisible
public boolean ownInsertsAreVisible(int type)(Code)
This release of QED doesn't fully support visible change detection.
Parameters:
  type - the ResultSet type, ignored false



ownUpdatesAreVisible
public boolean ownUpdatesAreVisible(int type)(Code)
This release of QED doesn't fully support visible change detection.
Parameters:
  type - the ResultSet type, ignored true



parseExpression
Expression parseExpression(String s) throws SQLException(Code)



storesLowerCaseIdentifiers
public boolean storesLowerCaseIdentifiers()(Code)
QED treats mixed case identifiers in SQL statements as case-insensitve and stores them internally in upper case. false



storesLowerCaseQuotedIdentifiers
public boolean storesLowerCaseQuotedIdentifiers()(Code)
QED treats mixed case quoted identifiers in SQL statements as case-insensitve and stores them internally in upper case. false



storesMixedCaseIdentifiers
public boolean storesMixedCaseIdentifiers()(Code)
QED treats mixed case identifiers in SQL statements as case-insensitve and stores them internally in upper case. false



storesMixedCaseQuotedIdentifiers
public boolean storesMixedCaseQuotedIdentifiers()(Code)
QED treats mixed case quoted identifiers in SQL statements as case-insensitve and stores them internally in upper case. false



storesUpperCaseIdentifiers
public boolean storesUpperCaseIdentifiers()(Code)
QED treats mixed case identifiers in SQL statements as case-insensitve and stores them internally in upper case. true



storesUpperCaseQuotedIdentifiers
public boolean storesUpperCaseQuotedIdentifiers()(Code)
QED treats mixed case quoted identifiers in SQL statements as case-insensitve and stores them internally in upper case. true



supportsANSI92EntryLevelSQL
public boolean supportsANSI92EntryLevelSQL()(Code)
QED supports Entry Level SQL 92 true



supportsANSI92FullSQL
public boolean supportsANSI92FullSQL()(Code)
QED supports many, but not all, of the features of Full SQL 92.
  • Bit Strings, Timestamps with explicit precision
  • UPPER(), LOWER()
  • CROSS JOIN, UNION JOIN
  • IS [NOT] {TRUE|FALSE|UNKNOWN}
  • MATCH conditions in foreign key constraints
  • TABLE table
Not supported are the following:
  • CONNECT, SET CONNECTION, DISCONNECT
  • SET CATALOG (or catalogs at all), SET SCHEMA, SET NAMES
  • POSITION()
  • CREATE ASSERTION, DROP ASSERTION
  • ON UPDATE in foreign key constraints
  • TEMPORARY tables
false



supportsANSI92IntermediateSQL
public boolean supportsANSI92IntermediateSQL()(Code)
QED supports many Intermediate Level features from SQL 92:
  • Long identifiers, lowercase identifiers, named constraints
  • Datetimes, intervals
  • CHARACTER_LENGTH(), OCTET_LENGTH(), SUBSTRING(), TRIM(), CAST()
  • JOIN, EXCEPT, INTERSECT, UNION CORRESPONDING
  • SELECT AS, SELECT column-commalist, SELECT X.*
  • UNIQUE
  • ALTER TABLE, DROP TABLE, DROP VIEW
  • Many other entry level restrictions are relaxed.
Not supported are the following:
  • CURRENT_USER(), SYSTEM_USER()
  • DROP SCHEMA
  • ON DELETE in foreign key definitions
  • Dynamic SQL, explicit SQL CURSOR support (e.g., FOR UPDATE), anything that basically overlaps with JDBC functionality.
    • false



supportsAlterTableWithAddColumn
public boolean supportsAlterTableWithAddColumn()(Code)
QED supports ALTER TABLE ADD COLUMN true



supportsAlterTableWithDropColumn
public boolean supportsAlterTableWithDropColumn()(Code)
This release of QED doesn't support ALTER TABLE DROP COLUMN false



supportsBatchUpdates
public boolean supportsBatchUpdates()(Code)
This release of QED doesn't support batch updates false



supportsCatalogsInDataManipulation
public boolean supportsCatalogsInDataManipulation()(Code)
QED doesn't support catalogs false



supportsCatalogsInIndexDefinitions
public boolean supportsCatalogsInIndexDefinitions() throws SQLException(Code)
QED doesn't support catalogs false



supportsCatalogsInPrivilegeDefinitions
public boolean supportsCatalogsInPrivilegeDefinitions()(Code)
QED doesn't support catalogs false



supportsCatalogsInProcedureCalls
public boolean supportsCatalogsInProcedureCalls()(Code)
QED doesn't support catalogs false



supportsCatalogsInTableDefinitions
public boolean supportsCatalogsInTableDefinitions()(Code)
QED doesn't support catalogs false



supportsColumnAliasing
public boolean supportsColumnAliasing()(Code)
QED supports column aliasing via the AS clause of the SELECT statement. true



supportsConvert
public boolean supportsConvert()(Code)
This QED release doesn't implement the CONVERT function. Use the SQL CAST expression AS type construct instead. false



supportsConvert
public boolean supportsConvert(int fromType, int toType)(Code)
This QED release doesn't implement the CONVERT function. Use the SQL CAST expression AS type construct instead.
Parameters:
  fromType - the type to convert from
Parameters:
  toType - the type to conver to false



supportsCoreSQLGrammar
public boolean supportsCoreSQLGrammar()(Code)
QED supports everything in the ODBC Core SQL grammar except GRANT and REVOKE. false



supportsCorrelatedSubqueries
public boolean supportsCorrelatedSubqueries()(Code)
QED supports correlated sub-queries true



supportsDataDefinitionAndDataManipulationTransactions
public boolean supportsDataDefinitionAndDataManipulationTransactions()(Code)
Both data definition statements and data manipulation statements can be arbitrarily mixed within a transaction. true



supportsDataManipulationTransactionsOnly
public boolean supportsDataManipulationTransactionsOnly()(Code)
The JDBC spec says that this function should return true if
this database supports only data manipulation statements within a transaction
. It's not clear what this is supposed to mean. (If data definition statements can be included in a transaction, should this function return false?). In any case QED allows transactions that contain only data manipulation statements, so this function returns true. true



supportsDifferentTableCorrelationNames
public boolean supportsDifferentTableCorrelationNames()(Code)
Table correlation names are supported in QED, but they are not required to be different from the names of the source tables, so this function returns false. false



supportsExpressionsInOrderBy
public boolean supportsExpressionsInOrderBy()(Code)
In QED, ORDER BY clauses must specify column names false



supportsExtendedSQLGrammar
public boolean supportsExtendedSQLGrammar()(Code)
QED doesn't fully support the ODBC Extended SQL grammar false



supportsFullOuterJoins
public boolean supportsFullOuterJoins()(Code)
QED supports full nested outer joins true



supportsGetGeneratedKeys
public boolean supportsGetGeneratedKeys() throws SQLException(Code)
Retrieves whether auto-generated keys can be retrieved after a statement has been executed. true if auto-generated keys can be retrievedafter a statement has executed; false otherwise
exception:
  SQLException - if a database access error occurs
since:
   1.4



supportsGroupBy
public boolean supportsGroupBy()(Code)
QED supports GROUP BY true



supportsGroupByBeyondSelect
public boolean supportsGroupByBeyondSelect()(Code)
In QED, the GROUP BY clause can only specify columns that are in the SELECT clause. false



supportsGroupByUnrelated
public boolean supportsGroupByUnrelated()(Code)
In QED, the GROUP BY clause can only specify columns that are in the SELECT clause. false



supportsIntegrityEnhancementFacility
public boolean supportsIntegrityEnhancementFacility()(Code)
QED supports the SQL "integrity enhancement facility" true



supportsLikeEscapeClause
public boolean supportsLikeEscapeClause()(Code)
QED supports the LIKE escape clause using the standard SQL-92 escape syntax. true



supportsLimitedOuterJoins
public boolean supportsLimitedOuterJoins()(Code)
Since supportsFullOuterJoins() returns true, this method should return true as well. And so it does. true



supportsMinimumSQLGrammar
public boolean supportsMinimumSQLGrammar()(Code)
QED supports the ODBC Minimum SQL grammar true



supportsMixedCaseIdentifiers
public boolean supportsMixedCaseIdentifiers()(Code)
QED converts mixed case identifiers to upper case for storage in the metadata structures. false



supportsMixedCaseQuotedIdentifiers
public boolean supportsMixedCaseQuotedIdentifiers()(Code)
QED converts mixed case quoted identifiers to upper case for storage in the metadata structures. false



supportsMultipleOpenResults
public boolean supportsMultipleOpenResults() throws SQLException(Code)
Retrieves whether it is possible to have multiple ResultSet objects returned from a CallableStatement object simultaneously. true if a CallableStatement objectcan return multiple ResultSet objectssimultaneously; false otherwise
exception:
  SQLException - if a datanase access error occurs
since:
   1.4



supportsMultipleResultSets
public boolean supportsMultipleResultSets()(Code)
This QED release supports only a single active result set per Statement. false



supportsMultipleTransactions
public boolean supportsMultipleTransactions()(Code)
QED supports multiple simultaneous transactions (on different connections) true



supportsNamedParameters
public boolean supportsNamedParameters() throws SQLException(Code)
Retrieves whether this database supports named parameters to callable statements. true if named parameters are supported; false otherwise
exception:
  SQLException - if a database access error occurs
since:
   1.4



supportsNonNullableColumns
public boolean supportsNonNullableColumns()(Code)
QED supports definining columns as non-nullable, via the standard SQL-92 NOT NULL constraint. true



supportsOpenCursorsAcrossCommit
public boolean supportsOpenCursorsAcrossCommit()(Code)
A commit causes any open cursors in this connection to be closed false



supportsOpenCursorsAcrossRollback
public boolean supportsOpenCursorsAcrossRollback()(Code)
A rollback causes any open cursors in this connection to be closed false



supportsOpenStatementsAcrossCommit
public boolean supportsOpenStatementsAcrossCommit()(Code)
Statements per se are not closed by QED on commit, but the ResultSet associated with a statement is. true



supportsOpenStatementsAcrossRollback
public boolean supportsOpenStatementsAcrossRollback()(Code)
Statements per se are not closed by QED on rollback, but the ResultSet associated with a statement is. true



supportsOrderByUnrelated
public boolean supportsOrderByUnrelated()(Code)
In QED, the ORDER BY clause can only specify columns that are in the SELECT clause. false



supportsOuterJoins
public boolean supportsOuterJoins()(Code)
QED supports the full set of SQL-92 outer join operations. true



supportsPositionedDelete
public boolean supportsPositionedDelete()(Code)
QED supports positioned DELETE statements. true



supportsPositionedUpdate
public boolean supportsPositionedUpdate()(Code)
QED supports positioned UPDATE statements. true



supportsResultSetConcurrency
public boolean supportsResultSetConcurrency(int type, int concurrency)(Code)
This release of QED supports TYPE_FORWARD_ONLY ResultSets, with either ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE concurrency
Parameters:
  type - the ResultSet type
Parameters:
  concurrency - the concurrency level true if the type == ResultSet.TYPE_FORWARD_ONLY.



supportsResultSetHoldability
public boolean supportsResultSetHoldability(int holdability) throws SQLException(Code)
Retrieves whether this database supports the given result set holdability.
Parameters:
  holdability - one of the following constants:ResultSet.HOLD_CURSORS_OVER_COMMIT orResultSet.CLOSE_CURSORS_AT_COMMIT true if so; false otherwise
exception:
  SQLException - if a database access error occurs
See Also:   Connection
since:
   1.4



supportsResultSetType
public boolean supportsResultSetType(int type)(Code)
This release of QED supports TYPE_FORWARD_ONLY ResultSets.
Parameters:
  type - the ResultSet type true if the type == ResultSet.TYPE_FORWARD_ONLY.



supportsSavepoints
public boolean supportsSavepoints() throws SQLException(Code)
Retrieves whether this database supports savepoints. true if savepoints are supported; false otherwise
exception:
  SQLException - if a database access error occurs
since:
   1.4



supportsSchemasInDataManipulation
public boolean supportsSchemasInDataManipulation()(Code)
QED supports using schema names in data manipulation statements. true



supportsSchemasInIndexDefinitions
public boolean supportsSchemasInIndexDefinitions()(Code)
QED supports using schema names in index definition statements. true



supportsSchemasInPrivilegeDefinitions
public boolean supportsSchemasInPrivilegeDefinitions()(Code)
QED doesn't support privilege definitions. false



supportsSchemasInProcedureCalls
public boolean supportsSchemasInProcedureCalls()(Code)
QED doesn't support stored procedures false



supportsSchemasInTableDefinitions
public boolean supportsSchemasInTableDefinitions()(Code)
QED supports using schema names in table definition statements. true



supportsSelectForUpdate
public boolean supportsSelectForUpdate()(Code)
QED supports the SELECT ... FOR UPDATE statement. true



supportsStatementPooling
public boolean supportsStatementPooling() throws SQLException(Code)
Retrieves weather this database supports statement pooling. true is so;false otherwise
throws:
  SQLExcpetion - if a database access error occurs
since:
   1.4



supportsStoredProcedures
public boolean supportsStoredProcedures()(Code)
QED doesn't support stored procedures false



supportsSubqueriesInComparisons
public boolean supportsSubqueriesInComparisons()(Code)
QED supports sub-queries in comparisons true



supportsSubqueriesInExists
public boolean supportsSubqueriesInExists()(Code)
QED supports sub-queries in EXISTS expressions true



supportsSubqueriesInIns
public boolean supportsSubqueriesInIns()(Code)
QED supports sub-queries in IN expressions true



supportsSubqueriesInQuantifieds
public boolean supportsSubqueriesInQuantifieds()(Code)
QED supports sub-queries in quantified expressions true



supportsTableCorrelationNames
public boolean supportsTableCorrelationNames()(Code)
QED supports table correlation names true



supportsTransactionIsolationLevel
public boolean supportsTransactionIsolationLevel(int level)(Code)
This release of QED only supports the transaction level Connection.TRANSACTION_SERIALIZABLE true iflevel == Connection.TRANSACTION_SERIALIZABLE



supportsTransactions
public boolean supportsTransactions()(Code)
QED supports transactions true



supportsUnion
public boolean supportsUnion()(Code)
QED supports UNION true



supportsUnionAll
public boolean supportsUnionAll()(Code)
QED supports UNION ALL true



updatesAreDetected
public boolean updatesAreDetected(int type)(Code)
This release of QED doesn't fully support detection of updates
Parameters:
  type - the ResultSet type false



usesLocalFilePerTable
public boolean usesLocalFilePerTable()(Code)
QED doesn't use a separate file per table false



usesLocalFiles
public boolean usesLocalFiles()(Code)
QED uses local files to store the database, the lock file, and the transaction logs. true



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.