databasemetadata.java
来自「《移动Agent技术》一书的所有章节源代码。」· Java 代码 · 共 1,815 行 · 第 1/5 页
JAVA
1,815 行
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsColumnAliasing() throws SQLException;
/**
* Are concatenations between NULL and non-NULL values NULL?
*
* A JDBC-Compliant driver always returns true.
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean nullPlusNonNullIsNull() throws SQLException;
/**
* Is the CONVERT function between SQL types supported?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsConvert() throws SQLException;
/**
* Is CONVERT between the given SQL types supported?
*
* @param fromType the type to convert from
* @param toType the type to convert to
* @return true if so
* @exception SQLException if a database-access error occurs.
* @see Types
*/
boolean supportsConvert(int fromType, int toType) throws SQLException;
/**
* Are table correlation names supported?
*
* A JDBC-Compliant driver always returns true.
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsTableCorrelationNames() throws SQLException;
/**
* If table correlation names are supported, are they restricted
* to be different from the names of the tables?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsDifferentTableCorrelationNames() throws SQLException;
/**
* Are expressions in "ORDER BY" lists supported?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsExpressionsInOrderBy() throws SQLException;
/**
* Can an "ORDER BY" clause use columns not in the SELECT?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsOrderByUnrelated() throws SQLException;
/**
* Is some form of "GROUP BY" clause supported?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsGroupBy() throws SQLException;
/**
* Can a "GROUP BY" clause use columns not in the SELECT?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsGroupByUnrelated() throws SQLException;
/**
* Can a "GROUP BY" clause add columns not in the SELECT
* provided it specifies all the columns in the SELECT?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsGroupByBeyondSelect() throws SQLException;
/**
* Is the escape character in "LIKE" clauses supported?
*
* A JDBC-Compliant driver always returns true.
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsLikeEscapeClause() throws SQLException;
/**
* Are multiple ResultSets from a single execute supported?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsMultipleResultSets() throws SQLException;
/**
* Can we have multiple transactions open at once (on different
* connections)?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsMultipleTransactions() throws SQLException;
/**
* Can columns be defined as non-nullable?
*
* A JDBC-Compliant driver always returns true.
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsNonNullableColumns() throws SQLException;
/**
* Is the ODBC Minimum SQL grammar supported?
*
* All JDBC-Compliant drivers must return true.
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsMinimumSQLGrammar() throws SQLException;
/**
* Is the ODBC Core SQL grammar supported?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsCoreSQLGrammar() throws SQLException;
/**
* Is the ODBC Extended SQL grammar supported?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsExtendedSQLGrammar() throws SQLException;
/**
* Is the ANSI92 entry level SQL grammar supported?
*
* All JDBC-Compliant drivers must return true.
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsANSI92EntryLevelSQL() throws SQLException;
/**
* Is the ANSI92 intermediate SQL grammar supported?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsANSI92IntermediateSQL() throws SQLException;
/**
* Is the ANSI92 full SQL grammar supported?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsANSI92FullSQL() throws SQLException;
/**
* Is the SQL Integrity Enhancement Facility supported?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsIntegrityEnhancementFacility() throws SQLException;
/**
* Is some form of outer join supported?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsOuterJoins() throws SQLException;
/**
* Are full nested outer joins supported?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsFullOuterJoins() throws SQLException;
/**
* Is there limited support for outer joins? (This will be true
* if supportFullOuterJoins is true.)
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsLimitedOuterJoins() throws SQLException;
/**
* What's the database vendor's preferred term for "schema"?
*
* @return the vendor term
* @exception SQLException if a database-access error occurs.
*/
String getSchemaTerm() throws SQLException;
/**
* What's the database vendor's preferred term for "procedure"?
*
* @return the vendor term
* @exception SQLException if a database-access error occurs.
*/
String getProcedureTerm() throws SQLException;
/**
* What's the database vendor's preferred term for "catalog"?
*
* @return the vendor term
* @exception SQLException if a database-access error occurs.
*/
String getCatalogTerm() throws SQLException;
/**
* Does a catalog appear at the start of a qualified table name?
* (Otherwise it appears at the end)
*
* @return true if it appears at the start
* @exception SQLException if a database-access error occurs.
*/
boolean isCatalogAtStart() throws SQLException;
/**
* What's the separator between catalog and table name?
*
* @return the separator string
* @exception SQLException if a database-access error occurs.
*/
String getCatalogSeparator() throws SQLException;
/**
* Can a schema name be used in a data manipulation statement?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsSchemasInDataManipulation() throws SQLException;
/**
* Can a schema name be used in a procedure call statement?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsSchemasInProcedureCalls() throws SQLException;
/**
* Can a schema name be used in a table definition statement?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsSchemasInTableDefinitions() throws SQLException;
/**
* Can a schema name be used in an index definition statement?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsSchemasInIndexDefinitions() throws SQLException;
/**
* Can a schema name be used in a privilege definition statement?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsSchemasInPrivilegeDefinitions() throws SQLException;
/**
* Can a catalog name be used in a data manipulation statement?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsCatalogsInDataManipulation() throws SQLException;
/**
* Can a catalog name be used in a procedure call statement?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsCatalogsInProcedureCalls() throws SQLException;
/**
* Can a catalog name be used in a table definition statement?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsCatalogsInTableDefinitions() throws SQLException;
/**
* Can a catalog name be used in an index definition statement?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsCatalogsInIndexDefinitions() throws SQLException;
/**
* Can a catalog name be used in a privilege definition statement?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException;
/**
* Is positioned DELETE supported?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsPositionedDelete() throws SQLException;
/**
* Is positioned UPDATE supported?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsPositionedUpdate() throws SQLException;
/**
* Is SELECT for UPDATE supported?
*
* @return true if so
* @exception SQLException if a database-access error occurs.
*/
boolean supportsSelectForUpdate() throws SQLException;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?