类 DatabaseMetaData

  • 所有已实现的接口:
    DatabaseMetaData, Wrapper
    直接已知子类:
    DatabaseMetaDataUsingInfoSchema

    public class DatabaseMetaData
    extends Object
    implements DatabaseMetaData
    JDBC Interface to Mysql functions

    This class provides information about the database as a whole.

    Many of the methods here return lists of information in ResultSets. You can use the normal ResultSet methods such as getString and getInt to retrieve the data from these ResultSets. If a given form of metadata is not available, these methods show throw a SQLException.

    Some of these methods take arguments that are String patterns. These methods all have names such as fooPattern. Within a pattern String "%" means match any substring of 0 or more characters and "_" means match any one character.