public class TableStructure extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected String[] |
colList |
protected Map<String,Integer> |
cols |
protected boolean[] |
colsNullAble |
protected int[] |
colsType |
static ConcurrentMap<Integer,Object> |
defaultVales |
protected String |
delManySql |
protected String |
delMoreSql |
protected String |
delSql |
protected String |
insertAllCols |
protected String |
insertSql |
protected String |
logicDelManySql |
protected String |
logicDelMoreSql |
protected String |
logicDelSql |
protected ConcurrentMap<Object,AtomicInteger> |
optimisticLock |
protected String |
selectAllCols |
protected String |
selectCountDisactiveSql |
protected String |
selectDisactiveSql |
protected String |
selectManySql |
protected String |
selectSql |
protected String |
updateAllCols |
protected String |
updateSql |
protected boolean |
useActive |
| 构造器和说明 |
|---|
TableStructure(String tableName,
DBConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
AtomicInteger |
findOptimisticLock(Object pk) |
String[] |
getColList() |
Map<String,Integer> |
getCols() |
boolean[] |
getColsNullAble() |
int[] |
getColsType() |
DBConfig |
getConfig() |
String |
getDelManySql() |
String |
getDelMoreSql() |
String |
getDelSql() |
String |
getInsertAllCols() |
String |
getInsertSql() |
String |
getLogicDelManySql() |
String |
getLogicDelMoreSql() |
String |
getLogicDelSql() |
ConcurrentMap<Object,AtomicInteger> |
getOptimisticLock() |
String |
getPrimaryKey() |
String |
getSelectAllCols() |
String |
getSelectCountDisactiveSql() |
String |
getSelectCountSql() |
String |
getSelectDisactiveSql() |
String |
getSelectManySql() |
String |
getSelectMoreSql() |
String |
getSelectSql() |
String |
getTableName() |
String |
getUpdateAllCols() |
String |
getUpdateSql() |
void |
init(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) |
boolean |
isUseActive() |
public static final ConcurrentMap<Integer,Object> defaultVales
protected final ConcurrentMap<Object,AtomicInteger> optimisticLock
protected String[] colList
protected int[] colsType
protected boolean[] colsNullAble
protected String selectAllCols
protected String insertAllCols
protected String updateAllCols
protected String insertSql
protected String delSql
protected String delManySql
protected String delMoreSql
protected String logicDelSql
protected String logicDelManySql
protected String logicDelMoreSql
protected String selectCountDisactiveSql
protected String selectDisactiveSql
protected String selectSql
protected String selectManySql
protected String updateSql
protected boolean useActive
public ConcurrentMap<Object,AtomicInteger> getOptimisticLock()
public AtomicInteger findOptimisticLock(Object pk)
public DBConfig getConfig()
public String getSelectManySql()
public String getSelectMoreSql()
public String getSelectCountSql()
public String getSelectDisactiveSql()
public String getLogicDelSql()
public String getLogicDelManySql()
public String getLogicDelMoreSql()
public String getDelManySql()
public String getDelMoreSql()
public boolean isUseActive()
public String getPrimaryKey()
public String getTableName()
public String[] getColList()
public int[] getColsType()
public boolean[] getColsNullAble()
public String getSelectCountDisactiveSql()
public String getSelectAllCols()
public String getInsertAllCols()
public String getUpdateAllCols()
public String getInsertSql()
public String getDelSql()
public String getSelectSql()
public String getUpdateSql()
public void init(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
Copyright © 2019. All rights reserved.