| 构造器和说明 |
|---|
TableInfo(DatabaseMetaData md,
String catalog,
String schema,
String tableName) |
TableInfo(DatabaseMetaData md,
String catalog,
String schema,
String tableName,
boolean lowerCase) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<ColumnInfo> |
getColumns()
返回列
|
List<ForeignKeyInfo> |
getExportedKeys()
返回引用给定表的主键列(表导入的外键)的外键列
|
List<ForeignKeyInfo> |
getImportedKeys()
返回外键
|
List<IndexInfo> |
getIndexs()
返回索引
|
PrimaryKeyInfo |
getPrimaryKey()
返回主键
|
String |
getTableName() |
public TableInfo(DatabaseMetaData md, String catalog, String schema, String tableName) throws SQLException
SQLExceptionpublic TableInfo(DatabaseMetaData md, String catalog, String schema, String tableName, boolean lowerCase) throws SQLException
SQLExceptionpublic String getTableName()
public PrimaryKeyInfo getPrimaryKey()
public List<ColumnInfo> getColumns()
public List<ForeignKeyInfo> getImportedKeys()
public List<ForeignKeyInfo> getExportedKeys()
Copyright © 2018. All rights reserved.