public class ColumnInfo extends Object
| 构造器和说明 |
|---|
ColumnInfo(IEntityNamedFilter namedFilter,
String columnName,
String columnType,
boolean autoIncrement,
boolean primaryKey,
boolean signed,
int precision,
int scale,
int nullable,
String defaultValue,
String remarks) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Map<String,ColumnInfo> |
create(ConfigInfo configInfo,
String dbType,
String tableName,
List<String> primaryKeys,
DatabaseMetaData databaseMetaData,
ResultSetMetaData metaData) |
String |
getColumnName() |
String |
getColumnType() |
String |
getDefaultValue() |
int |
getPrecision() |
String |
getRemarks() |
int |
getScale() |
boolean |
isAutoIncrement() |
boolean |
isNullable() |
boolean |
isPrimaryKey() |
boolean |
isSigned() |
Attr |
toAttr() |
public ColumnInfo(IEntityNamedFilter namedFilter, String columnName, String columnType, boolean autoIncrement, boolean primaryKey, boolean signed, int precision, int scale, int nullable, String defaultValue, String remarks)
public static Map<String,ColumnInfo> create(ConfigInfo configInfo, String dbType, String tableName, List<String> primaryKeys, DatabaseMetaData databaseMetaData, ResultSetMetaData metaData) throws SQLException
SQLExceptionpublic String getColumnName()
public String getColumnType()
public boolean isPrimaryKey()
public boolean isAutoIncrement()
public boolean isSigned()
public int getPrecision()
public int getScale()
public boolean isNullable()
public String getDefaultValue()
public String getRemarks()
public Attr toAttr()
Copyright © 2021. All rights reserved.