|
|||||||||
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.DatabaseMetaDataUsingInfoSchema
com.mysql.jdbc.JDBC4DatabaseMetaDataUsingInfoSchema
public class JDBC4DatabaseMetaDataUsingInfoSchema
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.mysql.jdbc.DatabaseMetaData |
---|
DatabaseMetaData.IteratorWithCleanup, DatabaseMetaData.LocalAndReferencedColumns, DatabaseMetaData.ResultSetIterator, DatabaseMetaData.SingleStringIterator, DatabaseMetaData.TypeDescriptor |
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 | |
---|---|
JDBC4DatabaseMetaDataUsingInfoSchema(ConnectionImpl connToSet,
java.lang.String databaseToSet)
|
Method Summary | ||
---|---|---|
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 com.mysql.jdbc.DatabaseMetaDataUsingInfoSchema |
---|
getColumnPrivileges, getColumns, getCrossReference, getExportedKeys, getFunctionColumns, getImportedKeys, getIndexInfo, getPrimaryKeys, getProcedureColumns, getProcedures, getTables |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.sql.DatabaseMetaData |
---|
autoCommitFailureClosesAllResultSets, getClientInfoProperties, getFunctions |
Constructor Detail |
---|
public JDBC4DatabaseMetaDataUsingInfoSchema(ConnectionImpl connToSet, java.lang.String databaseToSet) throws java.sql.SQLException
java.sql.SQLException
Method Detail |
---|
public java.sql.RowIdLifetime getRowIdLifetime() throws java.sql.SQLException
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.
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.
iface
- A Class defining an interface that the result must implement.
java.sql.SQLException
- If no object found that implements the interfaceprotected int getJDBC4FunctionNoTableConstant()
getJDBC4FunctionNoTableConstant
in class DatabaseMetaData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |