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

📄 tinysqldatabasemetadata.java

📁 TinySQL是一个轻量级的纯java数据库引擎
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
     * What's the database vendor's preferred term for "schema"?
     *
     * @return the vendor term
     * @exception SQLException if a database access error occurs
     */
        public String getSchemaTerm() throws SQLException {
          throw new SQLException("tinySQL does not support schema term.");
        }

    /**
     * What's the database vendor's preferred term for "procedure"?
     *
     * @return the vendor term
     * @exception SQLException if a database access error occurs
     */
        public String getProcedureTerm() throws SQLException {
          throw new SQLException("tinySQL does not support procedure.");
        }

    /**
     * What's the database vendor's preferred term for "catalog"?
     *
     * @return the vendor term
     * @exception SQLException if a database access error occurs
     */
        public String getCatalogTerm() throws SQLException {
          throw new SQLException("tinySQL does not support catalog.");
        }

    /**
     * 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
     */
        public boolean isCatalogAtStart() {
          return false;
        }

    /**
     * What's the separator between catalog and table name?
     *
     * @return the separator string
     * @exception SQLException if a database access error occurs
     */
        public String getCatalogSeparator() throws SQLException {
          throw new SQLException("tinySQL does not catalog.");
        }

    /**
     * Can a schema name be used in a data manipulation statement?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsSchemasInDataManipulation() {
          return false;
        }

    /**
     * Can a schema name be used in a procedure call statement?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsSchemasInProcedureCalls() {
          return false;
        }

    /**
     * Can a schema name be used in a table definition statement?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsSchemasInTableDefinitions() {
          return false;
        }

    /**
     * Can a schema name be used in an index definition statement?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsSchemasInIndexDefinitions() {
          return false;
        }

    /**
     * Can a schema name be used in a privilege definition statement?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsSchemasInPrivilegeDefinitions() {
          return false;
        }

    /**
     * Can a catalog name be used in a data manipulation statement?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsCatalogsInDataManipulation() {
          return false;
        }

    /**
     * Can a catalog name be used in a procedure call statement?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsCatalogsInProcedureCalls() {
          return false;
        }

    /**
     * Can a catalog name be used in a table definition statement?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsCatalogsInTableDefinitions() {
          return false;
        }

    /**
     * Can a catalog name be used in an index definition statement?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsCatalogsInIndexDefinitions() {
          return false;
        }

    /**
     * Can a catalog name be used in a privilege definition statement?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsCatalogsInPrivilegeDefinitions() {
          return false;
        }


    /**
     * Is positioned DELETE supported?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsPositionedDelete() {
          return false;
        }

    /**
     * Is positioned UPDATE supported?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsPositionedUpdate() {
          return false;
        }

    /**
     * Is SELECT for UPDATE supported?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsSelectForUpdate() {
          return false;
        }

    /**
     * Are stored procedure calls using the stored procedure escape
     * syntax supported?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise 
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsStoredProcedures() {
          return false;
        }

    /**
     * Are subqueries in comparison expressions supported?
     *
     * A JDBC Compliant<sup><font size=-2>TM</font></sup> driver always returns true.
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsSubqueriesInComparisons() {
          return false;
        }

    /**
     * Are subqueries in 'exists' expressions supported?
     *
     * A JDBC Compliant<sup><font size=-2>TM</font></sup> driver always returns true.
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsSubqueriesInExists() {
          return false;
        }

    /**
     * Are subqueries in 'in' statements supported?
     *
     * A JDBC Compliant<sup><font size=-2>TM</font></sup> driver always returns true.
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsSubqueriesInIns() {
          return false;
        }

    /**
     * Are subqueries in quantified expressions supported?
     *
     * A JDBC Compliant<sup><font size=-2>TM</font></sup> driver always returns true.
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsSubqueriesInQuantifieds() {
          return false;
        }

    /**
     * Are correlated subqueries supported?
     *
     * A JDBC Compliant<sup><font size=-2>TM</font></sup> driver always returns true.
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsCorrelatedSubqueries() {
          return false;
        }

    /**
     * Is SQL UNION supported?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsUnion() {
          return false;
        }

    /**
     * Is SQL UNION ALL supported?
     *
     * @return <code>true</code> if so; <code>false</code> otherwise
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsUnionAll() {
          return false;
        }

    /**
     * Can cursors remain open across commits? 
     * 
     * @return <code>true</code> if cursors always remain open;
         *       <code>false</code> if they might not remain open
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsOpenCursorsAcrossCommit() {
          return false;
        }

    /**
     * Can cursors remain open across rollbacks?
     * 
     * @return <code>true</code> if cursors always remain open;
         *       <code>false</code> if they might not remain open
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsOpenCursorsAcrossRollback() {
          return false;
        }

    /**
     * Can statements remain open across commits?
     * 
     * @return <code>true</code> if statements always remain open;
         *       <code>false</code> if they might not remain open
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsOpenStatementsAcrossCommit() {
          return false;
        }

    /**
     * Can statements remain open across rollbacks?
     * 
     * @return <code>true</code> if statements always remain open;
         *       <code>false</code> if they might not remain open
     * @exception SQLException if a database access error occurs
     */
        public boolean supportsOpenStatementsAcrossRollback() {
          return false;
        }



    //----------------------------------------------------------------------
    // The following group of methods exposes various limitations 
    // based on the target database with the current driver.
    // Unless otherwise specified, a result of zero means there is no
    // limit, or the limit is not known.

    /**
     * How many hex characters can you have in an inline binary literal?
     *
     * @return max binary literal length in hex characters;
         *      a result of zero means that there is no limit or the limit is not known
     * @exception SQLException if a database access error occurs
     */
        public int getMaxBinaryLiteralLength() {
          return 0;
        }

    /**
     * What's the max length for a character literal?
     *
     * @return max literal length;
         *      a result of zero means that there is no limit or the limit is not known
     * @exception SQLException if a database access error occurs
     */
        public int getMaxCharLiteralLength() {
          return 0;
        }

    /**
     * What's the limit on column name length?
     *
     * @return max column name length;
         *      a result of zero means that there is no limit or the limit is not known
     * @exception SQLException if a database access error occurs
     */
        public int getMaxColumnNameLength() {
          return 10;
        }

    /**
     * What's the maximum number of columns in a "GROUP BY" clause?
     *
     * @return max number of columns;
         *      a result of zero means that there is no limit or the limit is not known
     * @exception SQLException if a database access error occurs
     */
        public int getMaxColumnsInGroupBy() {
          return 0;
        }

    /**

⌨️ 快捷键说明

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