@Entity public class TableStruct extends Object implements Serializable
| 构造器和说明 |
|---|
TableStruct() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
buildCreateTableSql(com.centit.support.database.utils.DBType dbType) |
void |
clearCreateSql() |
String |
extraCreateSql() |
String |
extraViewSql() |
List<TableIndexInfo> |
fetchIndexes() |
static TableStruct |
formTableJson(com.alibaba.fastjson2.JSONObject jt) |
String |
getFulltextIndex() |
void |
mapColumnsType(com.centit.support.database.utils.DBType dbtype) |
protected String |
mapColumnType(com.centit.support.database.metadata.SimpleTableField field,
com.centit.support.database.utils.DBType dt) |
void |
setTableColumns(Collection<com.centit.support.database.metadata.SimpleTableField> columns) |
com.centit.support.database.metadata.SimpleTableInfo |
toTableInfo(com.centit.support.database.utils.DBType dt) |
com.alibaba.fastjson2.JSONObject |
toTableJson() |
public String getFulltextIndex()
public List<TableIndexInfo> fetchIndexes()
public String extraViewSql()
public String extraCreateSql()
public void clearCreateSql()
public com.centit.support.database.metadata.SimpleTableInfo toTableInfo(com.centit.support.database.utils.DBType dt)
public void setTableColumns(Collection<com.centit.support.database.metadata.SimpleTableField> columns)
public com.alibaba.fastjson2.JSONObject toTableJson()
protected String mapColumnType(com.centit.support.database.metadata.SimpleTableField field, com.centit.support.database.utils.DBType dt)
public void mapColumnsType(com.centit.support.database.utils.DBType dbtype)
public static TableStruct formTableJson(com.alibaba.fastjson2.JSONObject jt)
public String buildCreateTableSql(com.centit.support.database.utils.DBType dbType)
Copyright © 2023 Centit Information Technical, co. Inc.. All rights reserved.