public class Column extends BaseMetadata<Column> implements Serializable
| 构造器和说明 |
|---|
Column() |
Column(String name) |
Column(String table,
String name) |
Column(String name,
String type,
int precision) |
Column(String name,
String type,
int precision,
int scale) |
Column(String schema,
String table,
String name) |
Column(String catalog,
String schema,
String table,
String name) |
addDdl, clone, ddl, ddl, ddls, ddls, delete, drop, getAction, getCatalog, getComment, getDdl, getDdl, getDdls, getDdls, getDefinition, getName, getObjectId, getSchema, getTable, getTableName, getUpdate, isDelete, isDrop, setAction, setCatalog, setComment, setDdls, setDefinition, setDelete, setDrop, setName, setNewName, setNewName, setObjectId, setSchema, setTable, setTable, setUpdate, update, updateprotected String keyword
protected String originalName
protected String className
protected Integer displaySize
protected Integer type
protected String typeName
protected ColumnType columnType
protected JavaType javaType
protected String jdbcType
protected Integer precision
protected Integer scale
protected String dateScale
protected int nullable
protected int caseSensitive
protected int isCurrency
protected int isSigned
protected int isAutoIncrement
protected Integer incrementSeed
protected Integer incrementStep
protected int isPrimaryKey
protected int isGenerated
protected Object defaultValue
protected String charset
protected String collate
protected String reference
protected int srid
protected boolean array
protected Boolean index
protected Boolean store
protected String analyzer
protected String searchAnalyzer
protected Integer ignoreAbove
protected Integer position
protected String order
protected String after
protected String before
protected int isOnUpdate
protected Object value
public Column()
public Column(String name)
public static <T extends Column> List<String> names(LinkedHashMap<String,T> columns)
public boolean isArray()
public Column setArray(boolean array)
public String getDateScale()
public String getClassName()
public Integer getDisplaySize()
public Integer getType()
public Column setType(String type)
type - 数据类型 如 int varchar(10) decimal(18,6)public String getTypeName()
public String getJdbcType()
public Column setTypeName(String typeName)
typeName - 数据类型 如 int varchar(10) decimal(18,6)public Integer getPrecision()
public Object getValue()
public int isCaseSensitive()
public Column setCaseSensitive(int caseSensitive)
public int isCurrency()
public Column setCurrency(int currency)
public int isSigned()
public Column setSigned(int signed)
public Integer getScale()
public int isNullable()
public Column setNullable(int nullable)
public int isAutoIncrement()
public Column setAutoIncrement(int autoIncrement)
public Column setAutoIncrement(int seed, int step)
seed - 起始值step - 增量public int isPrimaryKey()
public Column setPrimaryKey(int primaryKey)
public int isGenerated()
public Column setGenerated(int generated)
public Object getDefaultValue()
public Integer getPosition()
public String getOrder()
public String getAfter()
public Integer getIncrementSeed()
public Integer getIncrementStep()
public int isOnUpdate()
public Column setOnUpdate(int onUpdate)
public Column setOnUpdate(boolean onUpdate)
public String getOriginalName()
public String getBefore()
public String getCharset()
public String getCollate()
public String getFullType()
public boolean equals(Column column)
public ColumnType getColumnType()
public String getAnalyzer()
public String getSearchAnalyzer()
public Integer getIgnoreAbove()
public Column setColumnType(ColumnType columnType)
public JavaType getJavaType()
public int getSrid()
public Column setSrid(int srid)
public String getReference()
public Boolean getIndex()
public Boolean getStore()
public boolean ignorePrecision()
public String getKeyword()
Copyright © 2023. All rights reserved.