| 限定符和类型 | 方法和说明 |
|---|---|
static Column |
create(String tableName,
ResultSet columnMetaRs)
创建列对象
|
String |
getName() |
int |
getSize() |
String |
getTableName() |
int |
getType() |
void |
init(String tableName,
ResultSet columnMetaRs)
初始化
|
boolean |
isNullable() |
void |
setName(String name) |
void |
setNullable(boolean isNullable) |
void |
setSize(int size) |
void |
setTableName(String tableName) |
void |
setType(int type) |
String |
toString() |
public static Column create(String tableName, ResultSet columnMetaRs)
tableName - 表名columnMetaRs - 列元信息的ResultSetpublic void init(String tableName, ResultSet columnMetaRs) throws SQLException
tableName - 表名columnMetaRs - 列的meta ResultSetSQLExceptionpublic String getTableName()
public void setTableName(String tableName)
public String getName()
public void setName(String name)
public int getType()
public void setType(int type)
public int getSize()
public void setSize(int size)
public boolean isNullable()
public void setNullable(boolean isNullable)
Copyright © 2016. All rights reserved.