|
MySQL Connector/J size='-1'>5.1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysql.jdbc.DatabaseMetaData
com.mysql.jdbc.JDBC4DatabaseMetaData
public class JDBC4DatabaseMetaData
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.mysql.jdbc.DatabaseMetaData |
---|
DatabaseMetaData.IteratorWithCleanup, DatabaseMetaData.ResultSetIterator, DatabaseMetaData.SingleStringIterator |
Field Summary |
---|
Fields inherited from class com.mysql.jdbc.DatabaseMetaData |
---|
conn, database, MAX_IDENTIFIER_LENGTH, quotedId |
Fields inherited from interface java.sql.DatabaseMetaData |
---|
attributeNoNulls, attributeNullable, attributeNullableUnknown, bestRowNotPseudo, bestRowPseudo, bestRowSession, bestRowTemporary, bestRowTransaction, bestRowUnknown, columnNoNulls, columnNullable, columnNullableUnknown, functionColumnIn, functionColumnInOut, functionColumnOut, functionColumnResult, functionColumnUnknown, functionNoNulls, functionNoTable, functionNullable, functionNullableUnknown, functionResultUnknown, functionReturn, functionReturnsTable, importedKeyCascade, importedKeyInitiallyDeferred, importedKeyInitiallyImmediate, importedKeyNoAction, importedKeyNotDeferrable, importedKeyRestrict, importedKeySetDefault, importedKeySetNull, procedureColumnIn, procedureColumnInOut, procedureColumnOut, procedureColumnResult, procedureColumnReturn, procedureColumnUnknown, procedureNoNulls, procedureNoResult, procedureNullable, procedureNullableUnknown, procedureResultUnknown, procedureReturnsResult, sqlStateSQL, sqlStateSQL99, sqlStateXOpen, tableIndexClustered, tableIndexHashed, tableIndexOther, tableIndexStatistic, typeNoNulls, typeNullable, typeNullableUnknown, typePredBasic, typePredChar, typePredNone, typeSearchable, versionColumnNotPseudo, versionColumnPseudo, versionColumnUnknown |
Constructor Summary | |
---|---|
JDBC4DatabaseMetaData(ConnectionImpl connToSet,
java.lang.String databaseToSet)
|
Method Summary | ||
---|---|---|
boolean |
autoCommitFailureClosesAllResultSets()
|
|
java.sql.ResultSet |
getClientInfoProperties()
Retrieves a list of the client info properties that the driver supports. |
|
java.sql.ResultSet |
getFunctions(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String functionNamePattern)
Retrieves a description of the system and user functions available in the given catalog. |
|
protected int |
getJDBC4FunctionNoTableConstant()
|
|
java.sql.RowIdLifetime |
getRowIdLifetime()
|
|
boolean |
isWrapperFor(java.lang.Class<?> iface)
Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does. |
|
|
unwrap(java.lang.Class<T> iface)
Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDBC4DatabaseMetaData(ConnectionImpl connToSet, java.lang.String databaseToSet)
Method Detail |
---|
public java.sql.RowIdLifetime getRowIdLifetime() throws java.sql.SQLException
getRowIdLifetime
in interface java.sql.DatabaseMetaData
getRowIdLifetime
in class DatabaseMetaData
java.sql.SQLException
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
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
isWrapperFor
in class DatabaseMetaData
interfaces
- a Class defining an interface.
java.sql.SQLException
- if an error occurs while determining whether this is a wrapper
for an object with the given interface.public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException
unwrap
recursively on the wrapped object. If the receiver is not a
wrapper and does not implement the interface, then an SQLException
is thrown.
unwrap
in interface java.sql.Wrapper
unwrap
in class DatabaseMetaData
iface
- A Class defining an interface that the result must implement.
java.sql.SQLException
- If no object found that implements the interfacepublic java.sql.ResultSet getClientInfoProperties() throws java.sql.SQLException
The ResultSet
is sorted by the NAME column
getClientInfoProperties
in interface java.sql.DatabaseMetaData
getClientInfoProperties
in class DatabaseMetaData
ResultSet
object; each row is a supported client info
property
java.sql.SQLException
- if a database access error occurs
public boolean autoCommitFailureClosesAllResultSets() throws java.sql.SQLException
autoCommitFailureClosesAllResultSets
in interface java.sql.DatabaseMetaData
autoCommitFailureClosesAllResultSets
in class DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getFunctions(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String functionNamePattern) throws java.sql.SQLException
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
getFunctions
in class 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
ResultSet
- each row is a function description
java.sql.SQLException
- if a database access error occursDatabaseMetaData.getSearchStringEscape()
protected int getJDBC4FunctionNoTableConstant()
getJDBC4FunctionNoTableConstant
in class DatabaseMetaData
|
MySQL Connector/J size='-1'>5.1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |