📄 databasemetadata.java
字号:
/** * This method tests whether GROUP BY on a non-selected column is * allowed. * * @return <code>true</code> if a non-selected column can be used in a * GROUP BY, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsGroupByUnrelated() throws SQLException;/*************************************************************************//** * This method tests whether or not a GROUP BY can add columns not in the * select if it includes all the columns in the select. * * @return <code>true</code> if GROUP BY an add columns provided it includes * all columns in the select, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsGroupByBeyondSelect() throws SQLException;/*************************************************************************//** * This method tests whether or not the escape character is supported in * LIKE expressions. A fully JDBC compliant driver will always return * <code>true</code>. * * @return <code>true</code> if escapes are supported in LIKE expressions, * <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract boolean supportsLikeEscapeClause() throws SQLException;/*************************************************************************//** * This method tests whether multiple result sets for a single statement are * supported. * * @return <code>true</code> if multiple result sets are supported for a * single statement, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsMultipleResultSets() throws SQLException;/*************************************************************************//** * This method test whether or not multiple transactions may be open * at once, as long as they are on different connections. * * @return <code>true</code> if multiple transactions on different * connections are supported, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsMultipleTransactions() throws SQLException;/*************************************************************************//** * This method tests whether or not columns can be defined as NOT NULL. A * fully JDBC compliant driver always returns <code>true</code>. * * @return <code>true</code> if NOT NULL columns are supported, * <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsNonNullableColumns() throws SQLException;/*************************************************************************//** * This method tests whether or not the minimum grammer for ODBC is supported. * A fully JDBC compliant driver will always return <code>true</code>. * * @return <code>true</code> if the ODBC minimum grammar is supported, * <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsMinimumSQLGrammar() throws SQLException;/*************************************************************************//** * This method tests whether or not the core grammer for ODBC is supported. * * @return <code>true</code> if the ODBC core grammar is supported, * <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsCoreSQLGrammar() throws SQLException;/*************************************************************************//** * This method tests whether or not the extended grammer for ODBC is supported. * * @return <code>true</code> if the ODBC extended grammar is supported, * <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsExtendedSQLGrammar() throws SQLException;/*************************************************************************//** * This method tests whether or not the ANSI92 entry level SQL * grammar is supported. A fully JDBC compliant drivers must return * <code>true</code>. * * @return <code>true</code> if the ANSI92 entry level SQL grammar is * supported, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsANSI92EntryLevelSQL() throws SQLException;/*************************************************************************//** * This method tests whether or not the ANSI92 intermediate SQL * grammar is supported. * * @return <code>true</code> if the ANSI92 intermediate SQL grammar is * supported, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsANSI92IntermediateSQL() throws SQLException;/*************************************************************************//** * This method tests whether or not the ANSI92 full SQL * grammar is supported. * * @return <code>true</code> if the ANSI92 full SQL grammar is * supported, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsANSI92FullSQL() throws SQLException;/*************************************************************************//** * This method tests whether or not the SQL integrity enhancement * facility is supported. * * @return <code>true</code> if the integrity enhancement facility is * supported, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsIntegrityEnhancementFacility() throws SQLException;/*************************************************************************//** * This method tests whether or not the database supports outer joins. * * @return <code>true</code> if outer joins are supported, <code>false</code> * otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsOuterJoins() throws SQLException;/*************************************************************************//** * This method tests whether or not the database supports full outer joins. * * @return <code>true</code> if full outer joins are supported, * <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsFullOuterJoins() throws SQLException;/*************************************************************************//** * This method tests whether or not the database supports limited outer joins. * * @return <code>true</code> if limited outer joins are supported, * <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsLimitedOuterJoins() throws SQLException;/*************************************************************************//** * This method returns the vendor's term for "schema". * * @return The vendor's term for schema. * * @exception SQLException if an error occurs. */public abstract StringgetSchemaTerm() throws SQLException;/*************************************************************************//** * This method returns the vendor's term for "procedure". * * @return The vendor's term for procedure. * * @exception SQLException if an error occurs. */public abstract StringgetProcedureTerm() throws SQLException;/*************************************************************************//** * This method returns the vendor's term for "catalog". * * @return The vendor's term for catalog. * * @exception SQLException if an error occurs. */public abstract StringgetCatalogTerm() throws SQLException;/*************************************************************************//** * This method tests whether a catalog name appears at the beginning of * a fully qualified table name. * * @return <code>true</code> if the catalog name appears at the beginning, * <code>false</code> if it appears at the end. * * @exception SQLException If an error occurs. */public abstract booleanisCatalogAtStart() throws SQLException;/*************************************************************************//** * This method returns the separator between the catalog name and the * table name. * * @return The separator between the catalog name and the table name. * * @exception SQLException If an error occurs. */public abstract StringgetCatalogSeparator() throws SQLException;/*************************************************************************//** * This method tests whether a catalog name can appear in a data * manipulation statement. * * @return <code>true</code> if a catalog name can appear in a data * manipulation statement, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsSchemasInDataManipulation() throws SQLException;/*************************************************************************//** * This method tests whether a catalog name can appear in a procedure * call * * @return <code>true</code> if a catalog name can appear in a procedure * call, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsSchemasInProcedureCalls() throws SQLException;/*************************************************************************//** * This method tests whether a catalog name can appear in a table definition. * * @return <code>true</code> if a catalog name can appear in a table * definition, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsSchemasInTableDefinitions() throws SQLException;/*************************************************************************//** * This method tests whether a catalog name can appear in an index definition. * * @return <code>true</code> if a catalog name can appear in an index * definition, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsSchemasInIndexDefinitions() throws SQLException;/*************************************************************************//** * This method tests whether a catalog name can appear in privilege definitions. * * @return <code>true</code> if a catalog name can appear in privilege * definition, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsSchemasInPrivilegeDefinitions() throws SQLException;/*************************************************************************//** * This method tests whether a catalog name can appear in a data * manipulation statement. * * @return <code>true</code> if a catalog name can appear in a data * manipulation statement, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsCatalogsInDataManipulation() throws SQLException;/*************************************************************************//** * This method tests whether a catalog name can appear in a procedure * call * * @return <code>true</code> if a catalog name can appear in a procedure * call, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsCatalogsInProcedureCalls() throws SQLException;/*************************************************************************//** * This method tests whether a catalog name can appear in a table definition. * * @return <code>true</code> if a catalog name can appear in a table * definition, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsCatalogsInTableDefinitions() throws SQLException;/*************************************************************************//** * This method tests whether a catalog name can appear in an index definition. * * @return <code>true</code> if a catalog name can appear in an index * definition, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsCatalogsInIndexDefinitions() throws SQLException;/*************************************************************************//** * This method tests whether a catalog name can appear in privilege definitions. * * @return <code>true</code> if a catalog name can appear in privilege * definition, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsCatalogsInPrivilegeDefinitions() throws SQLException;/*************************************************************************//** * This method tests whether or not that database supports positioned * deletes. * * @return <code>true</code> if positioned deletes are supported, * <code>false</code> otherwise. *
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -