Method Summary |
|
void | clearCache() Clear cache of commonly accessed metadata properties. |
boolean | correctlySupportsSetMaxRows() Retrieve whether this driver correctly handles Statement.setMaxRows(int).
Some drivers such as version 5.02 of the Opta2000 driver use setMaxRows
for UPDATEs, DELETEs etc. |
BestRowIdentifier[] | getBestRowIdentifier(ITableInfo ti) |
String | getCascadeClause() Returns the "cascade" constraints clause which is supported by some
databases when performing a delete to removed child records in dependent
tables which would otherwise be orphaned and make the delete fail. |
String | getCatalogSeparator() Retrieves the String that this database uses as the separator between a
catalog and table name. |
String | getCatalogTerm() Retrieves the database vendor's preferred term for "catalog". |
String[] | getCatalogs() Return a string array containing the names of all the catalogs in the
database. |
TableColumnInfo[] | getColumnInfo(String catalog, String schema, String table) |
TableColumnInfo[] | getColumnInfo(ITableInfo ti) |
IDataSet | getColumnPrivilegesDataSet(ITableInfo ti, int[] columnIndices, boolean computeWidths) |
IDataSet | getColumns(ITableInfo ti, int[] columnIndices, boolean computeWidths) |
DataTypeInfo[] | getDataTypes() Retrieve information about the data types in the database. |
int | getDatabaseMajorVersion() Return the database major version for this connection. |
String | getDatabaseProductName() Return the database product name for this connection. |
String | getDatabaseProductVersion() Return the database product version for this connection. |
String | getDriverName() Return the JDBC driver name for this connection. |
IDataSet | getExportedKeysDataSet(ITableInfo ti) |
ForeignKeyInfo[] | getExportedKeysInfo(String catalog, String schema, String tableName) |
ForeignKeyInfo[] | getExportedKeysInfo(ITableInfo ti) |
String | getIdentifierQuoteString() Return the string used to quote characters in this DBMS. |
IDataSet | getImportedKeysDataSet(ITableInfo ti) |
ForeignKeyInfo[] | getImportedKeysInfo(String catalog, String schema, String tableName) |
ForeignKeyInfo[] | getImportedKeysInfo(ITableInfo ti) |
ResultSetDataSet | getIndexInfo(ITableInfo ti, int[] columnIndices, boolean computeWidths) |
public List<IndexInfo> | getIndexInfo(ITableInfo ti) Returns a list of IndexInfos describing indexes for the specified table.
Parameters: ti - the table to find all index information for. |
DatabaseMetaData | getJDBCMetaData() Return the DatabaseMetaData object for this connection. |
int | getJDBCVersion() Return the JDBC version of this driver. |
IDataSet | getMetaDataSet() |
String[] | getNumericFunctions() Retrieve the names of the Numeric Functions that this DBMS supports. |
IDataSet | getPrimaryKey(ITableInfo ti, int[] columnIndices, boolean computeWidths) |
PrimaryKeyInfo[] | getPrimaryKey(ITableInfo ti) |
PrimaryKeyInfo[] | getPrimaryKey(String catalog, String schema, String table) |
IDataSet | getProcedureColumnsDataSet(IProcedureInfo ti) |
String | getProcedureTerm() Retrieves the database vendor's preferred term for "procedure". |
IProcedureInfo[] | getProcedures(String catalog, String schemaPattern, String procedureNamePattern, ProgressCallBack progressCallBack) NOTE: This method should only be used by SchemaInfo since this class should not and does not cache. |
String[] | getSQLKeywords() Retrieve the names of the non-standard keywords that this DBMS supports. |
String | getSchemaTerm() Retrieves the database vendor's preferred term for "schema". |
String[] | getSchemas() Return a string array containing the names of all the schemas in the
database. |
String[] | getStringFunctions() Retrieve the names of the String Functions that this DBMS supports. |
String[] | getSystemFunctions() Retrieve the names of the System Functions that this DBMS supports. |
IDataSet | getTablePrivilegesDataSet(ITableInfo ti, int[] columnIndices, boolean computeWidths) |
String[] | getTableTypes() Return a string array containing the different types of tables in this
database. |
ITableInfo[] | getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types, ProgressCallBack progressCallBack) NOTE: This method should only be used by SchemaInfo since this class sholud not and does not cache. |
String[] | getTimeDateFunctions() Retrieve the names of the Date/Time Functions that this DBMS supports. |
IDataSet | getTypesDataSet() |
IUDTInfo[] | getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) Retrieve information about the UDTs in the system.
Parameters: catalog - The name of the catalog to retrieve UDTsfor. |
String | getURL() Retrieves the URL for this DBMS. |
String | getUserName() Return the name of the current user. |
IDataSet | getVersionColumnsDataSet(ITableInfo ti) |
boolean | storesUpperCaseIdentifiers() Retrieves whether this database treats mixed case unquoted SQL
identifiers as case insensitive and stores them in upper case. |
boolean | supportsCatalogs() Retrieves whether this database supports catalogs at all. |
boolean | supportsCatalogsInDataManipulation() Retrieves whether a catalog name can be used in a data manipulation
statement. |
boolean | supportsCatalogsInProcedureCalls() Retrieves whether a catalog name can be used in a procedure call. |
boolean | supportsCatalogsInTableDefinitions() Retrieves whether a catalog name can be used in a table definition
statement. |
boolean | supportsMultipleResultSets() Retrieve whether this driver supports multiple result sets. |
boolean | supportsResultSetType(int type) Retrieves whether this DBMS supports result sets of the specified type. |
boolean | supportsSavepoints() Retrieves whether this DBMS supports save points. |
boolean | supportsSchemas() Retrieves whether this database supports schemas at all. |
boolean | supportsSchemasInDataManipulation() Retrieves whether a schema name can be used in a data manipulation
statement. |
boolean | supportsSchemasInTableDefinitions() Retrieves whether a schema name can be used in a table definition
statement. |
boolean | supportsStoredProcedures() Retrieves whether this DBMS supports stored procedures. |