|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.net.sharenet.ShareNetDatabaseMetaData
public class ShareNetDatabaseMetaData
This is the SAS/SHARE Driver for JDBC implementation for java.sql.DatabaseMetaData.
Field Summary | |
---|---|
protected short |
sv
|
Method Summary | ||
---|---|---|
boolean |
allProceduresAreCallable()
Determines whether all stored procedures are callable. |
|
boolean |
allTablesAreSelectable()
Determines whether all accessible tables are selectable. |
|
boolean |
autoCommitFailureClosesAllResultSets()
This method is not supported. |
|
boolean |
dataDefinitionCausesTransactionCommit()
Determines whether a data definition statement within a transaction forces the transaction to commit. |
|
boolean |
dataDefinitionIgnoredInTransactions()
Determines whether a data definition statement within a transaction is ignored. |
|
boolean |
deletesAreDetected(int type)
JDBC 2.0 Determines whether or not a visible row delete can be detected by calling ResultSet.rowDeleted(). |
|
boolean |
doesMaxRowSizeIncludeBlobs()
Determines whether getMaxRowSize() includes LONGVARCHAR and LONGVARBINARY blobs. |
|
java.sql.ResultSet |
getAttributes(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String typeNamePattern,
java.lang.String attributeNamePattern)
Retrieves a description of the given attribute of the given type for a user-defined type (UDT) that is available in the given schema and catalog. |
|
java.sql.ResultSet |
getBestRowIdentifier(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
int scope,
boolean nullable)
Gets a description of a table's optimal set of columns that uniquely identifies a row. |
|
java.sql.ResultSet |
getCatalogs()
Gets the catalog names that are available in this database. |
|
java.lang.String |
getCatalogSeparator()
Gets the separator that is being used between the catalog name and the table name. |
|
java.lang.String |
getCatalogTerm()
Gets the preferred term for "catalog". |
|
java.sql.ResultSet |
getClientInfoProperties()
This method is not supported. |
|
java.sql.ResultSet |
getColumnPrivileges(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
java.lang.String columnNamePattern)
Gets a description of the access rights for a table's columns. |
|
java.sql.ResultSet |
getColumns(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern,
java.lang.String columnNamePattern)
Gets a description of table columns available in a catalog. |
|
java.sql.Connection |
getConnection()
JDBC 2.0 Gets the connection that produced this metadata object. |
|
java.sql.ResultSet |
getCrossReference(java.lang.String primaryCatalog,
java.lang.String primarySchema,
java.lang.String primaryTable,
java.lang.String foreignCatalog,
java.lang.String foreignSchema,
java.lang.String foreignTable)
Gets a description of the foreign key columns in the foreign key table that reference the primary key columns of the primary key table. |
|
int |
getDatabaseMajorVersion()
Retrieves the major version number of the underlying database. |
|
int |
getDatabaseMinorVersion()
Retrieves the minor version number of the underlying database. |
|
java.lang.String |
getDatabaseProductName()
Gets the database product name. |
|
java.lang.String |
getDatabaseProductVersion()
Returns the version of the SAS/SHARE server. |
|
int |
getDefaultTransactionIsolation()
Gets the default transaction isolation level for the database. |
|
int |
getDriverMajorVersion()
Gets the driver major version number as an integer. |
|
int |
getDriverMinorVersion()
Gets the driver minor version number as an integer. |
|
java.lang.String |
getDriverName()
Gets the driver name and version number. |
|
java.lang.String |
getDriverVersion()
|
|
java.sql.ResultSet |
getExportedKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
Gets a description of a foreign key columns that reference a table's primary key columns. |
|
java.lang.String |
getExtraNameCharacters()
Gets a string that contains all the "extra" characters that identier names can contain. |
|
java.sql.ResultSet |
getFunctionColumns(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String functionNamePattern,
java.lang.String columnNamePattern)
This method is not supported. |
|
java.sql.ResultSet |
getFunctions(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String functionNamePattern)
This method is not supported. |
|
java.lang.String |
getIdentifierQuoteString()
Gets the quote string that is used to surround quoted SQL identifiers. |
|
java.sql.ResultSet |
getImportedKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
Gets a description of the primary key columns that are referenced by a table's foreign key columns. |
|
java.sql.ResultSet |
getIndexInfo(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
boolean unique,
boolean approximate)
Gets a description of a table's indices and statistics. |
|
int |
getJDBCMajorVersion()
Retrieves the major JDBC version number for this driver. |
|
int |
getJDBCMinorVersion()
Retrieves the minor JDBC version number for this driver. |
|
int |
getMaxBinaryLiteralLength()
Returns the number of hex characters that are allowed in an inline binary literal. |
|
int |
getMaxCatalogNameLength()
Indicates the maximum length of a catalog name. |
|
int |
getMaxCharLiteralLength()
Returns the maximum length of a character literal. |
|
int |
getMaxColumnNameLength()
Returns the maximum length of a column name. |
|
int |
getMaxColumnsInGroupBy()
Indicates the maximum number of columns that are allowed in a GROUP BY clause. |
|
int |
getMaxColumnsInIndex()
Indicates the maximum number of columns that are allowed in an index. |
|
int |
getMaxColumnsInOrderBy()
Indicates the maximum number of columns that are allowed in an ORDER BY clause. |
|
int |
getMaxColumnsInSelect()
Determines the maximum number of columns that are allowed in a SELECT list. |
|
int |
getMaxColumnsInTable()
Indicates the maximum number of columns that are allowed in a table. |
|
int |
getMaxConnections()
Indicates the maximum number of database connections that can be active concurrently. |
|
int |
getMaxCursorNameLength()
Indicates the maximum length of a cursor name. |
|
int |
getMaxIndexLength()
Indicates the maximum size of an index (in bytes). |
|
int |
getMaxProcedureNameLength()
Indicates the maximum length of a procedure name. |
|
int |
getMaxRowSize()
Indicates the maximum length of a single row. |
|
int |
getMaxSchemaNameLength()
Indicates the maximum length of a schema name. |
|
int |
getMaxStatementLength()
Indicates the maximum length of an SQL statement. |
|
int |
getMaxStatements()
Indicates the maximum number of active statements that can be open to this database concurrently. |
|
int |
getMaxTableNameLength()
Indicates the maximum length of a table name. |
|
int |
getMaxTablesInSelect()
Indicates the maximum number of tables in a SELECT list. |
|
int |
getMaxUserNameLength()
Indicates the maximum length of a user name. |
|
java.lang.String |
getNumericFunctions()
Gets a comma-delimited list of math functions. |
|
java.sql.ResultSet |
getPrimaryKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
Gets a description of a table's primary key columns. |
|
java.sql.ResultSet |
getProcedureColumns(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String procedureNamePattern,
java.lang.String columnNamePattern)
Gets a description of a catalog's stored procedure parameters and result columns. |
|
java.sql.ResultSet |
getProcedures(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String procedureNamePattern)
Get a description of stored procedures available in a catalog. |
|
java.lang.String |
getProcedureTerm()
Gets the preferred term for "procedure". |
|
int |
getResultSetHoldability()
Retrieves the default holdability of this ResultSet object. |
|
java.sql.RowIdLifetime |
getRowIdLifetime()
This method is not supported. |
|
java.sql.ResultSet |
getSchemas()
Gets the schema names available in this database. |
|
java.sql.ResultSet |
getSchemas(java.lang.String catalog,
java.lang.String schemaPattern)
This method is not supported. |
|
java.lang.String |
getSchemaTerm()
Gets the preferred term for "schema". |
|
java.lang.String |
getSearchStringEscape()
Gets the string that can be used to escape an underscore (_) or a percentage sign (%) in string based searches such as getTables(). |
|
java.lang.String |
getSQLKeywords()
Gets a comma-delimited list of all database-specific SQL keywords that are not SQL92 keywords. |
|
int |
getSQLStateType()
Indicates whether the SQLSTATE returned by SQLException.getSQLState
is X/Open (now known as Open Group) SQL CLI or SQL99. |
|
java.lang.String |
getStringFunctions()
Gets a comma-delimited list of string functions. |
|
java.sql.ResultSet |
getSuperTables(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern)
Retrieves a description of the table hierarchies defined in a particular schema in this database. |
|
java.sql.ResultSet |
getSuperTypes(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String typeNamePattern)
Retrieves a description of the user-defined type (UDT) hierarchies defined in a particular schema in this database. |
|
java.lang.String |
getSystemFunctions()
Gets a comma-delimited list of system functions. |
|
java.sql.ResultSet |
getTablePrivileges(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern)
Gets a description of the access rights for each table available in a catalog. |
|
java.sql.ResultSet |
getTables(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern,
java.lang.String[] types)
Gets a description of the tables that are available in a catalog. |
|
java.sql.ResultSet |
getTableTypes()
Gets the table types available in this database. |
|
java.lang.String |
getTimeDateFunctions()
Gets a comma-delimited list of time and date functions. |
|
java.sql.ResultSet |
getTypeInfo()
Gets a description of all the standard SQL types supported by this database. |
|
java.sql.ResultSet |
getUDTs(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String typeNamePattern,
int[] types)
JDBC 2.0 Gets a description of the user-defined types defined in a particular schema. |
|
java.lang.String |
getURL()
Gets the URL from the ShareNetConnection object. |
|
java.lang.String |
getUserName()
Gets the user name from the ShareNetConnection object. |
|
java.sql.ResultSet |
getVersionColumns(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
Gets a description of the table columns that are automatically updated when any value in a row is updated. |
|
boolean |
insertsAreDetected(int type)
JDBC 2.0 Determines whether or not a visible row insert can be detected by calling ResultSet.rowInserted(). |
|
boolean |
isCatalogAtStart()
Determines whether a catalog appears at the start of a qualified table name. |
|
boolean |
isReadOnly()
Determines whether the connection is read-only. |
|
boolean |
isWrapperFor(java.lang.Class<?> iface)
This method is not supported. |
|
boolean |
locatorsUpdateCopy()
Indicates whether updates made to a LOB are made on a copy or directly to the LOB. |
|
boolean |
nullPlusNonNullIsNull()
Determines whether the concatenations between NULL and non-NULL values are NULL. |
|
boolean |
nullsAreSortedAtEnd()
Determines whether NULLs are sorted at end. |
|
boolean |
nullsAreSortedAtStart()
Determines whether NULLs are sorted at start. |
|
boolean |
nullsAreSortedHigh()
Determines whether NULLs are sorted high. |
|
boolean |
nullsAreSortedLow()
Determines whether NULLs are sorted low. |
|
boolean |
othersDeletesAreVisible(int type)
JDBC 2.0 Determines whether deletes made by others are visible. |
|
boolean |
othersInsertsAreVisible(int type)
JDBC 2.0 Determines whether inserts made by others are visible. |
|
boolean |
othersUpdatesAreVisible(int type)
JDBC 2.0 Determines whether updates made by others are visible. |
|
boolean |
ownDeletesAreVisible(int type)
JDBC 2.0 Determines whether a result set's own deletes are visible. |
|
boolean |
ownInsertsAreVisible(int type)
JDBC 2.0 Determines whether a result set's own inserts are visible. |
|
boolean |
ownUpdatesAreVisible(int type)
JDBC 2.0 Determines whether a result set's own updates are visible. |
|
boolean |
storesLowerCaseIdentifiers()
Determines whether the database stores lowercase identifiers. |
|
boolean |
storesLowerCaseQuotedIdentifiers()
Determines whether the database stores lowercase quoted SQL identifiers. |
|
boolean |
storesMixedCaseIdentifiers()
Determines whether the database stores mixed-case identifiers. |
|
boolean |
storesMixedCaseQuotedIdentifiers()
Determines whether the database stores mixed-case quoted SQL identifiers. |
|
boolean |
storesUpperCaseIdentifiers()
Determines whether the database stores uppercase identifiers. |
|
boolean |
storesUpperCaseQuotedIdentifiers()
Determines whether the database stores uppercase quoted SQL identifiers. |
|
boolean |
supportsAlterTableWithAddColumn()
Determines whether ALTER TABLE with an add column is supported. |
|
boolean |
supportsAlterTableWithDropColumn()
Determines whether ALTER TABLE with a drop column is supported. |
|
boolean |
supportsANSI92EntryLevelSQL()
Determines whether ANSI92 entry level SQL grammar is supported. |
|
boolean |
supportsANSI92FullSQL()
Determines whether ANSI92 full SQL grammar is supported. |
|
boolean |
supportsANSI92IntermediateSQL()
Determines whether ANSI92 intermediate SQL grammar is supported. |
|
boolean |
supportsBatchUpdates()
JDBC 2.0 Determines whether the driver supports batch updates. |
|
boolean |
supportsCatalogsInDataManipulation()
Determines whether a data manipulation statement can contain a catalog name. |
|
boolean |
supportsCatalogsInIndexDefinitions()
Determines whether an index definition statement can contain a catalog name. |
|
boolean |
supportsCatalogsInPrivilegeDefinitions()
Determines whether a privilege definition statement can contain a catalog name. |
|
boolean |
supportsCatalogsInProcedureCalls()
Determines whether a procedure call statement can contain a catalog name. |
|
boolean |
supportsCatalogsInTableDefinitions()
Determines whether a table definition statement can contain a catalog name. |
|
boolean |
supportsColumnAliasing()
Determines whether column aliasing is supported. |
|
boolean |
supportsConvert()
Determines whether the CONVERT function for conversions between SQL types is supported. |
|
boolean |
supportsConvert(int fromType,
int toType)
Determines whether the CONVERT function for conversions between the given SQL types from java.sql.Types is supported. |
|
boolean |
supportsCoreSQLGrammar()
Determines whether the ODBC Core SQL grammar is supported. |
|
boolean |
supportsCorrelatedSubqueries()
Determines whether correlated subqueries are supported. |
|
boolean |
supportsDataDefinitionAndDataManipulationTransactions()
Determines whether both data definition and data manipulation statements within a transaction are supported. |
|
boolean |
supportsDataManipulationTransactionsOnly()
Determines whether data manipulation statements within a transaction are supported. |
|
boolean |
supportsDifferentTableCorrelationNames()
When table correlation names are supported, determines whether table correlation names must be different from the table names. |
|
boolean |
supportsExpressionsInOrderBy()
Determines whether expressions are supported in "ORDER BY" lists. |
|
boolean |
supportsExtendedSQLGrammar()
Determines whether the ODBC Extended SQL grammar is supported. |
|
boolean |
supportsFullOuterJoins()
Determines whether full, nested outer joins are supported. |
|
boolean |
supportsGetGeneratedKeys()
Retrieves whether auto-generated keys can be retrieved after a statement has been executed. |
|
boolean |
supportsGroupBy()
Determines whether some form of the GROUP BY clause is supported. |
|
boolean |
supportsGroupByBeyondSelect()
Determines whether a GROUP BY clause can add columns that are not in the SELECT list. |
|
boolean |
supportsGroupByUnrelated()
Detrmines whether GROUP BY clause can use columns that are not in the SELECT list. |
|
boolean |
supportsIntegrityEnhancementFacility()
Determines whether the SQL Integrity Enhancement Facility is supported. |
|
boolean |
supportsLikeEscapeClause()
Determines whether the escape character in LIKE clauses is supported. |
|
boolean |
supportsLimitedOuterJoins()
Determines whether there is limited support for outer joins. |
|
boolean |
supportsMinimumSQLGrammar()
Determines whether the ODBC Minimum SQL grammar is supported. |
|
boolean |
supportsMixedCaseIdentifiers()
Determines whether the database supports mixed-case, unquoted SQL identifiers. |
|
boolean |
supportsMixedCaseQuotedIdentifiers()
Determines whether the database supports mixed-case quoted SQL identifiers. |
|
boolean |
supportsMultipleOpenResults()
Retrieves whether it is possible to have multiple ResultSet objects returned from a
CallableStatement object simultaneously. |
|
boolean |
supportsMultipleResultSets()
Determines whether mulitple ResultSets from a single execute are supported. |
|
boolean |
supportsMultipleTransactions()
Determines whether multiple transactions can be open concurrently. |
|
boolean |
supportsNamedParameters()
Retrieves whether this database supports named parameters to callable statements. |
|
boolean |
supportsNonNullableColumns()
Determines whether columns can support NULLs. |
|
boolean |
supportsOpenCursorsAcrossCommit()
Determines whether cursors can remain open across commits. |
|
boolean |
supportsOpenCursorsAcrossRollback()
Determines whether cursors can remain open across rollback. |
|
boolean |
supportsOpenStatementsAcrossCommit()
Determines whether statements can remain open across commits. |
|
boolean |
supportsOpenStatementsAcrossRollback()
Determines whether statements can remain open across rollbacks. |
|
boolean |
supportsOrderByUnrelated()
Determines whether an ORDER BY clause can use columns that are not in the SELECT list. |
|
boolean |
supportsOuterJoins()
Determines whether some form of outer join is supported. |
|
boolean |
supportsPositionedDelete()
Determines whether positioned DELETE is supported. |
|
boolean |
supportsPositionedUpdate()
Determines whether positioned UPDATE is supported. |
|
boolean |
supportsResultSetConcurrency(int type,
int concurrency)
JDBC 2.0 Determines if the database supports the concurrency type in combination with the given result set type. |
|
boolean |
supportsResultSetHoldability(int holdability)
Retrieves whether this database supports the given result set holdability. |
|
boolean |
supportsResultSetType(int type)
JDBC 2.0 Determines if the database supports the given result set type. |
|
boolean |
supportsSavepoints()
Retrieves whether this database supports savepoints. |
|
boolean |
supportsSchemasInDataManipulation()
Determines whether a data manipulation statementcaon contain a schema name. |
|
boolean |
supportsSchemasInIndexDefinitions()
Determines whether an index definition statement can contain a schema name. |
|
boolean |
supportsSchemasInPrivilegeDefinitions()
Determines whether a privilege definition statement can contain a schema name. |
|
boolean |
supportsSchemasInProcedureCalls()
Determines whether a procedure call statement can contain a schema name. |
|
boolean |
supportsSchemasInTableDefinitions()
Determines whether a table definition statement can contain a schema name. |
|
boolean |
supportsSelectForUpdate()
Determines whether SELECT for UPDATE is supported. |
|
boolean |
supportsStatementPooling()
Retrieves whether this database supports statement pooling. |
|
boolean |
supportsStoredFunctionsUsingCallSyntax()
This method is not supported. |
|
boolean |
supportsStoredProcedures()
Determines whether stored procedure calls that use the stored procedure escape syntax are supported. |
|
boolean |
supportsSubqueriesInComparisons()
Determines whether subqueries in comparison expressions are supported. |
|
boolean |
supportsSubqueriesInExists()
Determines whether subqueries in exists expressions are supported. |
|
boolean |
supportsSubqueriesInIns()
Determines whether subqueries in "in" statements are supported. |
|
boolean |
supportsSubqueriesInQuantifieds()
Determines whether subqueries in quantified expressions are supported. |
|
boolean |
supportsTableCorrelationNames()
Determines whether table correlation names are supported. |
|
boolean |
supportsTransactionIsolationLevel(int level)
Determines whether the database supports the transaction isolation level. |
|
boolean |
supportsTransactions()
Determines whether transactions are supported. |
|
boolean |
supportsUnion()
Determines whether an SQL UNION is supported. |
|
boolean |
supportsUnionAll()
Determines whether an SQL UNION ALL is supported. |
|
|
unwrap(java.lang.Class<T> iface)
This method is not supported. |
|
boolean |
updatesAreDetected(int type)
JDBC 2.0 Determines whether or not a visible row update can be detected by calling ResultSet.rowUpdated(). |
|
boolean |
usesLocalFilePerTable()
Determines whether the database uses a file for each table. |
|
boolean |
usesLocalFiles()
Determines whether the database stores each table in a local file. |
Field Detail |
---|
protected short sv
Method Detail |
---|
public boolean allProceduresAreCallable() throws java.sql.SQLException
allProceduresAreCallable
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean allTablesAreSelectable() throws java.sql.SQLException
allTablesAreSelectable
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getURL() throws java.sql.SQLException
getURL
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getUserName() throws java.sql.SQLException
getUserName
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean isReadOnly() throws java.sql.SQLException
isReadOnly
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean nullsAreSortedHigh() throws java.sql.SQLException
nullsAreSortedHigh
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean nullsAreSortedLow() throws java.sql.SQLException
nullsAreSortedLow
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean nullsAreSortedAtStart() throws java.sql.SQLException
nullsAreSortedAtStart
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean nullsAreSortedAtEnd() throws java.sql.SQLException
nullsAreSortedAtEnd
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getDatabaseProductName() throws java.sql.SQLException
getDatabaseProductName
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getDatabaseProductVersion() throws java.sql.SQLException
getDatabaseProductVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is thrown if a ShareNet exception is detected or if the
server does not respond.public java.lang.String getDriverName() throws java.sql.SQLException
getDriverName
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getDriverVersion() throws java.sql.SQLException
getDriverVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public int getDriverMajorVersion()
getDriverMajorVersion
in interface java.sql.DatabaseMetaData
public int getDriverMinorVersion()
getDriverMinorVersion
in interface java.sql.DatabaseMetaData
public boolean usesLocalFiles() throws java.sql.SQLException
usesLocalFiles
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean usesLocalFilePerTable() throws java.sql.SQLException
usesLocalFilePerTable
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsMixedCaseIdentifiers() throws java.sql.SQLException
supportsMixedCaseIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean storesUpperCaseIdentifiers() throws java.sql.SQLException
storesUpperCaseIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean storesLowerCaseIdentifiers() throws java.sql.SQLException
storesLowerCaseIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean storesMixedCaseIdentifiers() throws java.sql.SQLException
storesMixedCaseIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsMixedCaseQuotedIdentifiers() throws java.sql.SQLException
supportsMixedCaseQuotedIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean storesUpperCaseQuotedIdentifiers() throws java.sql.SQLException
storesUpperCaseQuotedIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean storesLowerCaseQuotedIdentifiers() throws java.sql.SQLException
storesLowerCaseQuotedIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean storesMixedCaseQuotedIdentifiers() throws java.sql.SQLException
storesMixedCaseQuotedIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getIdentifierQuoteString() throws java.sql.SQLException
getIdentifierQuoteString
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getSQLKeywords() throws java.sql.SQLException
getSQLKeywords
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getNumericFunctions() throws java.sql.SQLException
getNumericFunctions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getStringFunctions() throws java.sql.SQLException
getStringFunctions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getSystemFunctions() throws java.sql.SQLException
getSystemFunctions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getTimeDateFunctions() throws java.sql.SQLException
getTimeDateFunctions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getSearchStringEscape() throws java.sql.SQLException
getSearchStringEscape
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getExtraNameCharacters() throws java.sql.SQLException
getExtraNameCharacters
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsAlterTableWithAddColumn() throws java.sql.SQLException
supportsAlterTableWithAddColumn
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsAlterTableWithDropColumn() throws java.sql.SQLException
supportsAlterTableWithDropColumn
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsColumnAliasing() throws java.sql.SQLException
supportsColumnAliasing
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean nullPlusNonNullIsNull() throws java.sql.SQLException
nullPlusNonNullIsNull
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsConvert() throws java.sql.SQLException
supportsConvert
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsConvert(int fromType, int toType) throws java.sql.SQLException
supportsConvert
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsTableCorrelationNames() throws java.sql.SQLException
supportsTableCorrelationNames
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsDifferentTableCorrelationNames() throws java.sql.SQLException
supportsDifferentTableCorrelationNames
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsExpressionsInOrderBy() throws java.sql.SQLException
supportsExpressionsInOrderBy
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsOrderByUnrelated() throws java.sql.SQLException
supportsOrderByUnrelated
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsGroupBy() throws java.sql.SQLException
supportsGroupBy
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsGroupByUnrelated() throws java.sql.SQLException
supportsGroupByUnrelated
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsGroupByBeyondSelect() throws java.sql.SQLException
supportsGroupByBeyondSelect
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsLikeEscapeClause() throws java.sql.SQLException
supportsLikeEscapeClause
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsMultipleResultSets() throws java.sql.SQLException
supportsMultipleResultSets
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsMultipleTransactions() throws java.sql.SQLException
supportsMultipleTransactions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsNonNullableColumns() throws java.sql.SQLException
supportsNonNullableColumns
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsMinimumSQLGrammar() throws java.sql.SQLException
supportsMinimumSQLGrammar
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsCoreSQLGrammar() throws java.sql.SQLException
supportsCoreSQLGrammar
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsExtendedSQLGrammar() throws java.sql.SQLException
supportsExtendedSQLGrammar
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsANSI92EntryLevelSQL() throws java.sql.SQLException
supportsANSI92EntryLevelSQL
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsANSI92IntermediateSQL() throws java.sql.SQLException
supportsANSI92IntermediateSQL
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsANSI92FullSQL() throws java.sql.SQLException
supportsANSI92FullSQL
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsIntegrityEnhancementFacility() throws java.sql.SQLException
supportsIntegrityEnhancementFacility
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsOuterJoins() throws java.sql.SQLException
supportsOuterJoins
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsFullOuterJoins() throws java.sql.SQLException
supportsFullOuterJoins
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsLimitedOuterJoins() throws java.sql.SQLException
supportsLimitedOuterJoins
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getSchemaTerm() throws java.sql.SQLException
getSchemaTerm
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getProcedureTerm() throws java.sql.SQLException
getProcedureTerm
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getCatalogTerm() throws java.sql.SQLException
getCatalogTerm
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean isCatalogAtStart() throws java.sql.SQLException
isCatalogAtStart
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.lang.String getCatalogSeparator() throws java.sql.SQLException
getCatalogSeparator
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsSchemasInDataManipulation() throws java.sql.SQLException
supportsSchemasInDataManipulation
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsSchemasInProcedureCalls() throws java.sql.SQLException
supportsSchemasInProcedureCalls
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsSchemasInTableDefinitions() throws java.sql.SQLException
supportsSchemasInTableDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsSchemasInIndexDefinitions() throws java.sql.SQLException
supportsSchemasInIndexDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsSchemasInPrivilegeDefinitions() throws java.sql.SQLException
supportsSchemasInPrivilegeDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsCatalogsInDataManipulation() throws java.sql.SQLException
supportsCatalogsInDataManipulation
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsCatalogsInProcedureCalls() throws java.sql.SQLException
supportsCatalogsInProcedureCalls
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsCatalogsInTableDefinitions() throws java.sql.SQLException
supportsCatalogsInTableDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsCatalogsInIndexDefinitions() throws java.sql.SQLException
supportsCatalogsInIndexDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsCatalogsInPrivilegeDefinitions() throws java.sql.SQLException
supportsCatalogsInPrivilegeDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsPositionedDelete() throws java.sql.SQLException
supportsPositionedDelete
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsPositionedUpdate() throws java.sql.SQLException
supportsPositionedUpdate
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsSelectForUpdate() throws java.sql.SQLException
supportsSelectForUpdate
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsStoredProcedures() throws java.sql.SQLException
supportsStoredProcedures
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsSubqueriesInComparisons() throws java.sql.SQLException
supportsSubqueriesInComparisons
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsSubqueriesInExists() throws java.sql.SQLException
supportsSubqueriesInExists
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsSubqueriesInIns() throws java.sql.SQLException
supportsSubqueriesInIns
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsSubqueriesInQuantifieds() throws java.sql.SQLException
supportsSubqueriesInQuantifieds
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsCorrelatedSubqueries() throws java.sql.SQLException
supportsCorrelatedSubqueries
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsUnion() throws java.sql.SQLException
supportsUnion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsUnionAll() throws java.sql.SQLException
supportsUnionAll
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsOpenCursorsAcrossCommit() throws java.sql.SQLException
supportsOpenCursorsAcrossCommit
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsOpenCursorsAcrossRollback() throws java.sql.SQLException
supportsOpenCursorsAcrossRollback
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsOpenStatementsAcrossCommit() throws java.sql.SQLException
supportsOpenStatementsAcrossCommit
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsOpenStatementsAcrossRollback() throws java.sql.SQLException
supportsOpenStatementsAcrossRollback
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxBinaryLiteralLength() throws java.sql.SQLException
getMaxBinaryLiteralLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxCharLiteralLength() throws java.sql.SQLException
getMaxCharLiteralLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxColumnNameLength() throws java.sql.SQLException
getMaxColumnNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxColumnsInGroupBy() throws java.sql.SQLException
getMaxColumnsInGroupBy
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxColumnsInIndex() throws java.sql.SQLException
getMaxColumnsInIndex
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxColumnsInOrderBy() throws java.sql.SQLException
getMaxColumnsInOrderBy
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxColumnsInSelect() throws java.sql.SQLException
getMaxColumnsInSelect
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxColumnsInTable() throws java.sql.SQLException
getMaxColumnsInTable
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxConnections() throws java.sql.SQLException
getMaxConnections
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxCursorNameLength() throws java.sql.SQLException
getMaxCursorNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxIndexLength() throws java.sql.SQLException
getMaxIndexLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxSchemaNameLength() throws java.sql.SQLException
getMaxSchemaNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxProcedureNameLength() throws java.sql.SQLException
getMaxProcedureNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxCatalogNameLength() throws java.sql.SQLException
getMaxCatalogNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxRowSize() throws java.sql.SQLException
getMaxRowSize
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean doesMaxRowSizeIncludeBlobs() throws java.sql.SQLException
doesMaxRowSizeIncludeBlobs
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxStatementLength() throws java.sql.SQLException
getMaxStatementLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxStatements() throws java.sql.SQLException
getMaxStatements
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxTableNameLength() throws java.sql.SQLException
getMaxTableNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxTablesInSelect() throws java.sql.SQLException
getMaxTablesInSelect
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getMaxUserNameLength() throws java.sql.SQLException
getMaxUserNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public int getDefaultTransactionIsolation() throws java.sql.SQLException
getDefaultTransactionIsolation
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsTransactions() throws java.sql.SQLException
supportsTransactions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsTransactionIsolationLevel(int level) throws java.sql.SQLException
supportsTransactionIsolationLevel
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsDataDefinitionAndDataManipulationTransactions() throws java.sql.SQLException
supportsDataDefinitionAndDataManipulationTransactions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean supportsDataManipulationTransactionsOnly() throws java.sql.SQLException
supportsDataManipulationTransactionsOnly
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean dataDefinitionCausesTransactionCommit() throws java.sql.SQLException
dataDefinitionCausesTransactionCommit
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public boolean dataDefinitionIgnoredInTransactions() throws java.sql.SQLException
dataDefinitionIgnoredInTransactions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.sql.ResultSet getProcedures(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String procedureNamePattern) throws java.sql.SQLException
getProcedures
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public java.sql.ResultSet getProcedureColumns(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String procedureNamePattern, java.lang.String columnNamePattern) throws java.sql.SQLException
getProcedureColumns
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public java.sql.ResultSet getTables(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern, java.lang.String[] types) throws java.sql.SQLException
Only table descriptions that match the catalog, schema, table name, and type criteria are returned. The rows are ordered by TABLE_TYPE, TABLE_SCHEM and TABLE_NAME.
Each table description contains the following columns:
Column name | Data type | Description |
---|---|---|
CATALOG | String | The table catalog (can be NULL) |
SCHEMA | String | The table schema (can be NULL) |
TABLE | String | The table name |
TYPE | String | The table type |
COMMENT | String | An explanatory comment regarding the table |
TABLE_PASS | String | A non-standard column returning the password protection of the table. The returned column values would be one of NULL, READ, WRITE, ALTER values. A NULL is returned if no passwords are defined for the table. Since this is a non-standard result, this column must be referenced by name. |
getTables
in interface java.sql.DatabaseMetaData
catalog
- A catalog name. An empty string ("") retrieves the rows that do not have a catalog.schemaPattern
- A schema name pattern. An empty string ("") retrieves the rows that do not
have a schema.tableNamePattern
- A table name pattern.types
- A list of table types to include. A value of NULL returns all types.
java.sql.SQLException
- This exception is thrown if there is no connection to server or if an
IO exception is detected.public java.sql.ResultSet getSchemas() throws java.sql.SQLException
Each row of the result set contains the following columns:
Column name | Data type | Description |
---|---|---|
SCHEMA | String | The schema name |
getSchemas
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception may be thrown.public java.sql.ResultSet getCatalogs() throws java.sql.SQLException
getCatalogs
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown because SAS software does not
support SQL catalogs.public java.sql.ResultSet getTableTypes() throws java.sql.SQLException
The table type is:
Column name | Data type | Description |
---|---|---|
TYPE | String | The table type |
getTableTypes
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception may be thrown.public java.sql.ResultSet getColumns(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern, java.lang.String columnNamePattern) throws java.sql.SQLException
Only column descriptions matching the catalog, schema, table and column name criteria are returned. The descriptions are ordered by TABLE_SCHEM, TABLE_NAME and ORDINAL_POSITION.
Each column description contains the following columns:
Column name | Data type | Description |
---|---|---|
CATALOG | String | A table catalog (can be NULL) |
SCHEMA | String | A table schema (can be NULL) |
TABLE | String | A table name |
NAME | String | A column name |
SQLTYPE | short | An SQL type from java.sql.Types |
TYPE | String | A data-source-dependent format name including format width and decimal |
SIZE | int | The column size (For char or date types, this is the maximum number of characters; for numeric or decimal types, this is precision.) |
EMPTY | NULL | Not used |
SCALE | int | The number of fractional digits |
RADIX | int | The radix (typically either 10 or 2) |
NULLABLE | int | Constants that state whether NULL is allowed:
|
COMMENT | String | A comment describing the column (can be NULL) |
DEFAULT | String | The default value (can be NULL) |
EMPTY2 | int | Not used |
EMPTY3 | int | Not used |
MAX | int | For char types, this is the maximum number of bytes in the column |
POSITION | int | The index of the column in the table (starting at 1) |
NOTKNOWN | String | Strings that state whether NULL is allowed:
|
getColumns
in interface java.sql.DatabaseMetaData
catalog
- A catalog name. An empty string ("") retrieves the rows that do
not have a catalog.schemaPattern
- A schema name pattern. An empty string ("") retrieves the
rows that do not have a schema.tableNamePattern
- A table name pattern. For password protected tables the parameter will be
of the form myTable(pw=XXXX).columnNamePattern
- A column name pattern.
java.sql.SQLException
- This exception may be thrown.public java.sql.ResultSet getColumnPrivileges(java.lang.String catalog, java.lang.String schema, java.lang.String table, java.lang.String columnNamePattern) throws java.sql.SQLException
getColumnPrivileges
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public java.sql.ResultSet getTablePrivileges(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern) throws java.sql.SQLException
getTablePrivileges
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public java.sql.ResultSet getBestRowIdentifier(java.lang.String catalog, java.lang.String schema, java.lang.String table, int scope, boolean nullable) throws java.sql.SQLException
Column name | Data type | Description |
---|---|---|
SCOPE | short | Actual scope of result:
|
NAME | String | Column name |
SQLTYPE | short | SQL data type from java.sql.Types |
TYPE | String | Data source dependent type name |
SIZE | int | Precision |
EMPTY | int | Not used |
SCALE | short | Scale |
EMPTY2 | short | A pseudo column (like an Oracle ROWID)
|
Note: This method has some performance problems when using multiple queries.
getBestRowIdentifier
in interface java.sql.DatabaseMetaData
catalog
- A catalog name. An empty string ("") retrieves the rows that do not
have a catalog.schema
- A schema name pattern. An empty string ("") retrieves the rows that
do not have a schema.table
- A table name pattern.nullable
- Whether NULL values are allowed.
java.sql.SQLException
- This exception is thrown if a database error is detected.public java.sql.ResultSet getVersionColumns(java.lang.String catalog, java.lang.String schema, java.lang.String table) throws java.sql.SQLException
getVersionColumns
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public java.sql.ResultSet getPrimaryKeys(java.lang.String catalog, java.lang.String schema, java.lang.String table) throws java.sql.SQLException
Each primary key column description has the following columns:
Column name | Data type | Description |
---|---|---|
CATALOG | String | A table catalog (can be NULL) |
SCHEMA | String | A table schema (can be NULL) |
TABLE | String | A table name |
NAME | String | A column name |
SEQ | short | A sequence number within primary key |
INDEX | String | A primary key name (can be NULL) |
getPrimaryKeys
in interface java.sql.DatabaseMetaData
catalog
- A catalog name. An empty string ("") retrieves rows that do not
have a catalog.schema
- A schema name pattern. An empty string ("") retrieves rows that
do not have a schema.table
- A table name pattern.
java.sql.SQLException
- This exception is thrown if a database-access error is detected.public java.sql.ResultSet getImportedKeys(java.lang.String catalog, java.lang.String schema, java.lang.String table) throws java.sql.SQLException
getImportedKeys
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public java.sql.ResultSet getExportedKeys(java.lang.String catalog, java.lang.String schema, java.lang.String table) throws java.sql.SQLException
getExportedKeys
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public java.sql.ResultSet getCrossReference(java.lang.String primaryCatalog, java.lang.String primarySchema, java.lang.String primaryTable, java.lang.String foreignCatalog, java.lang.String foreignSchema, java.lang.String foreignTable) throws java.sql.SQLException
getCrossReference
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public java.sql.ResultSet getTypeInfo() throws java.sql.SQLException
getTypeInfo
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface, but it is never thrown.public java.sql.ResultSet getIndexInfo(java.lang.String catalog, java.lang.String schema, java.lang.String table, boolean unique, boolean approximate) throws java.sql.SQLException
Column name | Data type | Description |
---|---|---|
CATALOG | String | A table catalog (can be NULL) |
SCHEMA | String | A table schema (can be NULL) |
TABLE | String | A table name |
NONUNIQ | boolean | Whether index values can be non-unique |
QUAL | String | An index catalog (can be NULL) |
INDEX | String | An index name |
TYPE | short | An index type:
|
POS | short | Column sequence number within a index |
NAME | String | Column name (can be NULL) |
SEQ | String | Column sort sequence (can be NULL):
|
CARDINAL | int | Number of rows in a table or unique values in the index |
PAGES | int | Number of pages used for the table or for the current index |
FILTER | String | Filter condition, if any (can be NULL) |
getIndexInfo
in interface java.sql.DatabaseMetaData
catalog
- A catalog name. An empty string ("") retrieves rows that do not
have a catalog.schema
- A schema name pattern. An empty string ("") retrieves rows that do
not have a schema name.table
- A table name.unique
- When True, return only indices for unique values;
when False, return indices regardless of whether unique or not.approximate
- When True, result is allowed to reflect approximate
or out of data values; when False, results are requested to be
accurate.
java.sql.SQLException
- This exception is thrown if a database-access error is detected.public boolean supportsResultSetType(int type) throws java.sql.SQLException
supportsResultSetType
in interface java.sql.DatabaseMetaData
type
- The type defined in java.sql.ResultSet.
java.sql.SQLException
- This exception is required by the interface but it is never thrown.Connection
public boolean supportsResultSetConcurrency(int type, int concurrency) throws java.sql.SQLException
supportsResultSetConcurrency
in interface java.sql.DatabaseMetaData
type
- The type defined in java.sql.ResultSet.concurrency
- The concurrency type defined in java.sql.ResultSet.
java.sql.SQLException
- This exception is required by the interface but it is never thrown.Connection
public boolean ownUpdatesAreVisible(int type) throws java.sql.SQLException
ownUpdatesAreVisible
in interface java.sql.DatabaseMetaData
type
- The result set type, i.e. ResultSet.TYPE_XXX.
java.sql.SQLException
- This exception is always thrown.public boolean ownDeletesAreVisible(int type) throws java.sql.SQLException
ownDeletesAreVisible
in interface java.sql.DatabaseMetaData
type
- The result set type, i.e. ResultSet.TYPE_XXX.
java.sql.SQLException
- This exception is always thrown.public boolean ownInsertsAreVisible(int type) throws java.sql.SQLException
ownInsertsAreVisible
in interface java.sql.DatabaseMetaData
type
- The result set type, i.e. ResultSet.TYPE_XXX.
java.sql.SQLException
- This exception is always thrown.public boolean othersUpdatesAreVisible(int type) throws java.sql.SQLException
othersUpdatesAreVisible
in interface java.sql.DatabaseMetaData
type
- The result set type, i.e. ResultSet.TYPE_XXX.
java.sql.SQLException
- This exception is always thrown.public boolean othersDeletesAreVisible(int type) throws java.sql.SQLException
othersDeletesAreVisible
in interface java.sql.DatabaseMetaData
type
- The result set type, i.e. ResultSet.TYPE_XXX.
java.sql.SQLException
- This exception is always thrown.public boolean othersInsertsAreVisible(int type) throws java.sql.SQLException
othersInsertsAreVisible
in interface java.sql.DatabaseMetaData
type
- The result set type, i.e. ResultSet.TYPE_XXX.
java.sql.SQLException
- This exception is always thrown.public boolean updatesAreDetected(int type) throws java.sql.SQLException
updatesAreDetected
in interface java.sql.DatabaseMetaData
type
- The result set type, i.e. ResultSet.TYPE_XXX.
java.sql.SQLException
- This exception is always thrown.public boolean deletesAreDetected(int type) throws java.sql.SQLException
deletesAreDetected
in interface java.sql.DatabaseMetaData
type
- The result set type, i.e. ResultSet.TYPE_XXX.
java.sql.SQLException
- This exception is always thrown.public boolean insertsAreDetected(int type) throws java.sql.SQLException
insertsAreDetected
in interface java.sql.DatabaseMetaData
type
- The result set type, i.e. ResultSet.TYPE_XXX.
java.sql.SQLException
- This exception is always thrown.public boolean supportsBatchUpdates() throws java.sql.SQLException
supportsBatchUpdates
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public java.sql.ResultSet getUDTs(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern, int[] types) throws java.sql.SQLException
getUDTs
in interface java.sql.DatabaseMetaData
catalog
- A catalog name; "" retrieves those without a
catalog; null means drop catalog name from the selection criteriaschemaPattern
- A schema name pattern; "" retrieves those
without a schematypeNamePattern
- A type name pattern; may be a fully qualified
nametypes
- A list of user-named types to include (JAVA_OBJECT,
STRUCT, or DISTINCT); null returns all types
java.sql.SQLException
- This exception is always thrown.public java.sql.Connection getConnection() throws java.sql.SQLException
getConnection
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is required by the interface but it is never thrown.public boolean supportsSavepoints() throws java.sql.SQLException
supportsSavepoints
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public boolean supportsNamedParameters() throws java.sql.SQLException
supportsNamedParameters
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public boolean supportsMultipleOpenResults() throws java.sql.SQLException
ResultSet
objects returned from a
CallableStatement
object simultaneously.
This method is not implemented.
supportsMultipleOpenResults
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public boolean supportsGetGeneratedKeys() throws java.sql.SQLException
supportsGetGeneratedKeys
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public java.sql.ResultSet getSuperTypes(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern) throws java.sql.SQLException
getSuperTypes
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public java.sql.ResultSet getSuperTables(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern) throws java.sql.SQLException
getSuperTables
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public java.sql.ResultSet getAttributes(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern, java.lang.String attributeNamePattern) throws java.sql.SQLException
getAttributes
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public boolean supportsResultSetHoldability(int holdability) throws java.sql.SQLException
supportsResultSetHoldability
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public int getResultSetHoldability() throws java.sql.SQLException
ResultSet
object.
This method is not implemented.
getResultSetHoldability
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public int getDatabaseMajorVersion() throws java.sql.SQLException
getDatabaseMajorVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public int getDatabaseMinorVersion() throws java.sql.SQLException
getDatabaseMinorVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public int getJDBCMajorVersion() throws java.sql.SQLException
getJDBCMajorVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public int getJDBCMinorVersion() throws java.sql.SQLException
getJDBCMinorVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public int getSQLStateType() throws java.sql.SQLException
SQLException.getSQLState
is X/Open (now known as Open Group) SQL CLI or SQL99.
This method is not implemented.
getSQLStateType
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public boolean locatorsUpdateCopy() throws java.sql.SQLException
locatorsUpdateCopy
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public boolean supportsStatementPooling() throws java.sql.SQLException
supportsStatementPooling
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- This exception is always thrown.public java.sql.RowIdLifetime getRowIdLifetime() throws java.sql.SQLException
Indicates whether or not this data source supports the SQL ROWID
type,
and if so the lifetime for which a RowId
object remains valid.
The returned int values have the following relationship:
ROWID_UNSUPPORTED < ROWID_VALID_OTHER < ROWID_VALID_TRANSACTION < ROWID_VALID_SESSION < ROWID_VALID_FOREVERso conditional logic such as
if (metadata.getRowIdLifetime() > DatabaseMetaData.ROWID_VALID_TRANSACTION)can be used. Valid Forever means valid across all Sessions, and valid for a Session means valid across all its contained Transactions.
getRowIdLifetime
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Always thrown, to indicate that this method is not
implemented.
public java.sql.ResultSet getSchemas(java.lang.String catalog, java.lang.String schemaPattern) throws java.sql.SQLException
Retrieves the schema names available in this database. The results
are ordered by TABLE_CATALOG
and
TABLE_SCHEM
.
The schema columns are:
null
)
getSchemas
in interface java.sql.DatabaseMetaData
catalog
- a catalog name; must match the catalog name as it is stored
in the database;"" retrieves those without a catalog; null means catalog
name should not be used to narrow down the search.schemaPattern
- a schema name; must match the schema name as it is
stored in the database; null means
schema name should not be used to narrow down the search.
java.sql.SQLException
- Always thrown, to indicate that this method is not
implemented.
getSearchStringEscape()
public boolean supportsStoredFunctionsUsingCallSyntax() throws java.sql.SQLException
Retrieves whether this database supports invoking user-defined or vendor functions using the stored procedure escape syntax.
supportsStoredFunctionsUsingCallSyntax
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Always thrown, to indicate that this method is not
implemented.
public boolean autoCommitFailureClosesAllResultSets() throws java.sql.SQLException
Retrieves whether a SQLException
while autoCommit is true
inidcates
that all open ResultSets are closed, even ones that are holdable. When a SQLException
occurs while
autocommit is true
, it is vendor specific whether the JDBC driver responds with a commit operation, a
rollback operation, or by doing neither a commit nor a rollback. A potential result of this difference
is in whether or not holdable ResultSets are closed.
autoCommitFailureClosesAllResultSets
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Always thrown, to indicate that this method is not
implemented.
public java.sql.ResultSet getClientInfoProperties() throws java.sql.SQLException
Retrieves a list of the client info properties that the driver supports. The result set contains the following columns
The ResultSet
is sorted by the NAME column
getClientInfoProperties
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Always thrown, to indicate that this method is not
implemented.
public java.sql.ResultSet getFunctions(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String functionNamePattern) throws java.sql.SQLException
Retrieves a description of the system and user functions available in the given catalog.
Only system and user function descriptions matching the schema and
function name criteria are returned. They are ordered by
FUNCTION_CAT
, FUNCTION_SCHEM
,
FUNCTION_NAME
and
SPECIFIC_ NAME
.
Each function description has the the following columns:
null
)
null
)
FUNCTION_NAME
for example with overload functions
A user may not have permission to execute any of the functions that are
returned by getFunctions
getFunctions
in interface java.sql.DatabaseMetaData
catalog
- a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
null
means that the catalog name should not be used to narrow
the searchschemaPattern
- a schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
null
means that the schema name should not be used to narrow
the searchfunctionNamePattern
- a function name pattern; must match the
function name as it is stored in the database
java.sql.SQLException
- Always thrown, to indicate that this method is not
implemented.
getSearchStringEscape()
public java.sql.ResultSet getFunctionColumns(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String functionNamePattern, java.lang.String columnNamePattern) throws java.sql.SQLException
Retrieves a description of the given catalog's system or user function parameters and return type.
Only descriptions matching the schema, function and
parameter name criteria are returned. They are ordered by
FUNCTION_CAT
, FUNCTION_SCHEM
,
FUNCTION_NAME
and
SPECIFIC_ NAME
. Within this, the return value,
if any, is first. Next are the parameter descriptions in call
order. The column descriptions follow in column number order.
Each row in the ResultSet
is a parameter description, column description or
return type description with the following fields:
null
)
null
)
ResultSet
FUNCTION_NAME
for example with overload functions
The PRECISION column represents the specified column size for the given parameter or column. For numeric data, this is the maximum precision. For character data, this is the length in characters. For datetime datatypes, this is the length in characters of the String representation (assuming the maximum allowed precision of the fractional seconds component). For binary data, this is the length in bytes. For the ROWID datatype, this is the length in bytes. Null is returned for data types where the column size is not applicable.
getFunctionColumns
in interface java.sql.DatabaseMetaData
catalog
- a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
null
means that the catalog name should not be used to narrow
the searchschemaPattern
- a schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
null
means that the schema name should not be used to narrow
the searchfunctionNamePattern
- a procedure name pattern; must match the
function name as it is stored in the databasecolumnNamePattern
- a parameter name pattern; must match the
parameter or column name as it is stored in the database
java.sql.SQLException
- Always thrown, to indicate that this method is not
implemented.
getSearchStringEscape()
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException
Returns an object that implements the given interface to allow access to
non-standard methods, or standard methods not exposed by the proxy.
If the receiver implements the interface then the result is the receiver
or a proxy for the receiver. If the receiver is a wrapper
and the wrapped object implements the interface then the result is the
wrapped object or a proxy for the wrapped object. Otherwise return the
the result of calling unwrap
recursively on the wrapped object
or a proxy for that result. If the receiver is not a
wrapper and does not implement the interface, then an SQLException
is thrown.
unwrap
in interface java.sql.Wrapper
iface
- A Class defining an interface that the result must implement.
java.sql.SQLException
- Always thrown, to indicate that this method is not
implemented.
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
Returns true if this either implements the interface argument or is directly or indirectly a wrapper
for an object that does. Returns false otherwise. If this implements the interface then return true,
else if this is a wrapper then return the result of recursively calling isWrapperFor
on the wrapped
object. If this does not implement the interface and is not a wrapper, return false.
This method should be implemented as a low-cost operation compared to unwrap
so that
callers can use this method to avoid expensive unwrap
calls that may fail. If this method
returns true then calling unwrap
with the same argument should succeed.
isWrapperFor
in interface java.sql.Wrapper
iface
- a Class defining an interface.
java.sql.SQLException
- Always thrown, to indicate that this method is not
implemented.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |