| 限定符和类型 | 方法和说明 |
|---|---|
long |
AnylineDao.count(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
合计总行数
|
default long |
AnylineDao.count(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
long |
AnylineDao.delete(DataRuntime runtime,
String random,
boolean recover,
String table,
ConfigStore configs,
String... conditions) |
default long |
AnylineDao.delete(String table,
ConfigStore configs,
String... conditions) |
long |
AnylineDao.execute(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
执行
|
default long |
AnylineDao.execute(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
boolean |
AnylineDao.exists(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
是否存在
|
default boolean |
AnylineDao.exists(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
List<Map<String,Object>> |
AnylineDao.maps(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
查询map列表
|
default List<Map<String,Object>> |
AnylineDao.maps(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
DataSet |
AnylineDao.querys(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
查询row列表
|
default DataSet |
AnylineDao.querys(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
<T> EntitySet<T> |
AnylineDao.selects(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
Class<T> clazz,
ConfigStore configs,
String... conditions)
查询entity列表
|
default <T> EntitySet<T> |
AnylineDao.selects(RunPrepare prepare,
Class<T> clazz,
ConfigStore configs,
String... conditions) |
long |
AnylineDao.update(DataRuntime runtime,
String random,
boolean recover,
int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns)
更新记录
|
default long |
AnylineDao.update(DataRuntime runtime,
String random,
boolean recover,
String dest,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
AnylineDao.update(int batch,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
AnylineDao.update(int batch,
Object data,
ConfigStore configs,
String... columns) |
default long |
AnylineDao.update(int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
AnylineDao.update(int batch,
String dest,
Object data,
ConfigStore configs,
String... columns) |
default long |
AnylineDao.update(Object data,
ConfigStore configs,
List<String> columns) |
default long |
AnylineDao.update(Object data,
ConfigStore configs,
String... columns) |
default long |
AnylineDao.update(String dest,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
AnylineDao.update(String dest,
Object data,
ConfigStore configs,
String... columns) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
DefaultDao.count(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
统计总行数
|
long |
DefaultDao.delete(DataRuntime runtime,
String random,
boolean recover,
String table,
ConfigStore configs,
String... conditions) |
long |
DefaultDao.execute(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
执行
|
boolean |
DefaultDao.exists(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
检测是否存在
|
List<Map<String,Object>> |
DefaultDao.maps(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
查询map列表
|
DataSet |
DefaultDao.querys(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
查询
注意:如果设置了自动还原,querys会自动还原数据源(dao内部执行过程中不要调用除非是一些重载),而select不会 |
protected DataSet |
DefaultDao.select(DataRuntime runtime,
String random,
boolean recover,
boolean system,
String table,
ConfigStore configs,
Run run)
查询
|
<T> EntitySet<T> |
DefaultDao.selects(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
Class<T> clazz,
ConfigStore configs,
String... conditions)
查询
注意:如果设置了自动还原,querys会自动还原数据源(dao内部执行过程中不要调用除非是一些重载),而select不会 |
long |
DefaultDao.update(DataRuntime runtime,
String random,
boolean recover,
int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns)
更新
|
| 限定符和类型 | 方法和说明 |
|---|---|
Run |
DriverAdapter.buildExecuteRun(DataRuntime runtime,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
创建执行SQL
|
Run |
DriverAdapter.buildQueryRun(DataRuntime runtime,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
创建 select 最终可执行命令
|
Run |
DriverAdapter.buildUpdateRun(DataRuntime runtime,
int btch,
String dest,
Object obj,
ConfigStore configs,
boolean checkPrimary,
List<String> columns)
update [build]
|
default Run |
DriverAdapter.buildUpdateRun(DataRuntime runtime,
Object obj,
ConfigStore configs,
boolean checkPrimary,
List<String> columns) |
default Run |
DriverAdapter.buildUpdateRun(DataRuntime runtime,
Object obj,
ConfigStore configs,
boolean checkPrimary,
String... columns) |
default Run |
DriverAdapter.buildUpdateRun(DataRuntime runtime,
Object obj,
ConfigStore configs,
List<String> columns) |
default Run |
DriverAdapter.buildUpdateRun(DataRuntime runtime,
Object obj,
ConfigStore configs,
String... columns) |
default Run |
DriverAdapter.buildUpdateRun(DataRuntime runtime,
String dest,
Object obj,
ConfigStore configs,
boolean checkPrimary,
List<String> columns) |
default Run |
DriverAdapter.buildUpdateRun(DataRuntime runtime,
String dest,
Object obj,
ConfigStore configs,
boolean checkPrimary,
String... columns) |
default Run |
DriverAdapter.buildUpdateRun(DataRuntime runtime,
String dest,
Object obj,
ConfigStore configs,
List<String> columns) |
default Run |
DriverAdapter.buildUpdateRun(DataRuntime runtime,
String dest,
Object obj,
ConfigStore configs,
String... columns) |
default Run |
DriverAdapter.buildUpdateRun(Object obj,
ConfigStore configs,
boolean checkPrimary,
List<String> columns) |
default Run |
DriverAdapter.buildUpdateRun(Object obj,
ConfigStore configs,
boolean checkPrimary,
String... columns) |
default Run |
DriverAdapter.buildUpdateRun(Object obj,
ConfigStore configs,
List<String> columns) |
default Run |
DriverAdapter.buildUpdateRun(Object obj,
ConfigStore configs,
String... columns) |
default Run |
DriverAdapter.buildUpdateRun(String dest,
Object obj,
ConfigStore configs,
boolean checkPrimary,
List<String> columns) |
default Run |
DriverAdapter.buildUpdateRun(String dest,
Object obj,
ConfigStore configs,
boolean checkPrimary,
String... columns) |
default Run |
DriverAdapter.buildUpdateRun(String dest,
Object obj,
ConfigStore configs,
List<String> columns) |
default Run |
DriverAdapter.buildUpdateRun(String dest,
Object obj,
ConfigStore configs,
String... columns) |
Run |
DriverAdapter.buildUpdateRunFromCollection(DataRuntime runtime,
int batch,
String dest,
Collection list,
ConfigStore configs,
boolean checkPrimary,
LinkedHashMap<String,Column> columns)
批量执行时考生调用,否则会遍历调用 fromDataRow或fromEntity
|
Run |
DriverAdapter.buildUpdateRunFromDataRow(DataRuntime runtime,
String dest,
DataRow row,
ConfigStore configs,
boolean checkPrimary,
LinkedHashMap<String,Column> columns)
根据DataRow创建 update 最终可执行命令
|
Run |
DriverAdapter.buildUpdateRunFromEntity(DataRuntime runtime,
String dest,
Object obj,
ConfigStore configs,
boolean checkPrimary,
LinkedHashMap<String,Column> columns)
根据实体对象创建 update 最终可执行命令
|
long |
DriverAdapter.count(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
count [入口]
|
long |
DriverAdapter.delete(DataRuntime runtime,
String random,
String table,
ConfigStore configs,
String... conditions)
delete [入口]
根据configs和conditions过滤条件 |
long |
DriverAdapter.execute(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
execute [入口]
|
boolean |
DriverAdapter.exists(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
exists [入口]
|
List<Map<String,Object>> |
DriverAdapter.maps(DataRuntime runtime,
String random,
ConfigStore configs,
Run run)
select [执行]
|
List<Map<String,Object>> |
DriverAdapter.maps(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
select [入口]
对性能有要求的场景调用,返回java原生map集合,结果中不包含元数据信息 |
DataSet |
DriverAdapter.querys(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
select [入口]
返回DataSet中包含元数据信息,如果性能有要求换成maps |
DataSet |
DriverAdapter.select(DataRuntime runtime,
String random,
boolean system,
String table,
ConfigStore configs,
Run run)
select [执行]
|
<T> EntitySet<T> |
DriverAdapter.selects(DataRuntime runtime,
String random,
RunPrepare prepare,
Class<T> clazz,
ConfigStore configs,
String... conditions)
select [入口]
|
default long |
DriverAdapter.update(DataRuntime runtime,
String random,
int batch,
Object data,
ConfigStore configs) |
default long |
DriverAdapter.update(DataRuntime runtime,
String random,
int batch,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
DriverAdapter.update(DataRuntime runtime,
String random,
int batch,
Object data,
ConfigStore configs,
String... columns) |
long |
DriverAdapter.update(DataRuntime runtime,
String random,
int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns)
UPDATE [入口]
|
default long |
DriverAdapter.update(DataRuntime runtime,
String random,
int batch,
String dest,
Object data,
ConfigStore configs,
String... columns) |
default long |
DriverAdapter.update(DataRuntime runtime,
String random,
Object data,
ConfigStore configs) |
default long |
DriverAdapter.update(DataRuntime runtime,
String random,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
DriverAdapter.update(DataRuntime runtime,
String random,
Object data,
ConfigStore configs,
String... columns) |
default long |
DriverAdapter.update(DataRuntime runtime,
String random,
String dest,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
DriverAdapter.update(DataRuntime runtime,
String random,
String dest,
Object data,
ConfigStore configs,
String... columns) |
default long |
DriverAdapter.update(int batch,
Object data,
ConfigStore configs) |
default long |
DriverAdapter.update(int batch,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
DriverAdapter.update(int batch,
Object data,
ConfigStore configs,
String... columns) |
default long |
DriverAdapter.update(int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
DriverAdapter.update(int batch,
String dest,
Object data,
ConfigStore configs,
String... columns) |
default long |
DriverAdapter.update(Object data,
ConfigStore configs) |
default long |
DriverAdapter.update(Object data,
ConfigStore configs,
List<String> columns) |
default long |
DriverAdapter.update(Object data,
ConfigStore configs,
String... columns) |
default long |
DriverAdapter.update(String dest,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
DriverAdapter.update(String dest,
Object data,
ConfigStore configs,
String... columns) |
| 限定符和类型 | 方法和说明 |
|---|---|
Run |
DefaultDriverAdapter.buildExecuteRun(DataRuntime runtime,
RunPrepare prepare,
ConfigStore configs,
String... conditions) |
Run |
DefaultDriverAdapter.buildQueryRun(DataRuntime runtime,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
创建查询SQL
|
Run |
DefaultDriverAdapter.buildUpdateRun(DataRuntime runtime,
int batch,
String dest,
Object obj,
ConfigStore configs,
boolean checkPrimary,
List<String> columns) |
protected Run |
DefaultDriverAdapter.buildUpdateRunFromCollection(DataRuntime runtime,
int batch,
String dest,
Collection list,
ConfigStore configs,
boolean checkPrimary,
List<String> columns) |
protected Run |
DefaultDriverAdapter.buildUpdateRunFromDataRow(DataRuntime runtime,
String dest,
DataRow row,
ConfigStore configs,
boolean checkPrimary,
List<String> columns) |
protected Run |
DefaultDriverAdapter.buildUpdateRunFromEntity(DataRuntime runtime,
String dest,
Object obj,
ConfigStore configs,
boolean checkPrimary,
List<String> columns) |
protected LinkedHashMap<String,Column> |
DefaultDriverAdapter.confirmUpdateColumns(DataRuntime runtime,
String dest,
DataRow row,
ConfigStore configs,
List<String> columns)
确认需要更新的列
|
long |
DefaultDriverAdapter.update(DataRuntime runtime,
String random,
int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns)
UPDATE [入口]
|
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
CacheUtil.createCacheElementKey(boolean page,
boolean order,
String src,
ConfigStore store,
String... conditions)
创建cache key
|
| 限定符和类型 | 方法和说明 |
|---|---|
default ACTION.SWITCH |
UpdateInterceptor.after(DataRuntime runtime,
String random,
Run run,
String dest,
Object data,
ConfigStore configs,
List<String> columns,
boolean success,
long result,
long millis)
合计总数之前调用,到这一步SQL已创建完成
|
default ACTION.SWITCH |
UpdateInterceptor.before(DataRuntime runtime,
String random,
Run run,
String dest,
Object data,
ConfigStore configs,
List<String> columns)
合计总数之前调用,到这一步SQL已创建完成
|
default ACTION.SWITCH |
DeleteInterceptor.prepare(DataRuntime runtime,
String random,
int batch,
String table,
ConfigStore configs,
String... conditions) |
default ACTION.SWITCH |
UpdateInterceptor.prepare(DataRuntime runtime,
String random,
int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns)
创建update SQL之前,可以在这一步修改查询条件
|
default ACTION.SWITCH |
QueryInterceptor.prepare(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
创建查询SQL之前,可以在这一步修改查询条件
|
default ACTION.SWITCH |
ExecuteInterceptor.prepare(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
创建 SQL之前,可以在这一步修改查询条件
|
ACTION.SWITCH |
CountInterceptor.prepare(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
创建COUNT SQL之前,可以在这一步修改查询条件
|
| 限定符和类型 | 方法和说明 |
|---|---|
default ACTION.SWITCH |
DMListener.prepareQuery(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
创建查相关的SQL之前调用,包括slect exists count等
要修改查询条件可以在这一步实现,注意不是在beforeQuery |
default ACTION.SWITCH |
DMListener.prepareUpdate(DataRuntime runtime,
String random,
int batch,
String dest,
Object obj,
ConfigStore configs,
boolean checkPrimary,
List<String> columns)
创建更新相关的SQL之前调用
要修改更新内容或条件可以在这一步实现,注意不是在beforeUpdate |
| 限定符和类型 | 方法和说明 |
|---|---|
default ConfigStore |
ConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String var,
Object value)
构造查询条件
|
default ConfigStore |
ConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String var,
Object value,
boolean overCondition,
boolean overValue)
构造查询条件
|
default ConfigStore |
ConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String id,
String var,
Object value)
构造查询条件
|
ConfigStore |
ConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue)
构造查询条件
|
ConfigStore |
ConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt,
String text)
构造查询条件
|
default ConfigStore |
ConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value)
构造查询条件
|
default ConfigStore |
ConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue)
构造查询条件
|
default ConfigStore |
ConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value)
构造查询条件
XML自定义SQL条件中指定变量赋值
这里不指定运算算,根据value情况生成IN或者= |
default ConfigStore |
ConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue)
构造查询条件
|
default ConfigStore |
ConfigStore.and(Compare compare,
String var,
Object value) |
default ConfigStore |
ConfigStore.and(Compare compare,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.and(Compare compare,
String id,
String var,
Object value) |
default ConfigStore |
ConfigStore.and(Compare compare,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
ConfigStore |
ConfigStore.and(Config config)
构造查询条件
|
ConfigStore |
ConfigStore.and(ConfigStore config) |
default ConfigStore |
ConfigStore.and(String text) |
default ConfigStore |
ConfigStore.and(String var,
Object value) |
default ConfigStore |
ConfigStore.and(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.and(String id,
String var,
Object value) |
default ConfigStore |
ConfigStore.and(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String col,
Object... values)
构造IN查询条件,如果只提供一个值与and一样
|
default ConfigStore |
ConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object... values) |
default ConfigStore |
ConfigStore.ands(Compare compare,
String col,
Object... values) |
default ConfigStore |
ConfigStore.ands(String var,
Object... values) |
default ConfigStore |
ConfigStore.between(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object min,
Object max,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.between(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object min,
Object max,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.between(String var,
Object min,
Object max) |
default ConfigStore |
ConfigStore.between(String var,
Object min,
Object max,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.between(String id,
String var,
Object min,
Object max,
boolean overCondition,
boolean overValue) |
ConfigStore |
ConfigStore.columns(String... columns)
设置城要查询的列
|
default ConfigStore |
ConfigStore.condition(String join,
Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String var,
Object value)
构造查询条件
|
default ConfigStore |
ConfigStore.condition(String join,
Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String var,
Object value,
boolean overCondition,
boolean overValue)
构造查询条件
|
default ConfigStore |
ConfigStore.condition(String join,
Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String id,
String var,
Object value)
构造查询条件
|
default ConfigStore |
ConfigStore.condition(String join,
Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue)
构造查询条件
|
default ConfigStore |
ConfigStore.condition(String join,
Compare.EMPTY_VALUE_SWITCH swt,
String text)
构造查询条件
|
default ConfigStore |
ConfigStore.condition(String join,
Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value) |
default ConfigStore |
ConfigStore.condition(String join,
Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue)
构造查询条件
|
default ConfigStore |
ConfigStore.condition(String join,
Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value)
构造查询条件
XML自定义SQL条件中指定变量赋值
这里不指定运算算,根据value情况生成IN或者= |
default ConfigStore |
ConfigStore.condition(String join,
Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue)
构造查询条件
|
default ConfigStore |
ConfigStore.condition(String join,
Compare compare,
String var,
Object value) |
default ConfigStore |
ConfigStore.condition(String join,
Compare compare,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.condition(String join,
Compare compare,
String id,
String var,
Object value) |
default ConfigStore |
ConfigStore.condition(String join,
Compare compare,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.condition(String join,
Config config)
构造查询条件
|
default ConfigStore |
ConfigStore.condition(String join,
ConfigStore config) |
default ConfigStore |
ConfigStore.condition(String join,
String text) |
default ConfigStore |
ConfigStore.condition(String join,
String var,
Object value) |
default ConfigStore |
ConfigStore.condition(String join,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.condition(String join,
String id,
String var,
Object value) |
default ConfigStore |
ConfigStore.condition(String join,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
ConfigStore |
ConfigStore.copyPageNavi(PageNavi navi) |
default ConfigStore |
ConfigStore.endWith(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.endWith(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.endWith(String var,
Object value) |
default ConfigStore |
ConfigStore.endWith(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.endWith(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
ConfigStore |
ConfigStore.entityClass(Class clazz) |
default ConfigStore |
ConfigStore.eq(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.eq(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.eq(String var,
Object value) |
default ConfigStore |
ConfigStore.eq(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.eq(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
ConfigStore |
ConfigStore.excludes(String... columns)
设置不城要查询的列
|
ConfigStore |
ConfigStore.fetch(String... keys)
提取部分查询条件
|
default ConfigStore |
ConfigStore.findInSet(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.findInSet(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.findInSet(String var,
Object value) |
default ConfigStore |
ConfigStore.findInSet(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.findInSet(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.findInSetAnd(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.findInSetAnd(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.findInSetAnd(String var,
Object value) |
default ConfigStore |
ConfigStore.findInSetAnd(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.findInSetAnd(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.findInSetOr(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.findInSetOr(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.findInSetOr(String var,
Object value) |
default ConfigStore |
ConfigStore.findInSetOr(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.findInSetOr(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.ge(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.ge(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.ge(String var,
Object value) |
default ConfigStore |
ConfigStore.ge(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.ge(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
ConfigStore |
ConfigStore.group(Group column)
添加分组
|
ConfigStore |
ConfigStore.group(String column)
添加排序
|
default ConfigStore |
ConfigStore.gt(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.gt(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.gt(String var,
Object value) |
default ConfigStore |
ConfigStore.gt(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.gt(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.in(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.in(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.in(String var,
Object value) |
default ConfigStore |
ConfigStore.in(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.in(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.le(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.le(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.le(String var,
Object value) |
default ConfigStore |
ConfigStore.le(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.le(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.like(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.like(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.like(String var,
Object value) |
default ConfigStore |
ConfigStore.like(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.like(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.likePrefix(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.likePrefix(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.likePrefix(String var,
Object value) |
default ConfigStore |
ConfigStore.likePrefix(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.likePrefix(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.likeSuffix(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.likeSuffix(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.likeSuffix(String var,
Object value) |
default ConfigStore |
ConfigStore.likeSuffix(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.likeSuffix(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
ConfigStore |
ConfigStore.limit(long offset,
int rows)
起止行 下标从0开始
|
default ConfigStore |
ConfigStore.lt(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.lt(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.lt(String var,
Object value) |
default ConfigStore |
ConfigStore.lt(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.lt(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.ne(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.ne(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.ne(String var,
Object value) |
default ConfigStore |
ConfigStore.ne(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.ne(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notEndWith(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notEndWith(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notEndWith(String var,
Object value) |
default ConfigStore |
ConfigStore.notEndWith(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notEndWith(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notIn(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notIn(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notIn(String var,
Object value) |
default ConfigStore |
ConfigStore.notIn(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notIn(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notLike(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notLike(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notLike(String var,
Object value) |
default ConfigStore |
ConfigStore.notLike(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notLike(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notLikePrefix(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notLikePrefix(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notLikePrefix(String var,
Object value) |
default ConfigStore |
ConfigStore.notLikePrefix(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notLikePrefix(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notLikeSuffix(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notLikeSuffix(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notLikeSuffix(String var,
Object value) |
default ConfigStore |
ConfigStore.notLikeSuffix(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notLikeSuffix(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notStartWith(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notStartWith(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notStartWith(String var,
Object value) |
default ConfigStore |
ConfigStore.notStartWith(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.notStartWith(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String var,
Object value) |
default ConfigStore |
ConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String id,
String var,
Object value) |
ConfigStore |
ConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue)
与ConfigStore中前一个条件合成or
|
ConfigStore |
ConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt,
String text) |
default ConfigStore |
ConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value) |
default ConfigStore |
ConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue)
与ConfigStore中前一个条件合成or
这里不指定运算算,根据value情况生成IN或者= |
default ConfigStore |
ConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value) |
default ConfigStore |
ConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.or(Compare compare,
String var,
Object value) |
default ConfigStore |
ConfigStore.or(Compare compare,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.or(Compare compare,
String id,
String var,
Object value) |
default ConfigStore |
ConfigStore.or(Compare compare,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
ConfigStore |
ConfigStore.or(Config config) |
ConfigStore |
ConfigStore.or(ConfigStore config) |
default ConfigStore |
ConfigStore.or(String text) |
default ConfigStore |
ConfigStore.or(String var,
Object value) |
default ConfigStore |
ConfigStore.or(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.or(String id,
String var,
Object value) |
default ConfigStore |
ConfigStore.or(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
ConfigStore |
ConfigStore.order(Order order) |
ConfigStore |
ConfigStore.order(Order order,
boolean override)
添加排序
|
ConfigStore |
ConfigStore.order(String order) |
ConfigStore |
ConfigStore.order(String order,
boolean override)
添加排序
|
ConfigStore |
ConfigStore.order(String column,
Order.TYPE type)
添加排序
|
ConfigStore |
ConfigStore.order(String column,
Order.TYPE type,
boolean override)
添加排序
|
ConfigStore |
ConfigStore.order(String column,
String type)
添加排序
|
ConfigStore |
ConfigStore.order(String column,
String type,
boolean override)
添加排序
|
default ConfigStore |
ConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String var,
Object value) |
default ConfigStore |
ConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String id,
String var,
Object value) |
ConfigStore |
ConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue)
与ConfigStore中当前所有的条件合成or
|
ConfigStore |
ConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt,
Config config) |
ConfigStore |
ConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt,
String text) |
default ConfigStore |
ConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value) |
default ConfigStore |
ConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue)
与ConfigStore中当前所有的条件合成or
* 这里不指定运算算,根据value情况生成IN或者= |
default ConfigStore |
ConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value) |
default ConfigStore |
ConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.ors(Compare compare,
String var,
Object value) |
default ConfigStore |
ConfigStore.ors(Compare compare,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.ors(Compare compare,
String id,
String var,
Object value) |
default ConfigStore |
ConfigStore.ors(Compare compare,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.ors(Config config) |
ConfigStore |
ConfigStore.ors(ConfigStore config) |
default ConfigStore |
ConfigStore.ors(String text) |
default ConfigStore |
ConfigStore.ors(String var,
Object value) |
default ConfigStore |
ConfigStore.ors(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.ors(String id,
String var,
Object value) |
default ConfigStore |
ConfigStore.ors(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
ConfigStore |
ConfigStore.page(long page,
int rows)
设置分页
|
default ConfigStore |
ConfigStore.param(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value)
用来给占位符或自定义SQL中的参数赋值
Compare.NONE 只作为参数值为占位符赋值,不能独立生成新的查询条件
|
default ConfigStore |
ConfigStore.param(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value)
用来给占位符或自定义SQL中的参数赋值
|
default ConfigStore |
ConfigStore.param(String var,
Object value) |
default ConfigStore |
ConfigStore.param(String id,
String var,
Object value) |
ConfigStore |
ConfigStore.removeConfig(Config config) |
ConfigStore |
ConfigStore.removeConfig(String var) |
ConfigStore |
ConfigStore.removeConfig(String var,
Compare compare) |
ConfigStore |
ConfigStore.scope(long first,
long last)
起止行 下标从0开始
|
ConfigStore |
ConfigStore.setGroups(GroupStore groups) |
ConfigStore |
ConfigStore.setOrders(OrderStore orders) |
ConfigStore |
ConfigStore.setPageNavi(PageNavi navi) |
ConfigStore |
ConfigStore.setTotalLazy(long ms)
开启记录总数懒加载
|
ConfigStore |
ConfigStore.setValue(Map<String,Object> values)
在配置了参数(调用and/or)之后,为参数赋值(值经常是来自WebUti.value(request))
|
default ConfigStore |
ConfigStore.startWith(Compare.EMPTY_VALUE_SWITCH swt,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.startWith(Compare.EMPTY_VALUE_SWITCH swt,
String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.startWith(String var,
Object value) |
default ConfigStore |
ConfigStore.startWith(String var,
Object value,
boolean overCondition,
boolean overValue) |
default ConfigStore |
ConfigStore.startWith(String id,
String var,
Object value,
boolean overCondition,
boolean overValue) |
ConfigStore |
ConfigStore.stream(StreamHandler hanlder) |
| 限定符和类型 | 方法和说明 |
|---|---|
ConfigStore |
ConfigStore.and(ConfigStore config) |
default ConfigStore |
ConfigStore.condition(String join,
ConfigStore config) |
static String |
ConfigParser.createSQLSign(boolean page,
boolean order,
String src,
ConfigStore store,
String... conditions)
生成SQL签名,用来唯一标签一条SQL
|
ConfigStore |
ConfigStore.or(ConfigStore config) |
ConfigStore |
ConfigStore.ors(ConfigStore config) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultConfigStore
查询参数
|
| 限定符和类型 | 方法和说明 |
|---|---|
ConfigStore |
DefaultConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String prefix,
String var,
Object value,
boolean overCondition,
boolean overValue) |
ConfigStore |
DefaultConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt,
String text) |
ConfigStore |
DefaultConfigStore.and(Config conf) |
ConfigStore |
DefaultConfigStore.and(ConfigStore configs) |
ConfigStore |
DefaultConfigStore.clone() |
ConfigStore |
DefaultConfigStore.columns(String... columns)
设置城要查询的列
|
ConfigStore |
DefaultConfigStore.condition(String join,
Compare compare,
String key,
Object... values) |
ConfigStore |
DefaultConfigStore.condition(String join,
String compare,
String key,
String value) |
ConfigStore |
DefaultConfigStore.copyPageNavi(PageNavi navi) |
ConfigStore |
DefaultConfigStore.entityClass(Class clazz) |
ConfigStore |
DefaultConfigStore.excludes(String... columns) |
ConfigStore |
DefaultConfigStore.fetch(String... keys) |
ConfigStore |
DefaultConfigStore.group(Group group)
添加分组
|
ConfigStore |
DefaultConfigStore.group(String column) |
ConfigStore |
DefaultConfigStore.limit(long offset,
int rows)
起止行 下标从0开始
|
ConfigStore |
DefaultConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String prefix,
String var,
Object value,
boolean overCondition,
boolean overValue) |
ConfigStore |
DefaultConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt,
String text) |
ConfigStore |
DefaultConfigStore.or(Config config) |
ConfigStore |
DefaultConfigStore.or(ConfigStore configs) |
ConfigStore |
DefaultConfigStore.order(Order order) |
ConfigStore |
DefaultConfigStore.order(Order order,
boolean override)
添加排序
|
ConfigStore |
DefaultConfigStore.order(String order) |
ConfigStore |
DefaultConfigStore.order(String order,
boolean override) |
ConfigStore |
DefaultConfigStore.order(String column,
Order.TYPE type) |
ConfigStore |
DefaultConfigStore.order(String column,
Order.TYPE type,
boolean override) |
ConfigStore |
DefaultConfigStore.order(String column,
String type) |
ConfigStore |
DefaultConfigStore.order(String column,
String type,
boolean override) |
ConfigStore |
DefaultConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt,
Compare compare,
String prefix,
String var,
Object value,
boolean overCondition,
boolean overValue) |
ConfigStore |
DefaultConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt,
Config config) |
ConfigStore |
DefaultConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt,
String text) |
ConfigStore |
DefaultConfigStore.ors(ConfigStore configs) |
ConfigStore |
DefaultConfigStore.page(long page,
int rows)
设置分页
|
ConfigStore |
DefaultConfigStore.removeConfig(Config config) |
ConfigStore |
DefaultConfigStore.removeConfig(String var) |
ConfigStore |
DefaultConfigStore.removeConfig(String var,
Compare compare) |
ConfigStore |
DefaultConfigStore.scope(long first,
long last)
起止行 下标从0开始
|
ConfigStore |
DefaultConfigStore.setGroups(GroupStore groups) |
ConfigStore |
DefaultConfigStore.setOrders(OrderStore orders) |
ConfigStore |
DefaultConfigStore.setPageNavi(PageNavi navi) |
ConfigStore |
DefaultConfigStore.setTotalLazy(long ms)
开启记录总数懒加载
|
ConfigStore |
DefaultConfigStore.setValue(Map<String,Object> values) |
ConfigStore |
DefaultConfigStore.stream(StreamHandler handler) |
| 限定符和类型 | 方法和说明 |
|---|---|
ConfigStore |
DefaultConfigStore.and(ConfigStore configs) |
ConfigStore |
DefaultConfigStore.or(ConfigStore configs) |
ConfigStore |
DefaultConfigStore.ors(ConfigStore configs) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected ConfigStore |
BasicRun.configStore |
| 限定符和类型 | 方法和说明 |
|---|---|
ConfigStore |
Run.getConfigStore() |
ConfigStore |
BasicRun.getConfigStore() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
XMLRun.setConfigs(ConfigStore configs) |
void |
TextRun.setConfigs(ConfigStore configs) |
void |
TableRun.setConfigs(ConfigStore configs) |
void |
XMLRun.setConfigStore(ConfigStore configStore) |
void |
Run.setConfigStore(ConfigStore configs) |
void |
BasicRun.setConfigStore(ConfigStore configStore) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ConfigStore |
ServiceProxy.condition() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ACTION.SWITCH |
InterceptorProxy.afterUpdate(DataRuntime runtime,
String random,
Run run,
String dest,
Object data,
ConfigStore configs,
List<String> columns,
boolean success,
long result,
long millis) |
static ACTION.SWITCH |
InterceptorProxy.beforeUpdate(DataRuntime runtime,
String random,
Run run,
String dest,
Object data,
ConfigStore configs,
List<String> columns) |
static DataRow |
ServiceProxy.cache(String cache,
RunPrepare prepare,
ConfigStore configs,
Object obj,
String... conditions) |
static DataRow |
ServiceProxy.cache(String cache,
RunPrepare prepare,
ConfigStore configs,
String... conditions) |
static DataRow |
ServiceProxy.cache(String cache,
String src,
ConfigStore configs,
Object obj,
String... conditions) |
static DataRow |
ServiceProxy.cache(String cache,
String src,
ConfigStore configs,
String... conditions) |
static DataSet |
ServiceProxy.caches(String cache,
RunPrepare prepare,
ConfigStore configs,
Object obj,
String... conditions) |
static DataSet |
ServiceProxy.caches(String cache,
RunPrepare prepare,
ConfigStore configs,
String... conditions) |
static DataSet |
ServiceProxy.caches(String cache,
String src,
ConfigStore configs,
Object obj,
String... conditions)
如果二级缓存开启 会从二级缓存中提取数据
|
static DataSet |
ServiceProxy.caches(String cache,
String src,
ConfigStore configs,
String... conditions) |
static long |
ServiceProxy.count(String src,
ConfigStore configs,
Object obj,
String... conditions) |
static long |
ServiceProxy.count(String src,
ConfigStore configs,
String... conditions) |
static long |
ServiceProxy.delete(String table,
ConfigStore configs,
String... conditions) |
static long |
ServiceProxy.execute(String src,
ConfigStore configs,
String... conditions)
执行
|
static boolean |
ServiceProxy.exists(String src,
ConfigStore configs,
Object obj,
String... conditions)
是否存在
|
static boolean |
ServiceProxy.exists(String src,
ConfigStore configs,
String... conditions) |
static List<Map<String,Object>> |
ServiceProxy.maps(String src,
ConfigStore configs,
Object obj,
String... conditions)
直接返回Map集合不封装,不分页
|
static List<Map<String,Object>> |
ServiceProxy.maps(String src,
ConfigStore configs,
String... conditions) |
static ACTION.SWITCH |
InterceptorProxy.prepareCount(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions) |
static ACTION.SWITCH |
InterceptorProxy.prepareDelete(DataRuntime runtime,
String random,
int batch,
String table,
ConfigStore configs,
String... conditions) |
static ACTION.SWITCH |
InterceptorProxy.prepareExecute(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions) |
static ACTION.SWITCH |
InterceptorProxy.prepareQuery(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
DML
|
static ACTION.SWITCH |
InterceptorProxy.prepareUpdate(DataRuntime runtime,
String random,
int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns) |
static DataRow |
ServiceProxy.query(RunPrepare prepare,
ConfigStore configs,
Object obj,
String... conditions) |
static DataRow |
ServiceProxy.query(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
static DataRow |
ServiceProxy.query(String src,
ConfigStore configs,
Object obj,
String... conditions) |
static DataRow |
ServiceProxy.query(String src,
ConfigStore configs,
String... conditions) |
static DataSet |
ServiceProxy.querys(RunPrepare prepare,
ConfigStore configs,
Object obj,
String... conditions) |
static DataSet |
ServiceProxy.querys(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
static DataSet |
ServiceProxy.querys(String src,
ConfigStore configs,
Object obj,
String... conditions)
按条件查询
|
static DataSet |
ServiceProxy.querys(String src,
ConfigStore configs,
String... conditions) |
static boolean |
ServiceProxy.removeCache(String channel,
String src,
ConfigStore configs,
String... conditions)
删除缓存 参数保持与查询参数完全一致
|
static <T> T |
ServiceProxy.select(Class<T> clazz,
ConfigStore configs,
String... conditions) |
static <T> T |
ServiceProxy.select(Class<T> clazz,
ConfigStore configs,
T entity,
String... conditions) |
static <T> T |
ServiceProxy.select(String src,
Class<T> clazz,
ConfigStore configs,
String... conditions) |
static <T> T |
ServiceProxy.select(String src,
Class<T> clazz,
ConfigStore configs,
T entity,
String... conditions) |
static <T> EntitySet<T> |
ServiceProxy.selects(Class<T> clazz,
ConfigStore configs,
String... conditions) |
static <T> EntitySet<T> |
ServiceProxy.selects(Class<T> clazz,
ConfigStore configs,
T entity,
String... conditions) |
static <T> EntitySet<T> |
ServiceProxy.selects(String src,
Class<T> clazz,
ConfigStore configs,
String... conditions) |
static <T> EntitySet<T> |
ServiceProxy.selects(String src,
Class<T> clazz,
ConfigStore configs,
T entity,
String... conditions) |
static long |
ServiceProxy.update(int batch,
Object data,
ConfigStore configs,
String... columns) |
static long |
ServiceProxy.update(int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns)
更新记录
默认情况下以主键为更新条件,需在更新的数据保存在data中
如果提供了dest则更新dest表,如果没有提供则根据data解析出表名
DataRow/DataSet可以临时设置主键 如设置TYPE_CODE为主键,则根据TYPE_CODE更新
可以提供了ConfigStore以实现更复杂的更新条件
需要更新的列通过 columns提供
|
static long |
ServiceProxy.update(int batch,
String dest,
Object data,
ConfigStore configs,
String... columns) |
static long |
ServiceProxy.update(Object data,
ConfigStore configs,
String... columns) |
static long |
ServiceProxy.update(String dest,
Object data,
ConfigStore configs,
String... columns) |
| 限定符和类型 | 方法和说明 |
|---|---|
ConfigStore |
AnylineService.condition() |
| 限定符和类型 | 方法和说明 |
|---|---|
DataRow |
AnylineService.cache(String cache,
RunPrepare prepare,
ConfigStore configs,
Object obj,
String... conditions) |
default DataRow |
AnylineService.cache(String cache,
RunPrepare prepare,
ConfigStore configs,
String... conditions) |
default DataRow |
AnylineService.cache(String cache,
RunPrepare prepare,
long first,
long last,
ConfigStore configs,
String... conditions) |
DataRow |
AnylineService.cache(String cache,
String src,
ConfigStore configs,
Object obj,
String... conditions) |
default DataRow |
AnylineService.cache(String cache,
String src,
ConfigStore configs,
String... conditions) |
DataSet |
AnylineService.caches(String cache,
RunPrepare prepare,
ConfigStore configs,
Object obj,
String... conditions) |
default DataSet |
AnylineService.caches(String cache,
RunPrepare prepare,
ConfigStore configs,
String... conditions) |
DataSet |
AnylineService.caches(String cache,
String src,
ConfigStore configs,
Object obj,
String... conditions)
如果二级缓存开启 会从二级缓存中提取数据
|
default DataSet |
AnylineService.caches(String cache,
String src,
ConfigStore configs,
String... conditions) |
default DataSet |
AnylineService.caches(String cache,
String src,
long first,
long last,
ConfigStore configs,
Object obj,
String... conditions) |
default DataSet |
AnylineService.caches(String cache,
String src,
long first,
long last,
ConfigStore configs,
String... conditions) |
long |
AnylineService.count(String src,
ConfigStore configs,
Object obj,
String... conditions)
count
|
default long |
AnylineService.count(String src,
ConfigStore configs,
String... conditions) |
long |
AnylineService.delete(String table,
ConfigStore configs,
String... conditions)
根据ConfigStore中的条件+conditions条件删除
|
long |
AnylineService.execute(String src,
ConfigStore configs,
String... conditions)
执行
|
boolean |
AnylineService.exists(String src,
ConfigStore configs,
Object obj,
String... conditions)
是否存在
|
default boolean |
AnylineService.exists(String src,
ConfigStore configs,
String... conditions) |
E |
AnylineService.get(ConfigStore configs,
String... conditions) |
EntitySet<E> |
AnylineService.gets(ConfigStore configs,
String... conditions) |
List<Map<String,Object>> |
AnylineService.maps(String src,
ConfigStore configs,
Object obj,
String... conditions)
直接返回Map集合不封装,不分页
|
default List<Map<String,Object>> |
AnylineService.maps(String src,
ConfigStore configs,
String... conditions) |
DataRow |
AnylineService.query(RunPrepare prepare,
ConfigStore configs,
Object obj,
String... conditions) |
default DataRow |
AnylineService.query(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
DataRow |
AnylineService.query(String src,
ConfigStore configs,
Object obj,
String... conditions) |
default DataRow |
AnylineService.query(String src,
ConfigStore configs,
String... conditions) |
DataSet |
AnylineService.querys(RunPrepare prepare,
ConfigStore configs,
Object obj,
String... conditions) |
default DataSet |
AnylineService.querys(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
default DataSet |
AnylineService.querys(RunPrepare prepare,
long first,
long last,
ConfigStore configs,
Object obj,
String... conditions) |
DataSet |
AnylineService.querys(String src,
ConfigStore configs,
Object obj,
String... conditions)
按条件查询
|
default DataSet |
AnylineService.querys(String src,
ConfigStore configs,
String... conditions) |
default DataSet |
AnylineService.querys(String src,
long first,
long last,
ConfigStore configs,
Object obj,
String... conditions) |
default DataSet |
AnylineService.querys(String src,
long first,
long last,
ConfigStore configs,
String... conditions) |
boolean |
AnylineService.removeCache(String channel,
String src,
ConfigStore configs,
String... conditions)
删除缓存 参数保持与查询参数完全一致
|
default <T> T |
AnylineService.select(Class<T> clazz,
ConfigStore configs,
String... conditions) |
<T> T |
AnylineService.select(Class<T> clazz,
ConfigStore configs,
T entity,
String... conditions) |
default <T> T |
AnylineService.select(String src,
Class<T> clazz,
ConfigStore configs,
String... conditions) |
<T> T |
AnylineService.select(String src,
Class<T> clazz,
ConfigStore configs,
T entity,
String... conditions) |
default <T> EntitySet<T> |
AnylineService.selects(Class<T> clazz,
ConfigStore configs,
String... conditions) |
<T> EntitySet<T> |
AnylineService.selects(Class<T> clazz,
ConfigStore configs,
T entity,
String... conditions) |
default <T> EntitySet<T> |
AnylineService.selects(String src,
Class<T> clazz,
ConfigStore configs,
String... conditions) |
<T> EntitySet<T> |
AnylineService.selects(String src,
Class<T> clazz,
ConfigStore configs,
T entity,
String... conditions)
根据SQL或自定义SQL返回实体
|
default long |
AnylineService.update(int batch,
Object data,
ConfigStore configs,
String... columns) |
long |
AnylineService.update(int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns)
更新记录
默认情况下以主键为更新条件,需在更新的数据保存在data中
如果提供了dest则更新dest表,如果没有提供则根据data解析出表名
DataRow/DataSet可以临时设置主键 如设置TYPE_CODE为主键,则根据TYPE_CODE更新
可以提供了ConfigStore以实现更复杂的更新条件
需要更新的列通过 columns提供
|
default long |
AnylineService.update(int batch,
String dest,
Object data,
ConfigStore configs,
String... columns) |
default long |
AnylineService.update(Object data,
ConfigStore configs,
String... columns) |
default long |
AnylineService.update(String dest,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
AnylineService.update(String dest,
Object data,
ConfigStore configs,
String... columns) |
| 限定符和类型 | 方法和说明 |
|---|---|
ConfigStore |
DefaultService.condition() |
| 限定符和类型 | 方法和说明 |
|---|---|
DataRow |
DefaultService.cache(String cache,
RunPrepare table,
ConfigStore configs,
Object obj,
String... conditions) |
DataRow |
DefaultService.cache(String cache,
String src,
ConfigStore configs,
Object obj,
String... conditions) |
DataSet |
DefaultService.caches(String cache,
RunPrepare table,
ConfigStore configs,
Object obj,
String... conditions) |
DataSet |
DefaultService.caches(String cache,
String src,
ConfigStore configs,
Object obj,
String... conditions) |
long |
DefaultService.count(String src,
ConfigStore configs,
Object obj,
String... conditions)
count
|
long |
DefaultService.delete(String table,
ConfigStore configs,
String... conditions) |
long |
DefaultService.execute(String src,
ConfigStore store,
String... conditions) |
boolean |
DefaultService.exists(String src,
ConfigStore configs,
Object obj,
String... conditions)
是否存在
|
E |
DefaultService.get(ConfigStore configs,
String... conditions) |
EntitySet<E> |
DefaultService.gets(ConfigStore configs,
String... conditions) |
List<Map<String,Object>> |
DefaultService.maps(String src,
ConfigStore configs,
Object obj,
String... conditions) |
DataRow |
DefaultService.query(RunPrepare table,
ConfigStore store,
Object obj,
String... conditions) |
DataRow |
DefaultService.query(String src,
ConfigStore store,
Object obj,
String... conditions) |
protected DataSet |
DefaultService.queryFromCache(String cache,
String src,
ConfigStore configs,
String... conditions) |
protected DataSet |
DefaultService.queryFromDao(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
protected <T> EntitySet<T> |
DefaultService.queryFromDao(String src,
Class<T> clazz,
ConfigStore configs,
String... conditions) |
protected DataSet |
DefaultService.queryFromDao(String src,
ConfigStore configs,
String... conditions) |
DataSet |
DefaultService.querys(RunPrepare prepare,
ConfigStore configs,
Object obj,
String... conditions)
按条件查询
|
DataSet |
DefaultService.querys(String src,
ConfigStore configs,
Object obj,
String... conditions)
按条件查询
|
boolean |
DefaultService.removeCache(String channel,
String src,
ConfigStore configs,
String... conditions)
删除缓存 参数保持与查询参数完全一致
|
<T> T |
DefaultService.select(Class<T> clazz,
ConfigStore configs,
T entity,
String... conditions) |
<T> T |
DefaultService.select(String src,
Class<T> clazz,
ConfigStore configs,
T entity,
String... conditions) |
protected <T> EntitySet<T> |
DefaultService.selectFromDao(Class<T> clazz,
ConfigStore configs,
String... conditions) |
<T> EntitySet<T> |
DefaultService.selects(Class<T> clazz,
ConfigStore configs,
T entity,
String... conditions) |
<T> EntitySet<T> |
DefaultService.selects(String src,
Class<T> clazz,
ConfigStore configs,
T entity,
String... conditions) |
protected PageNavi |
DefaultService.setPageLazy(String src,
ConfigStore configs,
String... conditions) |
long |
DefaultService.update(int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns)
更新记录
默认情况下以主键为更新条件,需在更新的数据保存在data中
如果提供了dest则更新dest表,如果没有提供则根据data解析出表名
DataRow/DataSet可以临时设置主键 如设置TYPE_CODE为主键,则根据TYPE_CODE更新
可以提供了ConfigStore以实现更复杂的更新条件
需要更新的列通过fixs/columns提供
|
Copyright © 2023. All rights reserved.