public interface DeleteInterceptor extends DMInterceptor
| 限定符和类型 | 方法和说明 |
|---|---|
default ACTION.SWITCH |
after(DataRuntime runtime,
String random,
Run run,
ConfigStore configs,
boolean success,
long result,
long millis)
合计总数之前调用,到这一步SQL已创建完成
|
default ACTION.SWITCH |
before(DataRuntime runtime,
String random,
Run run,
ConfigStore configs)
合计总数之前调用,到这一步SQL已创建完成
|
default ACTION.SWITCH |
prepare(DataRuntime runtime,
String random,
int batch,
Table table,
ConfigStore configs,
String... conditions) |
default ACTION.SWITCH |
prepare(DataRuntime runtime,
String random,
int batch,
Table table,
ConfigStore configs,
String key,
Collection values) |
default ACTION.SWITCH |
prepare(DataRuntime runtime,
String random,
int batch,
Table dest,
Object data,
ConfigStore configs,
List<String> columns)
创建delete SQL之前,可以在这一步修改查询条件
|
default ACTION.SWITCH |
prepare(DataRuntime runtime,
String random,
int batch,
Table table,
Object obj,
ConfigStore configs,
String... columns) |
order, sortdefault ACTION.SWITCH prepare(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端dest - 表 如果不提供表名则根据data解析, 表名可以事实前缀<数据源名>表示切换数据源data - 对象columns - 需要更新的列default ACTION.SWITCH prepare(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String... conditions)
default ACTION.SWITCH prepare(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String key, Collection values)
default ACTION.SWITCH prepare(DataRuntime runtime, String random, int batch, Table table, Object obj, ConfigStore configs, String... columns)
default ACTION.SWITCH before(DataRuntime runtime, String random, Run run, ConfigStore configs)
runtime - 运行环境主要包含驱动适配器 数据源或客户端run - 查询SQL(包含SQL体,查询条件,查询参数值)default ACTION.SWITCH after(DataRuntime runtime, String random, Run run, ConfigStore configs, boolean success, long result, long millis)
runtime - 运行环境主要包含驱动适配器 数据源或客户端result - 影响行数run - 查询SQL(包含SQL体,查询条件,查询参数值)millis - 耗时Copyright © 2025. All rights reserved.