mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved SchemaStatVisitor, TableStatColumn support dataType
This commit is contained in:
@@ -409,6 +409,11 @@ public class TableStat {
|
||||
|
||||
private transient String fullName;
|
||||
|
||||
/**
|
||||
* @since 1.0.20
|
||||
*/
|
||||
private String dataType;
|
||||
|
||||
public Column(){
|
||||
|
||||
}
|
||||
@@ -487,6 +492,20 @@ public class TableStat {
|
||||
this.name = name;
|
||||
this.fullName = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 1.0.20
|
||||
*/
|
||||
public String getDataType() {
|
||||
return dataType;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 1.0.20
|
||||
*/
|
||||
public void setDataType(String dataType) {
|
||||
this.dataType = dataType;
|
||||
}
|
||||
|
||||
public Map<String, Object> getAttributes() {
|
||||
return attributes;
|
||||
|
||||
Reference in New Issue
Block a user