类 MetaDataHelper
java.lang.Object
cool.scx.jdbc.meta_data.MetaDataHelper
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static CatalogMetaData[]getCatalogs(Connection con) static ColumnMetaData[]getColumns(Connection connection, String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern, TableMetaData tableMetaData) static SchemaMetaDatastatic IndexMetaData[]getIndexes(Connection connection, String catalog, String schema, String table, boolean unique, boolean approximate) static KeyMetaData[]getKeys(Connection connection, String catalog, String schemaPattern, String tableNamePattern) static SchemaMetaData[]getSchemas(Connection con, String catalog, String schemaPattern) static TableMetaData[]getTables(Connection connection, String catalog, String schemaPattern, String tableNamePattern, String[] types)
-
构造器详细资料
-
MetaDataHelper
public MetaDataHelper()
-
-
方法详细资料
-
getCatalogs
- 抛出:
SQLException
-
getSchemas
public static SchemaMetaData[] getSchemas(Connection con, String catalog, String schemaPattern) throws SQLException - 抛出:
SQLException
-
getTables
public static TableMetaData[] getTables(Connection connection, String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException - 抛出:
SQLException
-
getColumns
public static ColumnMetaData[] getColumns(Connection connection, String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern, TableMetaData tableMetaData) throws SQLException - 抛出:
SQLException
-
getKeys
public static KeyMetaData[] getKeys(Connection connection, String catalog, String schemaPattern, String tableNamePattern) throws SQLException - 抛出:
SQLException
-
getIndexes
public static IndexMetaData[] getIndexes(Connection connection, String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException - 抛出:
SQLException
-
getCurrentSchema
- 抛出:
SQLException
-