public abstract class BasicRunSQLImpl extends Object implements RunSQL
| 限定符和类型 | 字段和说明 |
|---|---|
protected StringBuilder |
builder |
protected ConditionChain |
conditionChain |
protected ConfigStore |
configStore |
protected SQLCreater |
creater |
protected String |
delimiterFr |
protected String |
delimiterTo |
protected GroupStore |
groupStore |
protected String |
having |
protected List<String> |
insertColumns |
protected static org.slf4j.Logger |
log |
protected OrderStore |
orderStore |
protected PageNavi |
pageNavi |
protected SQL |
sql |
protected boolean |
strict |
protected List<String> |
updateColumns |
protected boolean |
valid |
protected List<Object> |
values |
protected List<SQLVariable> |
variables |
| 构造器和说明 |
|---|
BasicRunSQLImpl() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddValues, setConditionValueprotected static final org.slf4j.Logger log
protected StringBuilder builder
protected SQL sql
protected PageNavi pageNavi
protected ConditionChain conditionChain
protected ConfigStore configStore
protected OrderStore orderStore
protected GroupStore groupStore
protected String having
protected List<SQLVariable> variables
protected boolean strict
protected boolean valid
protected SQLCreater creater
protected String delimiterFr
protected String delimiterTo
public void setCreater(SQLCreater creater)
setCreater 在接口中 RunSQLpublic void addValue(Object value)
public PageNavi getPageNavi()
getPageNavi 在接口中 RunSQLpublic void setPageNavi(PageNavi pageNavi)
setPageNavi 在接口中 RunSQLpublic ConfigStore getConfigStore()
getConfigStore 在接口中 RunSQLpublic void setConfigStore(ConfigStore configStore)
setConfigStore 在接口中 RunSQLpublic OrderStore getOrderStore()
getOrderStore 在接口中 RunSQLpublic void setOrderStore(OrderStore orderStore)
setOrderStore 在接口中 RunSQLpublic GroupStore getGroupStore()
getGroupStore 在接口中 RunSQLpublic void setGroupStore(GroupStore groupStore)
setGroupStore 在接口中 RunSQLpublic String getDelimiterFr()
public void setDelimiterFr(String delimiterFr)
public String getDelimiterTo()
public void setDelimiterTo(String delimiterTo)
public SQLCreater getCreater()
public RunSQL setConditionValue(boolean required, boolean strictRequired, String prefix, String variable, Object value, SQL.COMPARE_TYPE compare)
RunSQLsetConditionValue 在接口中 RunSQLrequired - 是否必须strictRequired - 是否严格验证必须prefix - 查询条件ID或表名variable - 列名|变量keyvalue - 值compare - 比较方式public String getFinalQueryTxt()
getFinalQueryTxt 在接口中 RunSQLpublic String getTotalQueryTxt()
getTotalQueryTxt 在接口中 RunSQLpublic String getExistsTxt()
getExistsTxt 在接口中 RunSQLpublic String getBaseQueryTxt()
getBaseQueryTxt 在接口中 RunSQLpublic RunSQL addOrders(OrderStore orderStore)
public RunSQL setConditionChain(ConditionChain chain)
setConditionChain 在接口中 RunSQLpublic ConditionChain getConditionChain()
getConditionChain 在接口中 RunSQLpublic RunSQL addCondition(boolean required, boolean strictRequired, String prefix, String var, Object value, SQL.COMPARE_TYPE compare)
addCondition 在接口中 RunSQLrequired - 是否必须strictRequired - 是否必须prefix - 表名var - 列名value - 值compare - 比较方式public RunSQL addCondition(boolean required, String prefix, String var, Object value, SQL.COMPARE_TYPE compare)
addCondition 在接口中 RunSQLpublic RunSQL addCondition(String condition)
addCondition 在接口中 RunSQLpublic RunSQL addCondition(Condition condition)
addCondition 在接口中 RunSQLpublic Condition getCondition(String name)
getCondition 在接口中 RunSQLpublic RunSQL addConditions(String[] conditions)
addConditions 在接口中 RunSQLpublic String getDeleteTxt()
getDeleteTxt 在接口中 RunSQLpublic String getInsertTxt()
getInsertTxt 在接口中 RunSQLpublic String getUpdateTxt()
getUpdateTxt 在接口中 RunSQLpublic RunSQL addVariable(SQLVariable var)
protected static boolean endwithWhere(String txt)
public String getExecuteTxt()
getExecuteTxt 在接口中 RunSQLpublic String getFetchColumns()
getFetchColumns 在接口中 RunSQLpublic void createRunDeleteTxt()
createRunDeleteTxt 在接口中 RunSQLpublic void createRunQueryTxt()
createRunQueryTxt 在接口中 RunSQLpublic void setBuilder(StringBuilder builder)
setBuilder 在接口中 RunSQLpublic StringBuilder getBuilder()
getBuilder 在接口中 RunSQLpublic List<String> getInsertColumns()
getInsertColumns 在接口中 RunSQLpublic RunSQL setInsertColumns(List<String> insertColumns)
setInsertColumns 在接口中 RunSQLpublic List<String> getUpdateColumns()
getUpdateColumns 在接口中 RunSQLpublic RunSQL setUpdateColumns(List<String> updateColumns)
setUpdateColumns 在接口中 RunSQLCopyright © 2022. All rights reserved.