public class TextRun extends AbstractRun implements Run
action, alias, batch, batchValues, builder, catalog, conditionChain, configs, delimiterFr, delimiterTo, distinct, emptyCondition, excludeColumn, filter, from, groupStore, having, insertColumns, joins, keys, log, orderStore, pageNavi, prepare, queryColumns, rows, runtime, schema, slice, supportBr, swt, table, unionAll, unions, update, updateColumns, valid, value, values, variables, vol| 构造器和说明 |
|---|
TextRun() |
| 限定符和类型 | 方法和说明 |
|---|---|
Run |
addCondition(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String prefix,
String var,
Object value)
添加查询条件
|
Run |
addCondition(String condition,
String variable,
Object value)
添加静态文本查询条件
|
Run |
addOrder(Order order) |
Run |
addOrders(OrderStore orderStore) |
TextRun |
addValues(String key,
Object obj)
添加参数值
|
void |
appendCondition(boolean placeholder)
拼接查询条件
|
void |
appendGroup() |
boolean |
checkValid() |
String |
getText() |
Variable |
getVariable(String key) |
List<Variable> |
getVariables(String key) |
void |
init() |
Run |
setConditionValue(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String condition,
String variable,
Object value)
添加查询条件
|
void |
setConfigs(ConfigStore configs) |
Run |
setPrepare(RunPrepare prepare) |
void |
setText(String text) |
action, action, adapter, addCondition, addCondition, addConfigStore, addValue, addValues, addValues, addValues, addValues, addVariable, endWithWhere, full, full, getAdapter, getBaseQuery, getBatch, getBuilder, getCatalog, getCatalogName, getCondition, getConditionChain, getConditions, getConfigs, getDelimiterFr, getDelimiterTo, getDest, getExcludeColumns, getFilter, getFinalDelete, getFinalExecute, getFinalExists, getFinalInsert, getFinalQuery, getFinalUpdate, getFrom, getGroupStore, getInsertColumns, getInsertColumns, getOrderStore, getPageNavi, getPrepare, getQueryColumn, getQueryColumns, getRows, getRunValues, getSchema, getSchemaName, getStrict, getTable, getTableName, getTotalQuery, getUnions, getUpdate, getUpdateColumns, getUpdateColumns, getValue, getValues, getVariables, getVol, group, inner, inner, isEmptyCondition, isSetValue, isSetValue, isUnionAll, isValid, join, join, join, left, left, log, order, replace, right, right, setBatch, setBuilder, setCatalog, setCatalog, setConditionChain, setConfigStore, setDelimiterFr, setDelimiterTo, setExcludeColumns, setExcludeColumns, setFilter, setFrom, setGroupStore, setHaving, setInsertColumns, setInsertColumns, setOrders, setOrderStore, setPageNavi, setQueryColumns, setQueryColumns, setRows, setRuntime, setRunValues, setSchema, setSchema, setSwt, setTable, setTable, setUnionAll, setUpdate, setUpdateColumns, setUpdateColumns, setValid, setValue, setValues, setValues, setVariables, setVol, slice, slice, supportBr, supportBr, union, union, union, unionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaction, action, adapter, addCondition, addCondition, addConfigStore, addValue, addValues, addValues, getBaseQuery, getBaseQuery, getBatch, getBuilder, getCatalog, getCatalogName, getCondition, getConditionChain, getConditions, getConfigs, getDest, getExcludeColumns, getFilter, getFinalDelete, getFinalDelete, getFinalExecute, getFinalExecute, getFinalExists, getFinalExists, getFinalInsert, getFinalInsert, getFinalQuery, getFinalQuery, getFinalUpdate, getFinalUpdate, getFrom, getGroupStore, getInsertColumns, getInsertColumns, getOrderStore, getPageNavi, getPrepare, getQueryColumn, getQueryColumns, getRows, getRunValues, getSchema, getSchemaName, getStrict, getTable, getTableName, getTotalQuery, getTotalQuery, getUnions, getUpdate, getUpdateColumns, getUpdateColumns, getValue, getValues, getVariables, getVol, group, isEmptyCondition, isSetValue, isSetValue, isUnionAll, isValid, log, order, setBatch, setBuilder, setConditionChain, setConfigStore, setExcludeColumns, setExcludeColumns, setFilter, setFrom, setGroupStore, setHaving, setInsertColumns, setInsertColumns, setOrders, setOrderStore, setPageNavi, setQueryColumns, setQueryColumns, setRows, setRuntime, setSwt, setUnionAll, setUpdate, setUpdateColumns, setUpdateColumns, setValid, setValue, setValues, setValues, setVol, supportBr, supportBr, union, union, union, union, unionAll, unionAllpublic String getText()
public void setText(String text)
public Run setPrepare(RunPrepare prepare)
setPrepare 在类中 AbstractRunpublic void init()
init 在接口中 Runinit 在类中 AbstractRunpublic boolean checkValid()
checkValid 在接口中 RuncheckValid 在类中 AbstractRunpublic void appendGroup()
public void appendCondition(boolean placeholder)
public void setConfigs(ConfigStore configs)
public Run setConditionValue(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String condition, String variable, Object value)
RunsetConditionValue 在类中 AbstractRunswt - 遇到空值处理方式compare - 比较方式condition - 查询条件ID或表名variable - 列名|变量keyvalue - 值public TextRun addValues(String key, Object obj)
key - keyobj - objpublic Run addOrders(OrderStore orderStore)
addOrders 在类中 AbstractRunpublic Run addOrder(Order order)
addOrder 在类中 AbstractRunpublic Run addCondition(String condition, String variable, Object value)
condition - conditionvariable - variablevalue - valuepublic Run addCondition(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value)
addCondition 在类中 AbstractRunswt - 空值处理方式prefix - 表名var - 列名value - 值compare - 比较方式public Variable getVariable(String key)
getVariable 在类中 AbstractRunCopyright © 2024. All rights reserved.