📄 tinysqldatabasemetadata.java
字号:
/**
* Gets a comma-separated list of string functions. These are the
* X/Open CLI string function names used in the JDBC function escape
* clause.
*
* @return the list
* @exception SQLException if a database access error occurs
*/
public String getStringFunctions() {
return "";
}
/**
* Gets a comma-separated list of system functions. These are the
* X/Open CLI system function names used in the JDBC function escape
* clause.
*
* @return the list
* @exception SQLException if a database access error occurs
*/
public String getSystemFunctions() {
return "";
}
/**
* Gets a comma-separated list of time and date functions.
*
* @return the list
* @exception SQLException if a database access error occurs
*/
public String getTimeDateFunctions() {
return "";
}
/**
* Gets the string that can be used to escape wildcard characters.
* This is the string that can be used to escape '_' or '%' in
* the string pattern style catalog search parameters.
*
* <P>The '_' character represents any single character.
* <P>The '%' character represents any sequence of zero or
* more characters.
*
* @return the string used to escape wildcard characters
* @exception SQLException if a database access error occurs
*/
public String getSearchStringEscape() {
return "\\";
}
/**
* Gets all the "extra" characters that can be used in unquoted
* identifier names (those beyond a-z, A-Z, 0-9 and _).
*
* @return the string containing the extra characters
* @exception SQLException if a database access error occurs
*/
public String getExtraNameCharacters() {
return "";
}
//--------------------------------------------------------------------
// Functions describing which features are supported.
/**
* Is "ALTER TABLE" with add column supported?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsAlterTableWithAddColumn() {
return true; // !!!
}
/**
* Is "ALTER TABLE" with drop column supported?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsAlterTableWithDropColumn() {
return true; // !!!
}
/**
* Is column aliasing supported?
*
* <P>If so, the SQL AS clause can be used to provide names for
* computed columns or to provide alias names for columns as
* required.
*
* 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 supportsColumnAliasing() {
return true;
}
/**
* Are concatenations between NULL and non-NULL values NULL?
*
* 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 nullPlusNonNullIsNull() {
return true;
}
/**
* Is the CONVERT function between SQL types supported?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsConvert() {
return false;
}
/**
* Is CONVERT between the given SQL types supported?
*
* @param fromType the type to convert from
* @param toType the type to convert to
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
* @see Types
*/
public boolean supportsConvert(int fromType, int toType) {
return false;
}
/**
* Are table correlation names 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 supportsTableCorrelationNames() {
return false;
}
/**
* If table correlation names are supported, are they restricted
* to be different from the names of the tables?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsDifferentTableCorrelationNames() {
return false;
}
/**
* Are expressions in "ORDER BY" lists supported?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsExpressionsInOrderBy() {
return false;
}
/**
* Supports statement pooling?
*
*/
public boolean supportsStatementPooling() {
return false;
}
/**
* Can an "ORDER BY" clause use columns not in the SELECT statement?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsOrderByUnrelated() {
return false;
}
/**
* Is some form of "GROUP BY" clause supported?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsGroupBy() {
return false;
}
/**
* Can a "GROUP BY" clause use columns not in the SELECT?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsGroupByUnrelated() {
return false;
}
/**
* Can a "GROUP BY" clause add columns not in the SELECT
* provided it specifies all the columns in the SELECT?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsGroupByBeyondSelect() {
return false;
}
/**
* Is the escape character in "LIKE" clauses 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 supportsLikeEscapeClause() {
return false;
}
/**
* Are multiple ResultSets from a single execute supported?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsMultipleResultSets() {
return false;
}
/**
* Can we have multiple transactions open at once (on different
* connections)?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsMultipleTransactions() {
return false;
}
/**
* Can columns be defined as non-nullable?
*
* 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 supportsNonNullableColumns() {
return false;
}
/**
* Is the ODBC Minimum SQL grammar supported?
*
* All JDBC Compliant<sup><font size=-2>TM</font></sup> drivers must return true.
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsMinimumSQLGrammar() {
return false;
}
/**
* Is the ODBC Core SQL grammar supported?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsCoreSQLGrammar() {
return false;
}
/**
* Is the ODBC Extended SQL grammar supported?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsExtendedSQLGrammar() {
return false;
}
/**
* Is the ANSI92 entry level SQL grammar supported?
*
* All JDBC Compliant<sup><font size=-2>TM</font></sup> drivers must return true.
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsANSI92EntryLevelSQL() {
return false;
}
/**
* Is the ANSI92 intermediate SQL grammar supported?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsANSI92IntermediateSQL() {
return false;
}
/**
* Is the ANSI92 full SQL grammar supported?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsANSI92FullSQL() {
return false;
}
/**
* Is the SQL Integrity Enhancement Facility supported?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsIntegrityEnhancementFacility() {
return false;
}
/**
* Is some form of outer join supported?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsOuterJoins() {
return false;
}
/**
* Are full nested outer joins supported?
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsFullOuterJoins() {
return false;
}
/**
* Is there limited support for outer joins? (This will be true
* if supportFullOuterJoins is true.)
*
* @return <code>true</code> if so; <code>false</code> otherwise
* @exception SQLException if a database access error occurs
*/
public boolean supportsLimitedOuterJoins() {
return false;
}
/**
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -