| Modifier and Type | Method and Description |
|---|---|
protected void |
GeneralDDLOperations.appendColumnsSQL(TableInfo tableInfo,
StringBuilder sbCreate,
boolean fieldStartNewLine) |
protected void |
GeneralDDLOperations.appendPkColumnSql(TableInfo tableInfo,
StringBuilder sbCreate) |
protected void |
GeneralDDLOperations.appendPkSql(TableInfo tableInfo,
StringBuilder sbCreate) |
protected void |
MySqlDDLOperations.appendPkSql(TableInfo tableInfo,
StringBuilder sbCreate) |
static org.apache.commons.lang3.tuple.Pair<Integer,String> |
GeneralDDLOperations.checkTableWellDefined(TableInfo tableInfo)
返回格式检查结果
|
static org.apache.commons.lang3.tuple.Pair<Integer,String> |
GeneralDDLOperations.checkViewWellDefined(TableInfo tableInfo) |
void |
GeneralDDLOperations.createTable(TableInfo tableInfo) |
void |
DDLOperations.createTable(TableInfo tableInfo)
创建表
|
default String |
DDLOperations.makeCreateTableSql(TableInfo tableInfo)
创建表
|
String |
GeneralDDLOperations.makeCreateTableSql(TableInfo tableInfo,
boolean fieldStartNewLine) |
String |
DDLOperations.makeCreateTableSql(TableInfo tableInfo,
boolean fieldStartNewLine)
创建表
|
| Modifier and Type | Method and Description |
|---|---|
TableInfo |
JsonObjectDao.getTableInfo() |
TableInfo |
GeneralJsonObjectDao.getTableInfo() |
| Modifier and Type | Method and Description |
|---|---|
static String |
GeneralJsonObjectDao.buildCountSqlByProperties(TableInfo tableInfo,
Map<String,Object> properties) |
static String |
GeneralJsonObjectDao.buildFieldSql(TableInfo ti,
String alias,
int builderType)
返回 sql 语句 和 属性名数组
|
static org.apache.commons.lang3.tuple.Pair<String,TableField[]> |
GeneralJsonObjectDao.buildFieldSqlWithFields(TableInfo mapInfo,
String alias,
boolean excludeLazy) |
static String |
GeneralJsonObjectDao.buildFilterSql(TableInfo ti,
String alias,
Map<String,Object> filterMap) |
static String |
GeneralJsonObjectDao.buildFilterSqlByPk(TableInfo ti,
String alias) |
static String |
GeneralJsonObjectDao.buildFilterSqlByPkUseColumnName(TableInfo ti,
String alias) |
static void |
GeneralJsonObjectDao.buildFilterSqlPieces(TableInfo ti,
String alias,
Map<String,Object> filterMap,
Map<String,com.centit.support.common.LeftRightPair<Integer,StringBuilder>> filterGroup) |
static String |
GeneralJsonObjectDao.buildInsertSql(TableInfo ti,
Collection<String> fields) |
static String |
GeneralJsonObjectDao.buildPartFieldSql(TableInfo ti,
Collection<String> fields,
String alias,
boolean withPk)
返回 sql 语句 和 属性名数组
|
static org.apache.commons.lang3.tuple.Pair<String,TableField[]> |
GeneralJsonObjectDao.buildPartFieldSqlWithFields(TableInfo ti,
Collection<String> fields,
String alias,
boolean withPk)
返回 sql 语句 和 属性名数组
|
static org.apache.commons.lang3.tuple.Pair<String,TableField[]> |
GeneralJsonObjectDao.buildSelectSqlWithFields(TableInfo mapInfo,
String alias,
boolean excludeLazy,
String filterSql,
boolean withOrderBy,
String orderSql)
返回 sql 语句 和 属性名数组
|
static String |
GeneralJsonObjectDao.buildUpdateSql(TableInfo ti,
Collection<String> fields)
返回更新语句 update ,如果返回null表示 没有更新的内容
|
static boolean |
GeneralJsonObjectDao.checkHasAllPkColumns(TableInfo tableInfo,
Map<String,Object> properties) |
static GeneralJsonObjectDao |
GeneralJsonObjectDao.createJsonObjectDao(Connection conn,
TableInfo tableInfo) |
static String |
GeneralJsonObjectDao.fetchSelfOrderSql(TableInfo ti,
Map<String,Object> filterMap) |
static Map<String,Object> |
GeneralJsonObjectDao.mapObjectProperties(TableInfo tableInfo,
Map<String,Object> properties) |
void |
GeneralJsonObjectDao.setTableInfo(TableInfo tableInfo) |
| Constructor and Description |
|---|
DB2JsonObjectDao(Connection conn,
TableInfo tableInfo) |
DB2JsonObjectDao(TableInfo tableInfo) |
H2JsonObjectDao(Connection conn,
TableInfo tableInfo) |
H2JsonObjectDao(TableInfo tableInfo) |
JSONObjectComparator(TableInfo tableInfo) |
MySqlJsonObjectDao(Connection conn,
TableInfo tableInfo) |
MySqlJsonObjectDao(TableInfo tableInfo) |
OracleJsonObjectDao(Connection conn,
TableInfo tableInfo) |
OracleJsonObjectDao(TableInfo tableInfo) |
PostgreSqlJsonObjectDao(Connection conn,
TableInfo tableInfo) |
PostgreSqlJsonObjectDao(TableInfo tableInfo) |
SqlSvrJsonObjectDao(Connection conn,
TableInfo tableInfo) |
SqlSvrJsonObjectDao(TableInfo tableInfo) |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleTableInfo |
| Modifier and Type | Class and Description |
|---|---|
class |
TableMapInfo
Created by codefan on 17-8-29.
|
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
DDLUtils.makeAlterTableSqlList(TableInfo newTable,
TableInfo oldTable,
DBType dbType,
DDLOperations ddlOpt) |
Copyright © 2024 江苏南大先腾信息产业股份有限公司. All rights reserved.