📄 databasemetadata.java
字号:
* This method returns the version of the JDBC driver. * * @return The version of the JDBC driver. * * @exception SQLException If an error occurs. */public abstract StringgetDriverVersion() throws SQLException;/*************************************************************************//** * This method returns the major version number of the JDBC driver. * * @return The major version number of the JDBC driver. */public abstract intgetDriverMajorVersion();/*************************************************************************//** * This method returns the minor version number of the JDBC driver. * * @return The minor version number of the JDBC driver. */public abstract intgetDriverMinorVersion();/*************************************************************************//** * This method tests whether or not the database uses local files to * store tables. * * @return <code>true</code> if the database uses local files, * <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleanusesLocalFiles() throws SQLException;/*************************************************************************//** * This method tests whether or not the database uses a separate file for * each table. * * @return <code>true</code> if the database uses a separate file for each * table </code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleanusesLocalFilePerTable() throws SQLException;/*************************************************************************//** * This method tests whether or not the database supports identifiers * with mixed case. * * @return <code>true</code> if the database supports mixed case identifiers, * <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsMixedCaseIdentifiers() throws SQLException;/*************************************************************************//** * This method tests whether or not the database treats mixed case * identifiers as all upper case. * * @exception <code>true</code> if the database treats all identifiers as * upper case, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleanstoresUpperCaseIdentifiers() throws SQLException;/*************************************************************************//** * This method tests whether or not the database treats mixed case * identifiers as all lower case. * * @exception <code>true</code> if the database treats all identifiers as * lower case, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleanstoresLowerCaseIdentifiers() throws SQLException;/*************************************************************************//** * This method tests whether or not the database stores mixed case * identifers even if it treats them as case insensitive. * * @return <code>true</code> if the database stores mixed case identifiers, * <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleanstoresMixedCaseIdentifiers() throws SQLException;/*************************************************************************//** * This method tests whether or not the database supports quoted identifiers * with mixed case. * * @return <code>true</code> if the database supports mixed case quoted * identifiers, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsMixedCaseQuotedIdentifiers() throws SQLException;/*************************************************************************//** * This method tests whether or not the database treats mixed case * quoted identifiers as all upper case. * * @exception <code>true</code> if the database treats all quoted identifiers * as upper case, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleanstoresUpperCaseQuotedIdentifiers() throws SQLException;/*************************************************************************//** * This method tests whether or not the database treats mixed case * quoted identifiers as all lower case. * * @exception <code>true</code> if the database treats all quoted identifiers * as lower case, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleanstoresLowerCaseQuotedIdentifiers() throws SQLException;/*************************************************************************//** * This method tests whether or not the database stores mixed case * quoted identifers even if it treats them as case insensitive. * * @return <code>true</code> if the database stores mixed case quoted * identifiers, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleanstoresMixedCaseQuotedIdentifiers() throws SQLException;/*************************************************************************//** * This metohd returns the quote string for SQL identifiers. * * @return The quote string for SQL identifers, or a space if quoting * is not supported. * * @exception SQLException If an error occurs. */public abstract StringgetIdentifierQuoteString() throws SQLException;/*************************************************************************//** * This method returns a comma separated list of all the SQL keywords in * the database that are not in SQL92. * * @return The list of SQL keywords not in SQL92. * * @exception SQLException If an error occurs. */public abstract StringgetSQLKeywords() throws SQLException;/*************************************************************************//** * This method returns a comma separated list of math functions. * * @return The list of math functions. * * @exception SQLException If an error occurs. */public abstract StringgetNumericFunctions() throws SQLException;/*************************************************************************//** * This method returns a comma separated list of string functions. * * @return The list of string functions. * * @exception SQLException If an error occurs. */public abstract StringgetStringFunctions() throws SQLException;/*************************************************************************//** * This method returns a comma separated list of of system functions. * * @return A comma separated list of system functions. * * @exception SQLException If an error occurs. */public abstract StringgetSystemFunctions() throws SQLException;/*************************************************************************//** * This method returns comma separated list of time/date functions. * * @return The list of time/date functions. * * @exception SQLException If an error occurs. */public abstract StringgetTimeDateFunctions() throws SQLException;/*************************************************************************//** * This method returns the string used to escape wildcards in search strings. * * @return The string used to escape wildcards in search strings. * * @exception SQLException If an error occurs. */public abstract StringgetSearchStringEscape() throws SQLException;/*************************************************************************//** * This methods returns non-standard characters that can appear in * unquoted identifiers. * * @return Non-standard characters that can appear in unquoted identifiers. * * @exception SQLException If an error occurs. */public abstract StringgetExtraNameCharacters() throws SQLException;/*************************************************************************//** * This method tests whether or not the database supports * "ALTER TABLE ADD COLUMN" * * @return <code>true</code> if column add supported, <code>false</code> * otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsAlterTableWithAddColumn() throws SQLException;/*************************************************************************//** * This method tests whether or not the database supports * "ALTER TABLE DROP COLUMN" * * @return <code>true</code> if column drop supported, <code>false</code> * otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsAlterTableWithDropColumn() throws SQLException;/*************************************************************************//** * This method tests whether or not column aliasing is supported. * * @return <code>true</code> if column aliasing is supported, * <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsColumnAliasing() throws SQLException;/*************************************************************************//** * This method tests whether the concatenation of a NULL and non-NULL * value results in a NULL. This will always be true in fully JDBC compliant * drivers. * * @return <code>true</code> if concatenating NULL and a non-NULL value * returns a NULL, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleannullPlusNonNullIsNull() throws SQLException;/*************************************************************************//** * Tests whether or not CONVERT is supported. * * @return <code>true</code> if CONVERT is supported, <code>false</code> * otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsConvert() throws SQLException;/*************************************************************************//** * This method tests whether or not CONVERT can be performed between the * specified types. The types are contants from <code>Types</code>. * * @param fromType The SQL type to convert from. * @param toType The SQL type to convert to. * * @return <code>true</code> if the conversion can be performed, * <code>false</code> otherwise. * * @see Types */public abstract booleansupportsConvert(int fromType, int toType) throws SQLException;/*************************************************************************//** * This method tests whether or not table correlation names are * supported. This will be always be <code>true</code> in a fully JDBC * compliant driver. * * @return <code>true</code> if table correlation names are supported, * <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsTableCorrelationNames() throws SQLException;/*************************************************************************//** * This method tests whether correlation names must be different from the * name of the table. * * @return <code>true</code> if the correlation name must be different from * the table name, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsDifferentTableCorrelationNames() throws SQLException;/*************************************************************************//** * This method tests whether or not expressions are allowed in an * ORDER BY lists. * * @return <code>true</code> if expressions are allowed in ORDER BY * lists, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsExpressionsInOrderBy() throws SQLException;/*************************************************************************//** * This method tests whether or ORDER BY on a non-selected column is * allowed. * * @return <code>true</code> if a non-selected column can be used in an * ORDER BY, <code>false</code> otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsOrderByUnrelated() throws SQLException;/*************************************************************************//** * This method tests whether or not GROUP BY is supported. * * @return <code>true</code> if GROUP BY is supported, <code>false</code> * otherwise. * * @exception SQLException If an error occurs. */public abstract booleansupportsGroupBy() throws SQLException;/*************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -