public class TColumn extends AbstractModel
header, skipSign
Constructor and Description |
---|
TColumn() |
TColumn(TColumn source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Get 字段描述
|
String |
getDefault()
Get 字段默认值
|
Boolean |
getIsPartition()
Get 是否为分区字段
|
String |
getName()
Get 字段名称
|
Boolean |
getNotNull()
Get 字段是否是非空
|
Long |
getPosition()
Get 字段位置,小的在前
|
Long |
getPrecision()
Get 表示整个 numeric 的长度,取值1-38
|
Long |
getScale()
Get 表示小数部分的长度
Scale小于Precision
|
String |
getType()
Get 字段类型
|
void |
setComment(String Comment)
Set 字段描述
|
void |
setDefault(String Default)
Set 字段默认值
|
void |
setIsPartition(Boolean IsPartition)
Set 是否为分区字段
|
void |
setName(String Name)
Set 字段名称
|
void |
setNotNull(Boolean NotNull)
Set 字段是否是非空
|
void |
setPosition(Long Position)
Set 字段位置,小的在前
|
void |
setPrecision(Long Precision)
Set 表示整个 numeric 的长度,取值1-38
|
void |
setScale(Long Scale)
Set 表示小数部分的长度
Scale小于Precision
|
void |
setType(String Type)
Set 字段类型
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public TColumn()
public TColumn(TColumn source)
public String getName()
public void setName(String Name)
Name
- 字段名称public String getType()
public void setType(String Type)
Type
- 字段类型public String getComment()
public void setComment(String Comment)
Comment
- 字段描述public String getDefault()
public void setDefault(String Default)
Default
- 字段默认值public Boolean getNotNull()
public void setNotNull(Boolean NotNull)
NotNull
- 字段是否是非空public Long getPrecision()
public void setPrecision(Long Precision)
Precision
- 表示整个 numeric 的长度,取值1-38public Long getScale()
public void setScale(Long Scale)
Scale
- 表示小数部分的长度
Scale小于Precisionpublic Long getPosition()
public void setPosition(Long Position)
Position
- 字段位置,小的在前public Boolean getIsPartition()
public void setIsPartition(Boolean IsPartition)
IsPartition
- 是否为分区字段Copyright © 2025. All rights reserved.