public class Column extends AbstractModel
Constructor and Description |
---|
Column() |
Column(Column 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 Class comment.
|
String |
getCreateTime()
Get Field creation time
Note: This field may return null, indicating that no valid values can be obtained.
|
Boolean |
getIsPartition()
Get Whether the column is the partition field.
|
String |
getModifiedTime()
Get Field modification time
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getName()
Get Column name, which is case-insensitive and can contain up to 25 characters.
|
String |
getNullable()
Get Whether the column is null.
|
Long |
getPosition()
Get Field position
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getPrecision()
Get Length of the entire numeric value
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getScale()
Get Length of the decimal part
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getType()
Get Column type.
|
void |
setComment(String Comment)
Set Class comment.
|
void |
setCreateTime(String CreateTime)
Set Field creation time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setIsPartition(Boolean IsPartition)
Set Whether the column is the partition field.
|
void |
setModifiedTime(String ModifiedTime)
Set Field modification time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setName(String Name)
Set Column name, which is case-insensitive and can contain up to 25 characters.
|
void |
setNullable(String Nullable)
Set Whether the column is null.
|
void |
setPosition(Long Position)
Set Field position
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPrecision(Long Precision)
Set Length of the entire numeric value
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setScale(Long Scale)
Set Length of the decimal part
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setType(String Type)
Set Column type.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Column()
public Column(Column source)
public String getName()
public void setName(String Name)
Name
- Column name, which is case-insensitive and can contain up to 25 characters.public String getType()
public void setType(String Type)
Type
- Column type. Valid values:
string|tinyint|smallint|int|bigint|boolean|float|double|decimal|timestamp|date|binary|arraypublic String getComment()
public void setComment(String Comment)
Comment
- Class comment.
Note: This field may return null, indicating that no valid values can be obtained.public Long getPrecision()
public void setPrecision(Long Precision)
Precision
- Length of the entire numeric value
Note: This field may return null, indicating that no valid values can be obtained.public Long getScale()
public void setScale(Long Scale)
Scale
- Length of the decimal part
Note: This field may return null, indicating that no valid values can be obtained.public String getNullable()
public void setNullable(String Nullable)
Nullable
- Whether the column is null.
Note: This field may return null, indicating that no valid values can be obtained.public Long getPosition()
public void setPosition(Long Position)
Position
- Field position
Note: This field may return null, indicating that no valid values can be obtained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Field creation time
Note: This field may return null, indicating that no valid values can be obtained.public String getModifiedTime()
public void setModifiedTime(String ModifiedTime)
ModifiedTime
- Field modification time
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getIsPartition()
public void setIsPartition(Boolean IsPartition)
IsPartition
- Whether the column is the partition field.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.