⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 databasemetadata.java

📁 linux下的gcc编译器
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
  public String getDatabaseProductName() throws SQLException;  /**   * This method returns the version of the database product.   *   * @return The version of the database product.   * @exception SQLException If an error occurs.   */  public String getDatabaseProductVersion() throws SQLException;  /**   * This method returns the name of the JDBC driver.   *   * @return The name of the JDBC driver.   * @exception SQLException If an error occurs.   */  public String getDriverName() throws SQLException;  /**   * This method returns the version of the JDBC driver.   *   * @return The version of the JDBC driver.   * @exception SQLException If an error occurs.   */  public String getDriverVersion() throws SQLException;  /**   * This method returns the major version number of the JDBC driver.   *   * @return The major version number of the JDBC driver.   */  public int getDriverMajorVersion();  /**   * This method returns the minor version number of the JDBC driver.   *   * @return The minor version number of the JDBC driver.   */  public int getDriverMinorVersion();  /**   * 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 boolean usesLocalFiles() 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 boolean usesLocalFilePerTable() 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 boolean supportsMixedCaseIdentifiers() 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 boolean storesUpperCaseIdentifiers() 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 boolean storesLowerCaseIdentifiers() 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 boolean storesMixedCaseIdentifiers() 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 boolean supportsMixedCaseQuotedIdentifiers() 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 boolean storesUpperCaseQuotedIdentifiers() 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 boolean storesLowerCaseQuotedIdentifiers() 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 boolean storesMixedCaseQuotedIdentifiers() 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 String getIdentifierQuoteString() 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 String getSQLKeywords() 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 String getNumericFunctions() 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 String getStringFunctions() 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 String getSystemFunctions() 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 String getTimeDateFunctions() 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 String getSearchStringEscape() 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 String getExtraNameCharacters() 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 boolean supportsAlterTableWithAddColumn() 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 boolean supportsAlterTableWithDropColumn() 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 boolean supportsColumnAliasing() 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 boolean nullPlusNonNullIsNull() 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 boolean supportsConvert() 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 boolean supportsConvert(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 boolean supportsTableCorrelationNames() 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 boolean supportsDifferentTableCorrelationNames() 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 boolean supportsExpressionsInOrderBy() 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 boolean supportsOrderByUnrelated() 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 boolean supportsGroupBy() throws SQLException;  /**   * 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 boolean supportsGroupByUnrelated() 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 boolean supportsGroupByBeyondSelect() 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 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 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -