接口的使用
org.anyline.data.param.ConfigStore
使用ConfigStore的程序包
程序包
说明
-
org.anyline.dao中ConfigStore的使用
参数类型为ConfigStore的org.anyline.dao中的方法修饰符和类型方法说明default <T extends Column>
LinkedHashMap<String,T> AnylineDao.columns(boolean greedy, String table, ConfigStore configs) AnylineDao.columns(boolean greedy, ConfigStore configs) default <T extends Column>
LinkedHashMap<String,T> AnylineDao.columns(boolean greedy, Catalog catalog, Schema schema, String table, ConfigStore configs) AnylineDao.columns(boolean greedy, Catalog catalog, Schema schema, ConfigStore configs) default <T extends Column>
LinkedHashMap<String,T> AnylineDao.columns(boolean greedy, Table table, ConfigStore configs) default <T extends Column>
LinkedHashMap<String,T> AnylineDao.columns(String table, ConfigStore configs) AnylineDao.columns(ConfigStore configs) AnylineDao.columns(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, ConfigStore configs) AnylineDao.columns(DataRuntime runtime, String random, boolean greedy, Column query, ConfigStore configs) <T extends Column>
LinkedHashMap<String,T> AnylineDao.columns(DataRuntime runtime, String random, boolean greedy, Table table, boolean primary, ConfigStore configs) 查询表结构default <T extends Column>
LinkedHashMap<String,T> AnylineDao.columns(Catalog catalog, Schema schema, String table, ConfigStore configs) AnylineDao.columns(Catalog catalog, Schema schema, ConfigStore configs) default <T extends Column>
LinkedHashMap<String,T> AnylineDao.columns(Table table, ConfigStore configs) default longAnylineDao.count(RunPrepare prepare, ConfigStore configs, String... conditions) longAnylineDao.count(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) 合计总行数default longAnylineDao.delete(String table, ConfigStore configs, String... conditions) default longAnylineDao.delete(DataRuntime runtime, String random, String dest, ConfigStore configs, Object obj, String... columns) default longAnylineDao.delete(DataRuntime runtime, String random, String table, ConfigStore configs, String... conditions) longAnylineDao.delete(DataRuntime runtime, String random, Table dest, ConfigStore configs, Object obj, String... columns) longAnylineDao.delete(DataRuntime runtime, String random, Table table, ConfigStore configs, String... conditions) default longAnylineDao.delete(Table table, ConfigStore configs, String... conditions) AnylineDao.edges(boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) AnylineDao.edges(boolean greedy, EdgeTable<T> query, int types, int struct, ConfigStore configs) AnylineDao.edges(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) AnylineDao.edges(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) AnylineDao.edges(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, ConfigStore configs) AnylineDao.edges(DataRuntime runtime, String random, boolean greedy, EdgeTable<T> query, int types, int struct, ConfigStore configs) default <T extends EdgeTable<T>>
LinkedHashMap<String,T> AnylineDao.edges(DataRuntime runtime, String random, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends EdgeTable<T>>
LinkedHashMap<String,T> AnylineDao.edges(DataRuntime runtime, String random, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) <T extends EdgeTable<T>>
LinkedHashMap<String,T> AnylineDao.edges(DataRuntime runtime, String random, EdgeTable<T> query, int types, int struct, ConfigStore configs) default <T extends EdgeTable<T>>
LinkedHashMap<String,T> AnylineDao.edges(Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends EdgeTable<T>>
LinkedHashMap<String,T> AnylineDao.edges(Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) default <T extends EdgeTable<T>>
LinkedHashMap<String,T> AnylineDao.edges(EdgeTable<T> query, int types, int struct, ConfigStore configs) default longAnylineDao.execute(List<RunPrepare> prepares, ConfigStore configs) default longAnylineDao.execute(RunPrepare prepare, ConfigStore configs, String... conditions) longAnylineDao.execute(DataRuntime runtime, String random, List<RunPrepare> prepares, ConfigStore configs) longAnylineDao.execute(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) 执行default booleanAnylineDao.exists(RunPrepare prepare, ConfigStore configs, String... conditions) booleanAnylineDao.exists(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) 是否存在default longAnylineDao.insert(int batch, Object data, ConfigStore configs, String... columns) default longAnylineDao.insert(int batch, Object data, ConfigStore configs, List<String> columns) default longAnylineDao.insert(int batch, String dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineDao.insert(int batch, Table dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineDao.insert(Object data, ConfigStore configs, String... columns) default longAnylineDao.insert(Object data, ConfigStore configs, List<String> columns) default longAnylineDao.insert(String dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineDao.insert(String dest, RunPrepare prepare, ConfigStore configs) default longAnylineDao.insert(DataRuntime runtime, String random, int batch, String dest, Object data, ConfigStore configs, List<String> columns) 添加longAnylineDao.insert(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) default longAnylineDao.insert(DataRuntime runtime, String random, String dest, Object data, ConfigStore configs, List<String> columns) default longAnylineDao.insert(DataRuntime runtime, String random, String dest, RunPrepare prepare, ConfigStore configs) default longAnylineDao.insert(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, List<String> columns) longAnylineDao.insert(DataRuntime runtime, String random, Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) insert into table select * from table 与query参数一致default longAnylineDao.insert(Table dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineDao.insert(Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) intAnylineDao.length(DataRuntime runtime, String random, String cn, ConfigStore configs) 计算字符串在当前数据库中占用字节长度AnylineDao.maps(RunPrepare prepare, ConfigStore configs, String... conditions) AnylineDao.maps(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) 查询map列表default <T extends MasterTable<T>>
List<T>AnylineDao.masters(boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) default <T extends MasterTable<T>>
List<T>AnylineDao.masters(boolean greedy, MasterTable<T> query, int types, int struct, ConfigStore configs) default <T extends MasterTable<T>>
List<T>AnylineDao.masters(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends MasterTable<T>>
List<T>AnylineDao.masters(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) default <T extends MasterTable<T>>
List<T>AnylineDao.masters(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, ConfigStore configs) <T extends MasterTable<T>>
List<T>AnylineDao.masters(DataRuntime runtime, String random, boolean greedy, MasterTable<T> query, int types, int struct, ConfigStore configs) default <T extends MasterTable<T>>
LinkedHashMap<String,T> AnylineDao.masters(DataRuntime runtime, String random, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends MasterTable<T>>
LinkedHashMap<String,T> AnylineDao.masters(DataRuntime runtime, String random, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) <T extends MasterTable<T>>
LinkedHashMap<String,T> AnylineDao.masters(DataRuntime runtime, String random, MasterTable<T> query, int types, int struct, ConfigStore configs) default <T extends MasterTable<T>>
LinkedHashMap<String,T> AnylineDao.masters(Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends MasterTable<T>>
LinkedHashMap<String,T> AnylineDao.masters(Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) default <T extends MasterTable<T>>
LinkedHashMap<String,T> AnylineDao.masters(MasterTable<T> query, int types, int struct, ConfigStore configs) <T extends Metadata>
TAnylineDao.parse(Class<T> type, String ddl, ConfigStore configs) 解析DDLdefault <T> EntitySet<T>AnylineDao.queries(RunPrepare prepare, Class<T> clazz, ConfigStore configs, String... conditions) <T> EntitySet<T>AnylineDao.queries(DataRuntime runtime, String random, RunPrepare prepare, Class<T> clazz, ConfigStore configs, String... conditions) 查询entity列表default longAnylineDao.save(int batch, Object data, ConfigStore configs, String... columns) default longAnylineDao.save(int batch, String dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineDao.save(int batch, Table dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineDao.save(Object data, ConfigStore configs, String... columns) default longAnylineDao.save(String dest, Object data, ConfigStore configs, String... columns) default longlongAnylineDao.save(DataRuntime runtime, String random, int batch, String dest, Object data, ConfigStore configs, List<String> columns) 保存(insert|update)longAnylineDao.save(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) default longAnylineDao.save(DataRuntime runtime, String random, String dest, Object data, ConfigStore configs, List<String> columns) default longAnylineDao.save(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, List<String> columns) default longAnylineDao.save(Table dest, Object data, ConfigStore configs, String... columns) default longAnylineDao.selects(RunPrepare prepare, ConfigStore configs, String... conditions) AnylineDao.selects(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) 查询row列表AnylineDao.tables(boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) AnylineDao.tables(boolean greedy, Table<T> query, int types, int struct, ConfigStore configs) AnylineDao.tables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) AnylineDao.tables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) AnylineDao.tables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, ConfigStore configs) AnylineDao.tables(DataRuntime runtime, String random, boolean greedy, Table<T> query, int types, int struct, ConfigStore configs) default <T extends Table<T>>
LinkedHashMap<String,T> AnylineDao.tables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends Table<T>>
LinkedHashMap<String,T> AnylineDao.tables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) <T extends Table<T>>
LinkedHashMap<String,T> AnylineDao.tables(DataRuntime runtime, String random, Table<T> query, int types, int struct, ConfigStore configs) default <T extends Table<T>>
LinkedHashMap<String,T> AnylineDao.tables(Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends Table<T>>
LinkedHashMap<String,T> AnylineDao.tables(Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) default <T extends Table<T>>
LinkedHashMap<String,T> AnylineDao.tables(Table<T> query, int types, int struct, ConfigStore configs) default longAnylineDao.update(int batch, Object data, ConfigStore configs, String... columns) default longAnylineDao.update(int batch, Object data, ConfigStore configs, List<String> columns) default longAnylineDao.update(int batch, String dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineDao.update(int batch, Table dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineDao.update(Object data, ConfigStore configs, String... columns) default longAnylineDao.update(Object data, ConfigStore configs, List<String> columns) default longAnylineDao.update(String dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineDao.update(RunPrepare prepare, DataRow data, ConfigStore configs, String... conditions) default longAnylineDao.update(DataRuntime runtime, String random, int batch, String dest, Object data, ConfigStore configs, List<String> columns) 更新记录longAnylineDao.update(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) default longAnylineDao.update(DataRuntime runtime, String random, String dest, Object data, ConfigStore configs, List<String> columns) longAnylineDao.update(DataRuntime runtime, String random, RunPrepare prepare, DataRow data, ConfigStore configs, String... conditions) 多表关联更新default longAnylineDao.update(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, List<String> columns) default <T extends VertexTable<T>>
List<T>AnylineDao.vertexes(boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) default <T extends VertexTable<T>>
List<T>AnylineDao.vertexes(boolean greedy, VertexTable<T> query, int types, int struct, ConfigStore configs) default <T extends VertexTable<T>>
List<T>AnylineDao.vertexes(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends VertexTable<T>>
List<T>AnylineDao.vertexes(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) default <T extends VertexTable<T>>
List<T>AnylineDao.vertexes(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, ConfigStore configs) <T extends VertexTable<T>>
List<T>AnylineDao.vertexes(DataRuntime runtime, String random, boolean greedy, VertexTable<T> query, int types, int struct, ConfigStore configs) default <T extends VertexTable<T>>
LinkedHashMap<String,T> AnylineDao.vertexes(DataRuntime runtime, String random, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends VertexTable<T>>
LinkedHashMap<String,T> AnylineDao.vertexes(DataRuntime runtime, String random, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) <T extends VertexTable<T>>
LinkedHashMap<String,T> AnylineDao.vertexes(DataRuntime runtime, String random, VertexTable<T> query, int types, int struct, ConfigStore configs) default <T extends VertexTable<T>>
LinkedHashMap<String,T> AnylineDao.vertexes(Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends VertexTable<T>>
LinkedHashMap<String,T> AnylineDao.vertexes(Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) default <T extends VertexTable<T>>
LinkedHashMap<String,T> AnylineDao.vertexes(VertexTable<T> query, int types, int struct, ConfigStore configs) AnylineDao.views(boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) AnylineDao.views(boolean greedy, View query, int types, int struct, ConfigStore configs) AnylineDao.views(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) AnylineDao.views(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) AnylineDao.views(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String name, int types, ConfigStore configs) AnylineDao.views(DataRuntime runtime, String random, boolean greedy, View query, int types, int struct, ConfigStore configs) default <T extends View>
LinkedHashMap<String,T> AnylineDao.views(DataRuntime runtime, String random, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends View>
LinkedHashMap<String,T> AnylineDao.views(DataRuntime runtime, String random, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) <T extends View>
LinkedHashMap<String,T> AnylineDao.views(DataRuntime runtime, String random, View query, int types, int struct, ConfigStore configs) default <T extends View>
LinkedHashMap<String,T> AnylineDao.views(Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends View>
LinkedHashMap<String,T> AnylineDao.views(Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) default <T extends View>
LinkedHashMap<String,T> AnylineDao.views(View query, int types, int struct, ConfigStore configs) -
org.anyline.dao.init中ConfigStore的使用
参数类型为ConfigStore的org.anyline.dao.init中的方法修饰符和类型方法说明DefaultDao.columns(DataRuntime runtime, String random, boolean greedy, Column query, ConfigStore configs) <T extends Column>
LinkedHashMap<String,T> DefaultDao.columns(DataRuntime runtime, String random, boolean greedy, Table table, boolean primary, ConfigStore configs) longDefaultDao.count(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) 统计总行数longDefaultDao.delete(DataRuntime runtime, String random, Table dest, ConfigStore configs, Object obj, String... columns) longDefaultDao.delete(DataRuntime runtime, String random, Table table, ConfigStore configs, String... conditions) DefaultDao.edges(DataRuntime runtime, String random, boolean greedy, EdgeTable<T> query, int types, int struct, ConfigStore configs) edges<T extends EdgeTable<T>>
LinkedHashMap<String,T> DefaultDao.edges(DataRuntime runtime, String random, EdgeTable<T> query, int types, int struct, ConfigStore configs) longDefaultDao.execute(DataRuntime runtime, String random, List<RunPrepare> prepares, ConfigStore configs) longDefaultDao.execute(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) 执行booleanDefaultDao.exists(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) 检测是否存在longDefaultDao.insert(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) 添加longDefaultDao.insert(DataRuntime runtime, String random, Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) insert into table select * from table 与query参数一致intDefaultDao.length(DataRuntime runtime, String random, String cn, ConfigStore configs) 计算字符串在当前数据库中占用字节长度DefaultDao.maps(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) 查询map列表<T extends MasterTable<T>>
List<T>DefaultDao.masters(DataRuntime runtime, String random, boolean greedy, MasterTable<T> query, int types, int struct, ConfigStore configs) masters<T extends MasterTable<T>>
LinkedHashMap<String,T> DefaultDao.masters(DataRuntime runtime, String random, MasterTable<T> query, int types, int struct, ConfigStore configs) <T extends Metadata>
TDefaultDao.parse(Class<T> type, String ddl, ConfigStore configs) 解析DDL<T> EntitySet<T>DefaultDao.queries(DataRuntime runtime, String random, RunPrepare prepare, Class<T> clazz, ConfigStore configs, String... conditions) 查询DefaultDao.query(DataRuntime runtime, String random, boolean system, String table, ConfigStore configs, Run run) 查询longDefaultDao.save(DataRuntime runtime, String random, int batch, String dest, Object data, ConfigStore configs, List<String> columns) longDefaultDao.save(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) 保存(insert|update)DefaultDao.selects(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) 查询
注意:如果设置了自动还原, queries会自动还原数据源(dao内部执行过程中不要调用除非是一些重载), 而select不会DefaultDao.tables(DataRuntime runtime, String random, boolean greedy, Table<T> query, int types, int struct, ConfigStore configs) tables<T extends Table<T>>
LinkedHashMap<String,T> DefaultDao.tables(DataRuntime runtime, String random, Table<T> query, int types, int struct, ConfigStore configs) longDefaultDao.update(DataRuntime runtime, String random, int batch, String dest, Object data, ConfigStore configs, List<String> columns) longDefaultDao.update(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) 更新longDefaultDao.update(DataRuntime runtime, String random, RunPrepare prepare, DataRow data, ConfigStore configs, String... conditions) 多表关联更新<T extends VertexTable<T>>
List<T>DefaultDao.vertexes(DataRuntime runtime, String random, boolean greedy, VertexTable<T> query, int types, int struct, ConfigStore configs) vertexes<T extends VertexTable<T>>
LinkedHashMap<String,T> DefaultDao.vertexes(DataRuntime runtime, String random, VertexTable<T> quer, int types, int struct, ConfigStore configs) DefaultDao.views(DataRuntime runtime, String random, boolean greedy, View query, int types, int struct, ConfigStore configs) views<T extends View>
LinkedHashMap<String,T> DefaultDao.views(DataRuntime runtime, String random, View query, int types, int struct, ConfigStore configs) -
org.anyline.data.adapter中ConfigStore的使用
参数类型为ConfigStore的org.anyline.data.adapter中的方法修饰符和类型方法说明DriverAdapter.buildDeleteRun(DataRuntime runtime, int batch, String table, ConfigStore configs, Boolean placeholder, Boolean unicode, String column, Object values) DriverAdapter.buildDeleteRun(DataRuntime runtime, int batch, String table, ConfigStore configs, String column, Object values) DriverAdapter.buildDeleteRun(DataRuntime runtime, int batch, Table table, ConfigStore configs, Boolean placeholder, Boolean unicode, String column, Object values) delete[命令合成]
合成 where column in (values)DriverAdapter.buildDeleteRun(DataRuntime runtime, int batch, Table table, ConfigStore configs, String column, Object values) delete[命令合成]
合成 where column in (values)DriverAdapter.buildDeleteRun(DataRuntime runtime, String table, ConfigStore configs) DriverAdapter.buildDeleteRun(DataRuntime runtime, String table, ConfigStore configs, Boolean placeholder, Boolean unicode) DriverAdapter.buildDeleteRun(DataRuntime runtime, String table, ConfigStore configs, Object obj, Boolean placeholder, Boolean unicode, String... columns) DriverAdapter.buildDeleteRun(DataRuntime runtime, String table, ConfigStore configs, Object obj, String... columns) DriverAdapter.buildDeleteRun(DataRuntime runtime, Table table, ConfigStore configs) DriverAdapter.buildDeleteRun(DataRuntime runtime, Table table, ConfigStore configs, Boolean placeholder, Boolean unicode) DriverAdapter.buildDeleteRun(DataRuntime runtime, Table table, ConfigStore configs, Object obj, Boolean placeholder, Boolean unicode, String... columns) delete[命令合成]
合成 where k1 = v1 and k2 = v2DriverAdapter.buildDeleteRun(DataRuntime runtime, Table table, ConfigStore configs, Object obj, String... columns) delete[命令合成]
合成 where k1 = v1 and k2 = v2DriverAdapter.buildDeleteRunFromConfig(DataRuntime runtime, ConfigStore configs) DriverAdapter.buildDeleteRunFromConfig(DataRuntime runtime, ConfigStore configs, Boolean placeholder, Boolean unicode) DriverAdapter.buildDeleteRunFromEntity(DataRuntime runtime, String table, ConfigStore configs, Object obj, Boolean placeholder, Boolean unicode, String... columns) DriverAdapter.buildDeleteRunFromEntity(DataRuntime runtime, String table, ConfigStore configs, Object obj, String... columns) DriverAdapter.buildDeleteRunFromEntity(DataRuntime runtime, Table table, ConfigStore configs, Object obj, Boolean placeholder, Boolean unicode, String... columns) delete[命令合成-子流程]
合成 where k1 = v1 and k2 = v2DriverAdapter.buildDeleteRunFromEntity(DataRuntime runtime, Table table, ConfigStore configs, Object obj, String... columns) delete[命令合成-子流程]
合成 where k1 = v1 and k2 = v2DriverAdapter.buildDeleteRunFromTable(DataRuntime runtime, int batch, String table, ConfigStore configs, Boolean placeholder, Boolean unicode, String column, Object values) DriverAdapter.buildDeleteRunFromTable(DataRuntime runtime, int batch, String table, ConfigStore configs, String column, Object values) DriverAdapter.buildDeleteRunFromTable(DataRuntime runtime, int batch, Table table, ConfigStore configs, Boolean placeholder, Boolean unicode, String column, Object values) delete[命令合成-子流程]
合成 where column in (values)DriverAdapter.buildDeleteRunFromTable(DataRuntime runtime, int batch, Table table, ConfigStore configs, String column, Object values) delete[命令合成-子流程]
合成 where column in (values)DriverAdapter.buildExecuteRun(DataRuntime runtime, RunPrepare prepare, ConfigStore configs, Boolean placeholder, Boolean unicode, String... conditions) 创建执行SQLdefault RunDriverAdapter.buildExecuteRun(DataRuntime runtime, RunPrepare prepare, ConfigStore configs, String... conditions) default RunDriverAdapter.buildInsertRun(DataRuntime runtime, int batch, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, String... columns) default RunDriverAdapter.buildInsertRun(DataRuntime runtime, int batch, Object obj, ConfigStore configs, String... columns) default RunDriverAdapter.buildInsertRun(DataRuntime runtime, int batch, String dest, Object obj, ConfigStore confgis, Boolean placeholder, Boolean unicode, String... columns) default RunDriverAdapter.buildInsertRun(DataRuntime runtime, int batch, String dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) default RunDriverAdapter.buildInsertRun(DataRuntime runtime, int batch, String dest, Object obj, ConfigStore confgis, String... columns) default RunDriverAdapter.buildInsertRun(DataRuntime runtime, int batch, String dest, Object obj, ConfigStore configs, List<String> columns) default RunDriverAdapter.buildInsertRun(DataRuntime runtime, int batch, ConfigStore configs, Object obj, Boolean placeholder, Boolean unicode, String... columns) default RunDriverAdapter.buildInsertRun(DataRuntime runtime, int batch, ConfigStore configs, Object obj, String... columns) default RunDriverAdapter.buildInsertRun(DataRuntime runtime, int batch, Table dest, Object obj, ConfigStore confgis, Boolean placeholder, Boolean unicode, String... columns) DriverAdapter.buildInsertRun(DataRuntime runtime, int batch, Table dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) insert [命令合成]
填充inset命令内容(创建批量INSERT RunPrepare)default RunDriverAdapter.buildInsertRun(DataRuntime runtime, int batch, Table dest, Object obj, ConfigStore confgis, String... columns) default RunDriverAdapter.buildInsertRun(DataRuntime runtime, int batch, Table dest, Object obj, ConfigStore configs, List<String> columns) insert [命令合成]
填充inset命令内容(创建批量INSERT RunPrepare)DriverAdapter.buildInsertRun(DataRuntime runtime, Table dest, RunPrepare prepare, ConfigStore configs, Object obj, Boolean placeholder, Boolean unicode, String... conditions) insert [命令合成]
填充inset命令内容(创建批量INSERT RunPrepare)default RunDriverAdapter.buildInsertRun(DataRuntime runtime, Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) DriverAdapter.buildSelectColumnsRun(DataRuntime runtime, boolean metadata, Collection<? extends Table> tables, Column query, ConfigStore configs) column[命令合成]
(方法1)
查询多个表的列DriverAdapter.buildSelectColumnsRun(DataRuntime runtime, boolean metadata, Column query, ConfigStore configs) column[命令合成]
(方法1)
查询表上的列DriverAdapter.buildSelectEdgesRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) edge[命令合成]
查询表,不是查表中的数据DriverAdapter.buildSelectEdgesRun(DataRuntime runtime, boolean greedy, EdgeTable<T> query, int types, ConfigStore configs) edge[命令合成]
查询表,不是查表中的数据DriverAdapter.buildSelectLengthRun(DataRuntime runtime, String cn, ConfigStore configs) 计算字符串在当前数据库中占用字节长度default <T extends MasterTable<T>>
List<Run>DriverAdapter.buildSelectMasterTablesRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) master[命令合成]
查询表,不是查表中的数据<T extends MasterTable<T>>
List<Run>DriverAdapter.buildSelectMasterTablesRun(DataRuntime runtime, boolean greedy, MasterTable<T> query, int types, ConfigStore configs) master[命令合成]
查询表,不是查表中的数据DriverAdapter.buildSelectRun(DataRuntime runtime, RunPrepare prepare, ConfigStore configs, Boolean placeholder, Boolean unicode, String... conditions) select[命令合成]default RunDriverAdapter.buildSelectRun(DataRuntime runtime, RunPrepare prepare, ConfigStore configs, String... conditions) DriverAdapter.buildSelectTablesRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) table[命令合成]
查询表,不是查表中的数据DriverAdapter.buildSelectTablesRun(DataRuntime runtime, boolean greedy, Table<T> query, int types, ConfigStore configs) table[命令合成]
查询表,不是查表中的数据default <T extends VertexTable<T>>
List<Run>DriverAdapter.buildSelectVertexesRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) vertex[命令合成]
查询表,不是查表中的数据<T extends VertexTable<T>>
List<Run>DriverAdapter.buildSelectVertexesRun(DataRuntime runtime, boolean greedy, VertexTable<T> query, int types, ConfigStore configs) vertex[命令合成]
查询表,不是查表中的数据DriverAdapter.buildSelectViewsRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) view[命令合成]
查询视图,不是查视图中的数据DriverAdapter.buildSelectViewsRun(DataRuntime runtime, boolean greedy, View query, int types, ConfigStore configs) view[命令合成]
查询视图,不是查视图中的数据default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, int batch, String dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, int batch, String dest, Object obj, ConfigStore configs, List<String> columns) DriverAdapter.buildUpdateRun(DataRuntime runtime, int btch, Table dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) update [命令合成]default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, int btch, Table dest, Object obj, ConfigStore configs, List<String> columns) update [命令合成]default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, String... columns) default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, Object obj, ConfigStore configs, String... columns) default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, Object obj, ConfigStore configs, List<String> columns) default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, String dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, String... columns) default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, String dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, String dest, Object obj, ConfigStore configs, String... columns) default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, String dest, Object obj, ConfigStore configs, List<String> columns) DriverAdapter.buildUpdateRun(DataRuntime runtime, RunPrepare prepare, DataRow data, ConfigStore configs, Boolean placeholder, Boolean unicode, String... conditions) 多表关联更新default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, RunPrepare prepare, DataRow data, ConfigStore configs, String... conditions) 多表关联更新default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, String... columns) default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, String... columns) default RunDriverAdapter.buildUpdateRun(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, List<String> columns) default RunDriverAdapter.buildUpdateRunFromCollection(DataRuntime runtime, int batch, String dest, Collection list, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) default RunDriverAdapter.buildUpdateRunFromCollection(DataRuntime runtime, int batch, String dest, Collection list, ConfigStore configs, LinkedHashMap<String, Column> columns) DriverAdapter.buildUpdateRunFromCollection(DataRuntime runtime, int batch, Table dest, Collection list, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) update [命令合成]default RunDriverAdapter.buildUpdateRunFromCollection(DataRuntime runtime, int batch, Table dest, Collection list, ConfigStore configs, LinkedHashMap<String, Column> columns) update [命令合成]default RunDriverAdapter.buildUpdateRunFromDataRow(DataRuntime runtime, String dest, DataRow row, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) default RunDriverAdapter.buildUpdateRunFromDataRow(DataRuntime runtime, String dest, DataRow row, ConfigStore configs, LinkedHashMap<String, Column> columns) DriverAdapter.buildUpdateRunFromDataRow(DataRuntime runtime, Table dest, DataRow row, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) update [命令合成]default RunDriverAdapter.buildUpdateRunFromDataRow(DataRuntime runtime, Table dest, DataRow row, ConfigStore configs, LinkedHashMap<String, Column> columns) update [命令合成]default RunDriverAdapter.buildUpdateRunFromEntity(DataRuntime runtime, String dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) default RunDriverAdapter.buildUpdateRunFromEntity(DataRuntime runtime, String dest, Object obj, ConfigStore configs, LinkedHashMap<String, Column> columns) DriverAdapter.buildUpdateRunFromEntity(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) update [命令合成]default RunDriverAdapter.buildUpdateRunFromEntity(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, LinkedHashMap<String, Column> columns) update [命令合成]DriverAdapter.columns(DataRuntime runtime, String random, boolean greedy, Collection<? extends Table> tables, Column query, ConfigStore configs) column[调用入口]
(方法1)
查询多个表列,并分配到每个表中,需要保持所有表的catalog,schema相同DriverAdapter.columns(DataRuntime runtime, String random, boolean greedy, Column query, ConfigStore configs) column[调用入口]
(方法1)
查询列default <T extends Column>
LinkedHashMap<String,T> DriverAdapter.columns(DataRuntime runtime, String random, boolean greedy, Table table, boolean primary, ConfigStore configs) <T extends Column>
LinkedHashMap<String,T> DriverAdapter.columns(DataRuntime runtime, String random, boolean greedy, Table table, Column query, boolean primary, ConfigStore configs) column[调用入口]
(多方法合成)
查询表结构default LinkedHashMap<String,Column> DriverAdapter.confirmInsertColumns(DataRuntime runtime, String dest, Object data, ConfigStore configs, List<String> columns, boolean batch) DriverAdapter.confirmInsertColumns(DataRuntime runtime, Table dest, Object data, ConfigStore configs, List<String> columns, boolean batch) insert [命令合成-子流程]
确认需要插入的列default LinkedHashMap<String,Column> DriverAdapter.confirmUpdateColumns(DataRuntime runtime, String dest, Object obj, ConfigStore configs, List<String> columns) default LinkedHashMap<String,Column> DriverAdapter.confirmUpdateColumns(DataRuntime runtime, String dest, DataRow row, ConfigStore configs, List<String> columns) DriverAdapter.confirmUpdateColumns(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, List<String> columns) 确认需要更新的列DriverAdapter.confirmUpdateColumns(DataRuntime runtime, Table dest, DataRow row, ConfigStore configs, List<String> columns) 确认需要更新的列DriverAdapter.convert(DataRuntime runtime, StringBuilder builder, Object value, Column column, Boolean placeholder, Boolean unicode, ConfigStore configs) 生成insert update 命令时 类型转换 如 ?default booleanDriverAdapter.convert(DataRuntime runtime, ConfigStore configs, List<Run> runs) booleanDriverAdapter.convert(DataRuntime runtime, ConfigStore configs, Run run) longDriverAdapter.count(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) count [调用入口]default longDriverAdapter.delete(DataRuntime runtime, String random, String table, ConfigStore configs, Object obj, String... columns) default longDriverAdapter.delete(DataRuntime runtime, String random, String table, ConfigStore configs, String... conditions) longDriverAdapter.delete(DataRuntime runtime, String random, ConfigStore configs, Run run) delete[命令执行]longDriverAdapter.delete(DataRuntime runtime, String random, Table table, ConfigStore configs, Object obj, String... columns) delete [调用入口]
合成 where k1 = v1 and k2 = v2longDriverAdapter.delete(DataRuntime runtime, String random, Table table, ConfigStore configs, String... conditions) delete [调用入口]
根据configs和conditions过滤条件default <T> longDriverAdapter.deletes(DataRuntime runtime, String random, int batch, String table, ConfigStore configs, String column, Collection<T> values) default <T> longDriverAdapter.deletes(DataRuntime runtime, String random, int batch, String table, ConfigStore configs, String column, T... values) <T> longDriverAdapter.deletes(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String column, Collection<T> values) delete [调用入口]
合成 where column in (values)default <T> longDriverAdapter.deletes(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String column, T... values) default <T> longDriverAdapter.deletes(DataRuntime runtime, String random, String table, ConfigStore configs, String column, Collection<T> values) default <T> longDriverAdapter.deletes(DataRuntime runtime, String random, String table, ConfigStore configs, String column, T... values) default <T> longDriverAdapter.deletes(DataRuntime runtime, String random, Table table, ConfigStore configs, String column, Collection<T> values) default <T> longDriverAdapter.deletes(DataRuntime runtime, String random, Table table, ConfigStore configs, String column, T... values) DriverAdapter.edges(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs) DriverAdapter.edges(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs) edge[调用入口]DriverAdapter.edges(DataRuntime runtime, String random, boolean greedy, EdgeTable<T> query, int types, int struct, ConfigStore configs) edge[调用入口]default <T extends EdgeTable<T>>
LinkedHashMap<String,T> DriverAdapter.edges(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs) default <T extends EdgeTable<T>>
LinkedHashMap<String,T> DriverAdapter.edges(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs) <T extends EdgeTable<T>>
LinkedHashMap<String,T> DriverAdapter.edges(DataRuntime runtime, String random, EdgeTable<T> query, int types, int struct, ConfigStore configs) default longDriverActuator.execute(DriverAdapter adapter, DataRuntime runtime, String random, ConfigStore configs, List<Run> run) longDriverActuator.execute(DriverAdapter adapter, DataRuntime runtime, String random, ConfigStore configs, Run run) execute [命令执行]longDriverAdapter.execute(DataRuntime runtime, String random, int batch, int vol, ConfigStore configs, RunPrepare prepare, Collection<Object> values) longDriverAdapter.execute(DataRuntime runtime, String random, int batch, ConfigStore configs, RunPrepare prepare, Collection<Object> values) longDriverAdapter.execute(DataRuntime runtime, String random, List<RunPrepare> prepares, ConfigStore configs) longDriverAdapter.execute(DataRuntime runtime, String random, ConfigStore configs, List<Run> runs) longDriverAdapter.execute(DataRuntime runtime, String random, ConfigStore configs, Run run) execute [命令执行]longDriverAdapter.execute(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) execute [调用入口]booleanDriverAdapter.exists(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) exists [调用入口]default voidDriverAdapter.fillInsertContent(DataRuntime runtime, Run run, String dest, Collection list, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare)default voidDriverAdapter.fillInsertContent(DataRuntime runtime, Run run, String dest, Collection list, ConfigStore configs, LinkedHashMap<String, Column> columns) insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare)default voidDriverAdapter.fillInsertContent(DataRuntime runtime, Run run, String dest, DataSet<DataRow> set, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare)default voidDriverAdapter.fillInsertContent(DataRuntime runtime, Run run, String dest, DataSet<DataRow> set, ConfigStore configs, LinkedHashMap<String, Column> columns) insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare)voidDriverAdapter.fillInsertContent(DataRuntime runtime, Run run, Table dest, Collection list, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare)default voidDriverAdapter.fillInsertContent(DataRuntime runtime, Run run, Table dest, Collection list, ConfigStore configs, LinkedHashMap<String, Column> columns) insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare)voidDriverAdapter.fillInsertContent(DataRuntime runtime, Run run, Table dest, DataSet<DataRow> set, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare)default voidDriverAdapter.fillInsertContent(DataRuntime runtime, Run run, Table dest, DataSet<DataRow> set, ConfigStore configs, LinkedHashMap<String, Column> columns) insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare)voidDriverAdapter.fillInsertCreateTemplate(DataRuntime runtime, Run run, PartitionTable dest, ConfigStore configs) 插入子表前 检测并创建子表default voidDriverAdapter.fillUpdateContent(DataRuntime runtime, TableRun run, StringBuilder builder, DataRow data, ConfigStore configs) 多表关联更新voidDriverAdapter.fillUpdateContent(DataRuntime runtime, TableRun run, StringBuilder builder, DataRow data, ConfigStore configs, Boolean placeholder, Boolean unicode) 多表关联更新default voidDriverAdapter.fillUpdateContent(DataRuntime runtime, TableRun run, DataRow data, ConfigStore configs) 多表关联更新default voidDriverAdapter.fillUpdateContent(DataRuntime runtime, TableRun run, DataRow data, ConfigStore configs, Boolean placeholder, Boolean unicode) 多表关联更新longDriverActuator.insert(DriverAdapter adapter, DataRuntime runtime, String random, Object data, ConfigStore configs, Run run, String generatedKey, String[] pks) 执行insertdefault longDriverAdapter.insert(DataRuntime runtime, String random, int batch, String dest, Object data, ConfigStore configs, List<String> columns) longDriverAdapter.insert(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) insert [调用入口]
执行前根据主键生成器补充主键值,执行完成后会补齐自增主键值longDriverAdapter.insert(DataRuntime runtime, String random, Object data, ConfigStore configs, Run run, String[] pks) insert [命令执行]
执行完成后会补齐自增主键值longDriverAdapter.insert(DataRuntime runtime, String random, Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) insert into table select * from table 与query参数一致DriverAdapter.keyHolders(DataRuntime runtime, ConfigStore configs) 自增主键值keysintDriverAdapter.length(DataRuntime runtime, String random, String cn, ConfigStore configs) 计算字符串在当前数据库中占用字节长度DriverActuator.map(DriverAdapter adapter, DataRuntime runtime, String random, ConfigStore configs, Run run) select [命令执行]DriverAdapter.map(DataRuntime runtime, String random, ConfigStore configs, Run run) select [命令执行]DriverActuator.maps(DriverAdapter adapter, DataRuntime runtime, String random, ConfigStore configs, Run run) select [命令执行]DriverAdapter.maps(DataRuntime runtime, String random, ConfigStore configs, Run run) select [命令执行]DriverAdapter.maps(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) query [调用入口]
对性能有要求的场景调用,返回java原生map集合,结果中不包含元数据信息default <T extends MasterTable<T>>
List<T>DriverAdapter.masters(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs) default <T extends MasterTable<T>>
List<T>DriverAdapter.masters(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs) master[调用入口]<T extends MasterTable<T>>
List<T>DriverAdapter.masters(DataRuntime runtime, String random, boolean greedy, MasterTable<T> query, int types, int struct, ConfigStore configs) master[调用入口]default <T extends MasterTable<T>>
LinkedHashMap<String,T> DriverAdapter.masters(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs) default <T extends MasterTable<T>>
LinkedHashMap<String,T> DriverAdapter.masters(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs) <T extends MasterTable<T>>
LinkedHashMap<String,T> DriverAdapter.masters(DataRuntime runtime, String random, MasterTable<T> query, int types, int struct, ConfigStore configs) <T extends Metadata>
TDriverAdapter.parse(DataRuntime runtime, Class<T> type, String ddl, ConfigStore configs) 解析DDL<T> EntitySet<T>DriverAdapter.queries(DataRuntime runtime, String random, RunPrepare prepare, Class<T> clazz, ConfigStore configs, String... conditions) query [调用入口]default longDriverAdapter.save(DataRuntime runtime, String random, String dest, Object data, ConfigStore configs, List<String> columns) longDriverAdapter.save(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, List<String> columns) save [调用入口]
根据是否有主键值确认insert | update
执行完成后会补齐自增主键值DriverActuator.selects(DriverAdapter adapter, DataRuntime runtime, String random, boolean system, ACTION.DML action, Table table, ConfigStore configs, Run run, String cmd, List<Object> values, LinkedHashMap<String, Column> columns) 查询DriverAdapter.selects(DataRuntime runtime, String random, boolean system, String table, ConfigStore configs, Run run) DriverAdapter.selects(DataRuntime runtime, String random, boolean system, Table table, ConfigStore configs, Run run) select [命令执行]DriverAdapter.selects(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) query [调用入口]
返回DataSet中包含元数据信息,如果性能有要求换成mapsbooleanDriverAdapter.supportKeyHolder(DataRuntime runtime, ConfigStore configs) 是否支持返回自增主键值DriverAdapter.tables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs) DriverAdapter.tables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs) table[调用入口]DriverAdapter.tables(DataRuntime runtime, String random, boolean greedy, Table<T> query, int types, int struct, ConfigStore configs) table[调用入口]default <T extends Table<T>>
LinkedHashMap<String,T> DriverAdapter.tables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs) default <T extends Table<T>>
LinkedHashMap<String,T> DriverAdapter.tables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs) <T extends Table<T>>
LinkedHashMap<String,T> DriverAdapter.tables(DataRuntime runtime, String random, Table<T> query, int types, int struct, ConfigStore configs) longDriverActuator.update(DriverAdapter adapter, DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, Run run) update [命令执行]default longDriverAdapter.update(DataRuntime runtime, String random, int batch, Object data, ConfigStore configs) default longDriverAdapter.update(DataRuntime runtime, String random, int batch, Object data, ConfigStore configs, String... columns) default longDriverAdapter.update(DataRuntime runtime, String random, int batch, Object data, ConfigStore configs, List<String> columns) default longDriverAdapter.update(DataRuntime runtime, String random, int batch, String dest, Object data, ConfigStore configs, String... columns) default longDriverAdapter.update(DataRuntime runtime, String random, int batch, String dest, Object data, ConfigStore configs, List<String> columns) default longDriverAdapter.update(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, String... columns) longDriverAdapter.update(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) UPDATE [调用入口]default longDriverAdapter.update(DataRuntime runtime, String random, Object data, ConfigStore configs) default longDriverAdapter.update(DataRuntime runtime, String random, Object data, ConfigStore configs, String... columns) default longDriverAdapter.update(DataRuntime runtime, String random, Object data, ConfigStore configs, List<String> columns) default longDriverAdapter.update(DataRuntime runtime, String random, String dest, Object data, ConfigStore configs, String... columns) default longDriverAdapter.update(DataRuntime runtime, String random, String dest, Object data, ConfigStore configs, List<String> columns) default longDriverAdapter.update(DataRuntime runtime, String random, String dest, Object data, ConfigStore configs, Run run) longDriverAdapter.update(DataRuntime runtime, String random, RunPrepare prepare, DataRow data, ConfigStore configs, String... conditions) 多表关联更新default longDriverAdapter.update(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, String... columns) default longDriverAdapter.update(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, List<String> columns) longDriverAdapter.update(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, Run run) update [命令执行]default <T extends VertexTable<T>>
List<T>DriverAdapter.vertexes(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs) default <T extends VertexTable<T>>
List<T>DriverAdapter.vertexes(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs) vertex[调用入口]<T extends VertexTable<T>>
List<T>DriverAdapter.vertexes(DataRuntime runtime, String random, boolean greedy, VertexTable<T> query, int types, int struct, ConfigStore configs) vertex[调用入口]default <T extends VertexTable<T>>
LinkedHashMap<String,T> DriverAdapter.vertexes(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs) default <T extends VertexTable<T>>
LinkedHashMap<String,T> DriverAdapter.vertexes(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs) <T extends VertexTable<T>>
LinkedHashMap<String,T> DriverAdapter.vertexes(DataRuntime runtime, String random, VertexTable<T> query, int types, int struct, ConfigStore configs) DriverAdapter.views(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs) DriverAdapter.views(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs) view[调用入口]DriverAdapter.views(DataRuntime runtime, String random, boolean greedy, View query, int types, int struct, ConfigStore configs) view[调用入口]default <T extends View>
LinkedHashMap<String,T> DriverAdapter.views(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs) default <T extends View>
LinkedHashMap<String,T> DriverAdapter.views(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs) <T extends View>
LinkedHashMap<String,T> DriverAdapter.views(DataRuntime runtime, String random, View query, int types, int struct, ConfigStore configs) -
org.anyline.data.adapter.init中ConfigStore的使用
参数类型为ConfigStore的org.anyline.data.adapter.init中的方法修饰符和类型方法说明AbstractDriverAdapter.buildDeleteRun(DataRuntime runtime, int batch, Table table, ConfigStore configs, Boolean placeholder, Boolean unicode, String key, Object values) delete[命令合成]
合成 where column in (values)AbstractDriverAdapter.buildDeleteRun(DataRuntime runtime, Table dest, ConfigStore configs, Object obj, Boolean placeholder, Boolean unicode, String... columns) delete[命令合成]
合成 where k1 = v1 and k2 = v2TemplateAdapter.buildDeleteRun(DataRuntime runtime, int batch, Table table, ConfigStore configs, Boolean placeholder, Boolean unicode, String key, Object values) delete[命令合成]
合成 where column in (values)TemplateAdapter.buildDeleteRun(DataRuntime runtime, Table dest, ConfigStore configs, Object obj, Boolean placeholder, Boolean unicode, String... columns) delete[命令合成]
合成 where k1 = v1 and k2 = v2AbstractDriverAdapter.buildDeleteRunFromEntity(DataRuntime runtime, Table table, ConfigStore configs, Object obj, Boolean placeholder, Boolean unicode, String... columns) delete[命令合成-子流程]
合成 where k1 = v1 and k2 = v2TemplateAdapter.buildDeleteRunFromEntity(DataRuntime runtime, Table table, ConfigStore configs, Object obj, Boolean placeholder, Boolean unicode, String... columns) delete[命令合成-子流程]
合成 where k1 = v1 and k2 = v2AbstractDriverAdapter.buildDeleteRunFromTable(DataRuntime runtime, int batch, Table table, ConfigStore configs, Boolean placeholder, Boolean unicode, String column, Object values) delete[命令合成-子流程]
合成 where column in (values)TemplateAdapter.buildDeleteRunFromTable(DataRuntime runtime, int batch, Table table, ConfigStore configs, Boolean placeholder, Boolean unicode, String column, Object values) delete[命令合成-子流程]
合成 where column in (values)AbstractDriverAdapter.buildExecuteRun(DataRuntime runtime, RunPrepare prepare, ConfigStore configs, Boolean placeholder, Boolean unicode, String... conditions) execute [命令合成]
创建执行SQLTemplateAdapter.buildExecuteRun(DataRuntime runtime, RunPrepare prepare, ConfigStore configs, Boolean placeholder, Boolean unicode, String... conditions) execute [命令合成]
创建执行SQLAbstractDriverAdapter.buildInsertRun(DataRuntime runtime, int batch, Table dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) insert [命令合成]
填充inset命令内容(创建批量INSERT RunPrepare)AbstractDriverAdapter.buildInsertRun(DataRuntime runtime, Table dest, RunPrepare prepare, ConfigStore configs, Object obj, Boolean placeholder, Boolean unicode, String... conditions) insert [命令合成]
填充inset命令内容(创建批量INSERT RunPrepare)TemplateAdapter.buildInsertRun(DataRuntime runtime, int batch, Table dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) insert [命令合成]
填充inset命令内容(创建批量INSERT RunPrepare)TemplateAdapter.buildInsertRun(DataRuntime runtime, Table dest, RunPrepare prepare, ConfigStore configs, Object obj, Boolean placeholder, Boolean unicode, String... conditions) insert [命令合成]
填充inset命令内容(创建批量INSERT RunPrepare)AbstractDriverAdapter.buildSelectColumnsRun(DataRuntime runtime, boolean metadata, Collection<? extends Table> tables, Column query, ConfigStore configs) column[命令合成]
(方法1)
查询多个表的列AbstractDriverAdapter.buildSelectColumnsRun(DataRuntime runtime, boolean metadata, Column query, ConfigStore configs) column[命令合成]
查询表上的列TemplateAdapter.buildSelectColumnsRun(DataRuntime runtime, boolean metadata, Collection<? extends Table> tables, Column query, ConfigStore configs) column[命令合成]
(方法1)
查询多个表的列TemplateAdapter.buildSelectColumnsRun(DataRuntime runtime, boolean metadata, Column query, ConfigStore configs) column[命令合成]
查询表上的列AbstractDriverAdapter.buildSelectEdgesRun(DataRuntime runtime, boolean greedy, EdgeTable<T> query, int types, ConfigStore configs) edge[命令合成]
查询表,不是查表中的数据TemplateAdapter.buildSelectEdgesRun(DataRuntime runtime, boolean greedy, EdgeTable<T> query, int types, ConfigStore configs) edge[命令合成]
查询表,不是查表中的数据AbstractDriverAdapter.buildSelectLengthRun(DataRuntime runtime, String cn, ConfigStore configs) 计算字符串在当前数据库中占用字节长度<T extends MasterTable<T>>
List<Run>AbstractDriverAdapter.buildSelectMasterTablesRun(DataRuntime runtime, boolean greedy, MasterTable<T> query, int types, ConfigStore configs) master[命令合成]
查询表,不是查表中的数据<T extends MasterTable<T>>
List<Run>TemplateAdapter.buildSelectMasterTablesRun(DataRuntime runtime, boolean greedy, MasterTable<T> query, int types, ConfigStore configs) master[命令合成]
查询表,不是查表中的数据AbstractDriverAdapter.buildSelectRun(DataRuntime runtime, RunPrepare prepare, ConfigStore configs, Boolean placeholder, Boolean unicode, String... conditions) select[命令合成]
最终可执行命令
创建查询SQLTemplateAdapter.buildSelectRun(DataRuntime runtime, RunPrepare prepare, ConfigStore configs, Boolean placeholder, Boolean unicode, String... conditions) select[命令合成]
最终可执行命令
创建查询SQLAbstractDriverAdapter.buildSelectTablesRun(DataRuntime runtime, boolean greedy, Table<T> query, int types, ConfigStore configs) table[命令合成]
查询表,不是查表中的数据TemplateAdapter.buildSelectTablesRun(DataRuntime runtime, boolean greedy, Table<T> query, int types, ConfigStore configs) table[命令合成]
查询表,不是查表中的数据<T extends VertexTable<T>>
List<Run>AbstractDriverAdapter.buildSelectVertexesRun(DataRuntime runtime, boolean greedy, VertexTable<T> query, int types, ConfigStore configs) vertex[命令合成]
查询表,不是查表中的数据<T extends VertexTable<T>>
List<Run>TemplateAdapter.buildSelectVertexesRun(DataRuntime runtime, boolean greedy, VertexTable<T> query, int types, ConfigStore configs) vertex[命令合成]
查询表,不是查表中的数据AbstractDriverAdapter.buildSelectViewsRun(DataRuntime runtime, boolean greedy, View query, int types, ConfigStore configs) view[命令合成]
查询视图,不是查视图中的数据TemplateAdapter.buildSelectViewsRun(DataRuntime runtime, boolean greedy, View query, int types, ConfigStore configs) view[命令合成]
查询视图,不是查视图中的数据AbstractDriverAdapter.buildUpdateRun(DataRuntime runtime, int batch, Table dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) update [命令合成]AbstractDriverAdapter.buildUpdateRun(DataRuntime runtime, RunPrepare prepare, DataRow data, ConfigStore configs, Boolean placeholder, Boolean unicode, String... conditions) 多表关联更新TemplateAdapter.buildUpdateRun(DataRuntime runtime, int batch, Table dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) update [命令合成]TemplateAdapter.buildUpdateRun(DataRuntime runtime, RunPrepare prepare, DataRow data, ConfigStore configs, Boolean placeholder, Boolean unicode, String... conditions) 多表关联更新AbstractDriverAdapter.buildUpdateRunFromCollection(DataRuntime runtime, int batch, Table dest, Collection list, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) update [命令合成]TemplateAdapter.buildUpdateRunFromCollection(DataRuntime runtime, int batch, Table dest, Collection list, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) update [命令合成]AbstractDriverAdapter.buildUpdateRunFromDataRow(DataRuntime runtime, Table dest, DataRow row, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) update [命令合成]TemplateAdapter.buildUpdateRunFromDataRow(DataRuntime runtime, Table dest, DataRow row, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) update [命令合成]AbstractDriverAdapter.buildUpdateRunFromEntity(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) update [命令合成]TemplateAdapter.buildUpdateRunFromEntity(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) update [命令合成]AbstractDriverAdapter.checkMetadata(DataRuntime runtime, Table table, ConfigStore configs, LinkedHashMap<String, Column> columns) 过滤掉表结构中不存在的列TemplateAdapter.checkMetadata(DataRuntime runtime, Table table, ConfigStore configs, LinkedHashMap<String, Column> columns) 过滤掉表结构中不存在的列protected BooleanAbstractDriverAdapter.checkOverride(Object obj, ConfigStore configs) 有主键值的情况下 检测覆盖protected BooleanTemplateAdapter.checkOverride(Object obj, ConfigStore configs) 有主键值的情况下 检测覆盖protected BooleanAbstractDriverAdapter.checkOverrideSync(Object obj, ConfigStore configs) AbstractDriverAdapter.columns(DataRuntime runtime, String random, boolean greedy, Collection<? extends Table> tables, Column query, ConfigStore configs) column[调用入口]
(方法1)
查询多个表列,并分配到每个表中,需要保持所有表的catalog,schema相同<T extends Column>
LinkedHashMap<String,T> AbstractDriverAdapter.columns(DataRuntime runtime, String random, boolean greedy, Table table, Column query, boolean primary, ConfigStore configs) column[调用入口]
查询表结构(多方法合成)TemplateAdapter.columns(DataRuntime runtime, String random, boolean greedy, Collection<? extends Table> tables, Column query, ConfigStore configs) column[调用入口]
(方法1)
查询多个表列,并分配到每个表中,需要保持所有表的catalog,schema相同<T extends Column>
LinkedHashMap<String,T> TemplateAdapter.columns(DataRuntime runtime, String random, boolean greedy, Table table, Column query, boolean primary, ConfigStore configs) column[调用入口]
查询表结构(多方法合成)AbstractDriverAdapter.confirmInsertColumns(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, List<String> columns, boolean batch) insert [命令合成-子流程]
确认需要插入的列TemplateAdapter.confirmInsertColumns(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, List<String> columns, boolean batch) insert [命令合成-子流程]
确认需要插入的列AbstractDriverAdapter.confirmUpdateColumns(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, List<String> columns) 确认需要更新的列AbstractDriverAdapter.confirmUpdateColumns(DataRuntime runtime, Table dest, DataRow row, ConfigStore configs, List<String> columns) 确认需要更新的列TemplateAdapter.confirmUpdateColumns(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, List<String> columns) 确认需要更新的列TemplateAdapter.confirmUpdateColumns(DataRuntime runtime, Table dest, DataRow row, ConfigStore configs, List<String> columns) 确认需要更新的列AbstractDriverAdapter.convert(DataRuntime runtime, StringBuilder builder, Object value, Column column, Boolean placeholder, Boolean unicode, ConfigStore configs) 生成insert update 命令时 类型转换 如 ?booleanAbstractDriverAdapter.convert(DataRuntime runtime, ConfigStore configs, Run run) 参数值 数据类型转换 子类先解析(有些同名的类型以子类为准)、失败后再调用默认转换longAbstractDriverAdapter.count(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) count [调用入口]longTemplateAdapter.count(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) count [调用入口]protected RunAbstractDriverAdapter.createInsertRun(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) insert [命令合成-子流程]
根据entity创建 INSERT RunPrepare由buildInsertRun调用protected RunTemplateAdapter.createInsertRun(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) insert [命令合成-子流程]
根据entity创建 INSERT RunPrepare由buildInsertRun调用protected RunAbstractDriverAdapter.createInsertRunFromCollection(DataRuntime runtime, int batch, Table dest, Collection list, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) insert [命令合成-子流程]
根据collection创建 INSERT RunPrepare由buildInsertRun调用protected RunTemplateAdapter.createInsertRunFromCollection(DataRuntime runtime, int batch, Table dest, Collection list, ConfigStore configs, Boolean placeholder, Boolean unicode, List<String> columns) insert [命令合成-子流程]
根据collection创建 INSERT RunPrepare由buildInsertRun调用longAbstractDriverAdapter.delete(DataRuntime runtime, String random, ConfigStore configs, Run run) delete[命令执行]longAbstractDriverAdapter.delete(DataRuntime runtime, String random, Table dest, ConfigStore configs, Object obj, String... columns) delete [调用入口]
合成 where k1 = v1 and k2 = v2longAbstractDriverAdapter.delete(DataRuntime runtime, String random, Table table, ConfigStore configs, String... conditions) delete [调用入口]
根据configs和conditions过滤条件longTemplateAdapter.delete(DataRuntime runtime, String random, ConfigStore configs, Run run) delete[命令执行]longTemplateAdapter.delete(DataRuntime runtime, String random, Table dest, ConfigStore configs, Object obj, String... columns) delete [调用入口]
合成 where k1 = v1 and k2 = v2longTemplateAdapter.delete(DataRuntime runtime, String random, Table table, ConfigStore configs, String... conditions) delete [调用入口]
根据configs和conditions过滤条件<T> longAbstractDriverAdapter.deletes(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String key, Collection<T> values) delete [调用入口]
合成 where column in (values)<T> longTemplateAdapter.deletes(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String key, Collection<T> values) delete [调用入口]
合成 where column in (values)protected <T extends EdgeTable<T>>
voidAbstractDriverAdapter.edgeMap(DataRuntime runtime, String random, boolean greedy, EdgeTable<T> query, ConfigStore configs) edge[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写protected <T extends EdgeTable<T>>
voidTemplateAdapter.edgeMap(DataRuntime runtime, String random, boolean greedy, EdgeTable<T> query, ConfigStore configs) edge[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写AbstractDriverAdapter.edges(DataRuntime runtime, String random, boolean greedy, EdgeTable<T> query, int types, int struct, ConfigStore configs) edge[调用入口]<T extends EdgeTable<T>>
LinkedHashMap<String,T> AbstractDriverAdapter.edges(DataRuntime runtime, String random, EdgeTable<T> query, int types, int struct, ConfigStore configs) edge[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写TemplateAdapter.edges(DataRuntime runtime, String random, boolean greedy, EdgeTable<T> query, int types, int struct, ConfigStore configs) edge[调用入口]<T extends EdgeTable<T>>
LinkedHashMap<String,T> TemplateAdapter.edges(DataRuntime runtime, String random, EdgeTable<T> query, int types, int struct, ConfigStore configs) edge[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写longAbstractDriverAdapter.execute(DataRuntime runtime, String random, int batch, int vol, ConfigStore configs, RunPrepare prepare, Collection<Object> values) execute [调用入口]longAbstractDriverAdapter.execute(DataRuntime runtime, String random, int batch, ConfigStore configs, RunPrepare prepare, Collection<Object> values) execute [调用入口]longAbstractDriverAdapter.execute(DataRuntime runtime, String random, List<RunPrepare> prepares, ConfigStore configs) longAbstractDriverAdapter.execute(DataRuntime runtime, String random, ConfigStore configs, List<Run> runs) execute [命令执行]longAbstractDriverAdapter.execute(DataRuntime runtime, String random, ConfigStore configs, Run run) execute [命令执行]longAbstractDriverAdapter.execute(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) execute [调用入口]longTemplateActuator.execute(DriverAdapter adapter, DataRuntime runtime, String random, ConfigStore configs, List<Run> run) longTemplateActuator.execute(DriverAdapter adapter, DataRuntime runtime, String random, ConfigStore configs, Run run) execute [命令执行]longTemplateAdapter.execute(DataRuntime runtime, String random, int batch, int vol, ConfigStore configs, RunPrepare prepare, Collection<Object> values) execute [调用入口]longTemplateAdapter.execute(DataRuntime runtime, String random, int batch, ConfigStore configs, RunPrepare prepare, Collection<Object> values) execute [调用入口]longTemplateAdapter.execute(DataRuntime runtime, String random, ConfigStore configs, Run run) execute [命令执行]longTemplateAdapter.execute(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) execute [调用入口]booleanAbstractDriverAdapter.exists(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) exists [调用入口]booleanTemplateAdapter.exists(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) exists [调用入口]voidAbstractDriverAdapter.fillInsertContent(DataRuntime runtime, Run run, Table dest, Collection list, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare)voidAbstractDriverAdapter.fillInsertContent(DataRuntime runtime, Run run, Table dest, DataSet<DataRow> set, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare)voidTemplateAdapter.fillInsertContent(DataRuntime runtime, Run run, Table dest, Collection list, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare)voidTemplateAdapter.fillInsertContent(DataRuntime runtime, Run run, Table dest, DataSet<DataRow> set, ConfigStore configs, Boolean placeholder, Boolean unicode, LinkedHashMap<String, Column> columns) insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare)voidAbstractDriverAdapter.fillInsertCreateTemplate(DataRuntime runtime, Run run, PartitionTable dest, ConfigStore configs) 插入子表前 检测并创建子表voidTemplateAdapter.fillInsertCreateTemplate(DataRuntime runtime, Run run, PartitionTable dest, ConfigStore configs) 插入子表前 检测并创建子表voidAbstractDriverAdapter.fillUpdateContent(DataRuntime runtime, TableRun run, StringBuilder builder, DataRow data, ConfigStore configs, Boolean placeholder, Boolean unicode) voidAbstractDriverAdapter.init(DataRuntime runtime, Run run, ConfigStore configs, String... conditions) query run初始化,检测占位符、忽略不存在的列等 select[命令合成]voidTemplateAdapter.init(DataRuntime runtime, Run run, ConfigStore configs, String... conditions) query run初始化,检测占位符、忽略不存在的列等 select[命令合成]longAbstractDriverAdapter.insert(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) insert [调用入口]
执行前根据主键生成器补充主键值,执行完成后会补齐自增主键值longAbstractDriverAdapter.insert(DataRuntime runtime, String random, Object data, ConfigStore configs, Run run, String[] pks) insert [命令执行]
执行完成后会补齐自增主键值longAbstractDriverAdapter.insert(DataRuntime runtime, String random, Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) insert into table select * from table 与query参数一致longTemplateActuator.insert(DriverAdapter adapter, DataRuntime runtime, String random, Object data, ConfigStore configs, Run run, String generatedKey, String[] pks) 执行insertlongTemplateAdapter.insert(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) insert [调用入口]
执行前根据主键生成器补充主键值,执行完成后会补齐自增主键值longTemplateAdapter.insert(DataRuntime runtime, String random, Object data, ConfigStore configs, Run run, String[] pks) insert [命令执行]
执行完成后会补齐自增主键值longTemplateAdapter.insert(DataRuntime runtime, String random, Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) insert into table select * from table 与query参数一致AbstractDriverAdapter.keyHolders(DataRuntime runtime, ConfigStore configs) 自增主键值keysTemplateAdapter.keyHolders(DataRuntime runtime, ConfigStore configs) 自增主键值keysintAbstractDriverAdapter.length(DataRuntime runtime, String random, String cn, ConfigStore configs) 计算字符串在当前数据库中占用字节长度AbstractDriverAdapter.map(DataRuntime runtime, String random, ConfigStore configs, Run run) select [命令执行]TemplateActuator.map(DriverAdapter adapter, DataRuntime runtime, String random, ConfigStore configs, Run run) select [命令执行]TemplateAdapter.map(DataRuntime runtime, String random, ConfigStore configs, Run run) select [命令执行]AbstractDriverAdapter.maps(DataRuntime runtime, String random, ConfigStore configs, Run run) select [命令执行]AbstractDriverAdapter.maps(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) query [调用入口]
对性能有要求的场景调用,返回java原生map集合,结果中不包含元数据信息TemplateActuator.maps(DriverAdapter adapter, DataRuntime runtime, String random, ConfigStore configs, Run run) select [命令执行]TemplateAdapter.maps(DataRuntime runtime, String random, ConfigStore configs, Run run) select [命令执行]TemplateAdapter.maps(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) query [调用入口]
对性能有要求的场景调用,返回java原生map集合,结果中不包含元数据信息protected <T extends MasterTable<T>>
voidAbstractDriverAdapter.masterMap(DataRuntime runtime, String random, boolean greedy, MasterTable<T> query, ConfigStore configs) master[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写protected <T extends MasterTable<T>>
voidTemplateAdapter.masterMap(DataRuntime runtime, String random, boolean greedy, MasterTable<T> query, ConfigStore configs) master[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写<T extends MasterTable<T>>
List<T>AbstractDriverAdapter.masters(DataRuntime runtime, String random, boolean greedy, MasterTable<T> query, int types, int struct, ConfigStore configs) master[调用入口]<T extends MasterTable<T>>
LinkedHashMap<String,T> AbstractDriverAdapter.masters(DataRuntime runtime, String random, MasterTable<T> query, int types, int struct, ConfigStore configs) master[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写<T extends MasterTable<T>>
List<T>TemplateAdapter.masters(DataRuntime runtime, String random, boolean greedy, MasterTable<T> query, int types, int struct, ConfigStore configs) master[调用入口]<T extends MasterTable<T>>
LinkedHashMap<String,T> TemplateAdapter.masters(DataRuntime runtime, String random, MasterTable<T> query, int types, int struct, ConfigStore configs) master[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写<T extends Metadata>
TAbstractDriverAdapter.parse(DataRuntime runtime, Class<T> type, String ddl, ConfigStore configs) 解析DDL<T> EntitySet<T>AbstractDriverAdapter.queries(DataRuntime runtime, String random, RunPrepare prepare, Class<T> clazz, ConfigStore configs, String... conditions) query [调用入口]<T> EntitySet<T>TemplateAdapter.queries(DataRuntime runtime, String random, RunPrepare prepare, Class<T> clazz, ConfigStore configs, String... conditions) query [调用入口]protected <T> EntitySet<T>AbstractDriverAdapter.query(DataRuntime runtime, String random, Class<T> clazz, Table table, ConfigStore configs, Run run) select [命令执行-子流程]
DataRow转换成Entityprotected <T> EntitySet<T>TemplateAdapter.query(DataRuntime runtime, String random, Class<T> clazz, Table table, ConfigStore configs, Run run) select [命令执行-子流程]
DataRow转换成EntitylongAbstractDriverAdapter.save(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, List<String> columns) save [调用入口]
根据是否有主键值确认insert | update
执行完成后会补齐自增主键值longTemplateAdapter.save(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, List<String> columns) save [调用入口]
根据是否有主键值确认insert | update
执行完成后会补齐自增主键值protected longAbstractDriverAdapter.saveCollection(DataRuntime runtime, String random, Table dest, Collection<?> data, ConfigStore configs, List<String> columns) protected longTemplateAdapter.saveCollection(DataRuntime runtime, String random, Table dest, Collection<?> data, ConfigStore configs, List<String> columns) protected longAbstractDriverAdapter.saveObject(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, List<String> columns) protected longTemplateAdapter.saveObject(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, List<String> columns) AbstractDriverAdapter.selects(DataRuntime runtime, String random, boolean system, Table table, ConfigStore configs, Run run) select [命令执行]AbstractDriverAdapter.selects(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) query [调用入口]
返回DataSet中包含元数据信息,如果性能有要求换成mapsTemplateActuator.selects(DriverAdapter adapter, DataRuntime runtime, String random, boolean system, ACTION.DML action, Table table, ConfigStore configs, Run run, String cmd, List<Object> values, LinkedHashMap<String, Column> columns) TemplateAdapter.selects(DataRuntime runtime, String random, boolean system, Table table, ConfigStore configs, Run run) select [命令执行]TemplateAdapter.selects(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) query [调用入口]
返回DataSet中包含元数据信息,如果性能有要求换成mapsbooleanAbstractDriverAdapter.supportKeyHolder(DataRuntime runtime, ConfigStore configs) 是否支持返回自增主键值booleanTemplateAdapter.supportKeyHolder(DataRuntime runtime, ConfigStore configs) 是否支持返回自增主键值protected <T extends Table<T>>
voidAbstractDriverAdapter.tableMap(DataRuntime runtime, String random, boolean greedy, Table<T> query, ConfigStore configs) table[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写protected <T extends Table<T>>
voidTemplateAdapter.tableMap(DataRuntime runtime, String random, boolean greedy, Table<T> query, ConfigStore configs) table[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写AbstractDriverAdapter.tables(DataRuntime runtime, String random, boolean greedy, Table<T> query, int types, int struct, ConfigStore configs) table[调用入口]<T extends Table<T>>
LinkedHashMap<String,T> AbstractDriverAdapter.tables(DataRuntime runtime, String random, Table<T> query, int types, int struct, ConfigStore configs) table[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写TemplateAdapter.tables(DataRuntime runtime, String random, boolean greedy, Table<T> query, int types, int struct, ConfigStore configs) table[调用入口]<T extends Table<T>>
LinkedHashMap<String,T> TemplateAdapter.tables(DataRuntime runtime, String random, Table<T> query, int types, int struct, ConfigStore configs) table[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写longAbstractDriverAdapter.update(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) UPDATE [调用入口]longAbstractDriverAdapter.update(DataRuntime runtime, String random, RunPrepare prepare, DataRow data, ConfigStore configs, String... conditions) 多表关联更新longAbstractDriverAdapter.update(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, Run run) update [命令执行]longTemplateActuator.update(DriverAdapter adapter, DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, Run run) update [命令执行]longTemplateAdapter.update(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) UPDATE [调用入口]longTemplateAdapter.update(DataRuntime runtime, String random, RunPrepare prepare, DataRow data, ConfigStore configs, String... conditions) 多表关联更新longTemplateAdapter.update(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, Run run) update [命令执行]<T extends VertexTable<T>>
List<T>AbstractDriverAdapter.vertexes(DataRuntime runtime, String random, boolean greedy, VertexTable<T> query, int types, int struct, ConfigStore configs) vertex[调用入口]<T extends VertexTable<T>>
LinkedHashMap<String,T> AbstractDriverAdapter.vertexes(DataRuntime runtime, String random, VertexTable<T> query, int types, int struct, ConfigStore configs) vertex[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写<T extends VertexTable<T>>
List<T>TemplateAdapter.vertexes(DataRuntime runtime, String random, boolean greedy, VertexTable<T> query, int types, int struct, ConfigStore configs) vertex[调用入口]<T extends VertexTable<T>>
LinkedHashMap<String,T> TemplateAdapter.vertexes(DataRuntime runtime, String random, VertexTable<T> query, int types, int struct, ConfigStore configs) vertex[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写protected <T extends VertexTable<T>>
voidAbstractDriverAdapter.vertexMap(DataRuntime runtime, String random, boolean greedy, VertexTable<T> query, ConfigStore configs) vertex[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写protected <T extends VertexTable<T>>
voidTemplateAdapter.vertexMap(DataRuntime runtime, String random, boolean greedy, VertexTable<T> query, ConfigStore configs) vertex[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写protected voidAbstractDriverAdapter.viewMap(DataRuntime runtime, String random, boolean greedy, View query, ConfigStore configs) view[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写protected voidTemplateAdapter.viewMap(DataRuntime runtime, String random, boolean greedy, View query, ConfigStore configs) view[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写AbstractDriverAdapter.views(DataRuntime runtime, String random, boolean greedy, View query, int types, int struct, ConfigStore configs) view[调用入口]<T extends View>
LinkedHashMap<String,T> AbstractDriverAdapter.views(DataRuntime runtime, String random, View query, int types, int struct, ConfigStore configs) view[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写TemplateAdapter.views(DataRuntime runtime, String random, boolean greedy, View query, int types, int struct, ConfigStore configs) view[调用入口]<T extends View>
LinkedHashMap<String,T> TemplateAdapter.views(DataRuntime runtime, String random, View query, int types, int struct, ConfigStore configs) view[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写 -
org.anyline.data.cache中ConfigStore的使用
参数类型为ConfigStore的org.anyline.data.cache中的方法修饰符和类型方法说明static StringCacheUtil.createCacheElementKey(boolean page, boolean order, String dest, ConfigStore store, String... conditions) 创建cache keystatic StringCacheUtil.createCacheElementKey(boolean page, boolean order, Table dest, ConfigStore store, String... conditions) -
org.anyline.data.entity中ConfigStore的使用
参数类型为ConfigStore的org.anyline.data.entity中的方法 -
org.anyline.data.interceptor中ConfigStore的使用
参数类型为ConfigStore的org.anyline.data.interceptor中的方法修饰符和类型方法说明CountInterceptor.after(DataRuntime runtime, String random, Run run, ConfigStore configs, boolean success, long result, long millis) 合计总数之前调用,到这一步SQL已创建完成default ACTION.SWITCHDeleteInterceptor.after(DataRuntime runtime, String random, Run run, ConfigStore configs, boolean success, long result, long millis) 合计总数之前调用,到这一步SQL已创建完成default ACTION.SWITCHExecuteInterceptor.after(DataRuntime runtime, String random, List<Run> runs, ConfigStore configs, boolean success, long result, long millis) default ACTION.SWITCHExecuteInterceptor.after(DataRuntime runtime, String random, Run run, ConfigStore configs, boolean success, long result, long millis) 合计总数之前调用,到这一步SQL已创建完成default ACTION.SWITCHInsertInterceptor.after(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns, boolean success, long result, long millis) 合计总数之前调用,到这一步SQL已创建完成default ACTION.SWITCHInsertInterceptor.after(DataRuntime runtime, String random, Run run, Table dest, RunPrepare prepare, ConfigStore configs, boolean success, long result, long millis) default ACTION.SWITCHSelectInterceptor.after(DataRuntime runtime, String random, Run run, boolean success, Object result, ConfigStore configs, long millis) 合计总数之前调用,到这一步SQL已创建完成default ACTION.SWITCHSelectInterceptor.after(DataRuntime runtime, String random, Procedure procedure, ConfigStore configs, boolean success, Object result, long millis) default ACTION.SWITCHUpdateInterceptor.after(DataRuntime runtime, String random, Run run, RunPrepare prepare, DataRow data, ConfigStore configs, boolean success, long result, long millis) 合计总数之前调用,到这一步SQL已创建完成default ACTION.SWITCHUpdateInterceptor.after(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns, boolean success, long result, long millis) 合计总数之前调用,到这一步SQL已创建完成CountInterceptor.before(DataRuntime runtime, String random, Run run, ConfigStore configs) 合计总数之前调用,到这一步SQL已创建完成default ACTION.SWITCHDeleteInterceptor.before(DataRuntime runtime, String random, Run run, ConfigStore configs) 合计总数之前调用,到这一步SQL已创建完成default ACTION.SWITCHExecuteInterceptor.before(DataRuntime runtime, String random, List<Run> runs, ConfigStore configs) default ACTION.SWITCHExecuteInterceptor.before(DataRuntime runtime, String random, Run run, ConfigStore configs) 合计总数之前调用,到这一步SQL已创建完成default ACTION.SWITCHExecuteInterceptor.before(DataRuntime runtime, String random, Procedure procedure, ConfigStore configs) 合计总数之前调用,到这一步SQL已创建完成default ACTION.SWITCHInsertInterceptor.before(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns) 合计总数之前调用,到这一步SQL已创建完成default ACTION.SWITCHInsertInterceptor.before(DataRuntime runtime, String random, Run run, Table dest, RunPrepare prepare, ConfigStore configs) default ACTION.SWITCHSelectInterceptor.before(DataRuntime runtime, String random, Run run, ConfigStore configs) 合计总数之后调用,行数页数等信息在navi中, 到这一步SQL已创建完成default ACTION.SWITCHSelectInterceptor.before(DataRuntime runtime, String random, Procedure procedure, ConfigStore configs) default ACTION.SWITCHUpdateInterceptor.before(DataRuntime runtime, String random, Run run, RunPrepare prepare, DataRow data, ConfigStore configs) 合计总数之前调用,到这一步SQL已创建完成default ACTION.SWITCHUpdateInterceptor.before(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns) 合计总数之前调用,到这一步SQL已创建完成CountInterceptor.prepare(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) 创建COUNT SQL之前,可以在这一步修改查询条件default ACTION.SWITCHDeleteInterceptor.prepare(DataRuntime runtime, String random, int batch, Table table, Object obj, ConfigStore configs, String... columns) default ACTION.SWITCHDeleteInterceptor.prepare(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) 创建delete SQL之前,可以在这一步修改查询条件default ACTION.SWITCHDeleteInterceptor.prepare(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String... conditions) default ACTION.SWITCHDeleteInterceptor.prepare(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String key, Collection values) default ACTION.SWITCHExecuteInterceptor.prepare(DataRuntime runtime, String random, List<RunPrepare> prepares, ConfigStore configs, String... conditions) default ACTION.SWITCHExecuteInterceptor.prepare(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) 创建 SQL之前,可以在这一步修改查询条件default ACTION.SWITCHExecuteInterceptor.prepare(DataRuntime runtime, String random, Procedure procedure, ConfigStore configs) default ACTION.SWITCHInsertInterceptor.prepare(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) 创建update SQL之前,可以在这一步修改查询条件default ACTION.SWITCHInsertInterceptor.prepare(DataRuntime runtime, String random, Table dest, RunPrepare prepare, ConfigStore configs) default ACTION.SWITCHSelectInterceptor.prepare(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) 创建查询SQL之前,可以在这一步修改查询条件default ACTION.SWITCHUpdateInterceptor.prepare(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) 创建update SQL之前,可以在这一步修改查询条件default ACTION.SWITCHUpdateInterceptor.prepare(DataRuntime runtime, String random, RunPrepare prepare, DataRow data, ConfigStore configs) 创建update SQL之前,可以在这一步修改查询条件 -
org.anyline.data.listener中ConfigStore的使用
参数类型为ConfigStore的org.anyline.data.listener中的方法修饰符和类型方法说明default ACTION.SWITCHDMListener.afterInsert(DataRuntime runtime, String random, Run run, long count, Table dest, RunPrepare prepare, ConfigStore configs, boolean success, long qty, long millis) default ACTION.SWITCHDMListener.afterUpdate(DataRuntime runtime, String random, Run run, long count, RunPrepare prepare, DataRow data, ConfigStore configs, boolean success, long qty, long millis) 更新之前调用default ACTION.SWITCHDMListener.beforeInsert(DataRuntime runtime, String random, Run run, Table dest, RunPrepare prepare, ConfigStore configs) default ACTION.SWITCHDMListener.beforeUpdate(DataRuntime runtime, String random, Run run, RunPrepare prepare, DataRow data, ConfigStore configs) 更新之前调用default ACTION.SWITCHDMListener.prepareDelete(DataRuntime runtime, String random, int batch, Table dest, Object obj, ConfigStore configs, String... columns) 创建删除SQL前调用(DataRuntime runtime, String random, 根据Entity/DataRow), 修改删除条件可以在这一步实现
注意不是beforeDelete
注意prepareDelete有两个函数需要实现 service.delete(DataRuntime runtime, String random, DataRow/Entity) {return SWITCH.CONTINUE;}default ACTION.SWITCHDMListener.prepareDelete(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String key, Object values) 创建删除SQL前调用(DataRuntime runtime, String random, 根据条件), 修改删除条件可以在这一步实现
注意不是beforeDelete
注意prepareDelete有两个函数需要实现 service.delete(DataRuntime runtime, String random, "CRM_USER","ID","1","2","3") {return SWITCH.CONTINUE;}default ACTION.SWITCHDMListener.prepareInsert(DataRuntime runtime, String random, int batch, Table dest, Object obj, ConfigStore configs, List<String> columns) 创建插入相关的SQL之前调用
要修改插入内容可以在这一步实现, 注意不是在beforeInsertdefault ACTION.SWITCHDMListener.prepareInsert(DataRuntime runtime, String random, Table dest, RunPrepare prepare, ConfigStore configs) default ACTION.SWITCHDMListener.prepareSelect(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) 创建查相关的SQL之前调用, 包括slect exists count等
要修改查询条件可以在这一步实现, 注意不是在beforeQuerydefault ACTION.SWITCHDMListener.prepareUpdate(DataRuntime runtime, String random, int batch, Table dest, Object obj, ConfigStore configs, List<String> columns) 创建更新相关的SQL之前调用
要修改更新内容或条件可以在这一步实现, 注意不是在beforeUpdatedefault ACTION.SWITCHDMListener.prepareUpdate(DataRuntime runtime, String random, RunPrepare prepare, DataRow data, ConfigStore configs) 创建更新相关的SQL之前调用
要修改更新内容或条件可以在这一步实现, 注意不是在beforeUpdate -
org.anyline.data.param中ConfigStore的使用
修饰符和类型方法说明ConfigStore.addHighlight(String... fields) ConfigStore.addHighlight(String field, Highlight highlight) default ConfigStoreConfigStore.addPrimaryKey(String... pks) 添加主键ConfigStore.addPrimaryKey(Collection<String> pks) ConfigStore.addStaticValue(Object value) ConfigStore.aggregation(AggregationConfig... aggregations) ConfigStore.aggregations(List<AggregationConfig> aggregations) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStore构造查询条件default ConfigStoreConfigStore.and(ConfigStore config) ConfigStore.and(ConfigStore config, boolean apart) 构造查询条件ConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt, String text) 构造查询条件default ConfigStoreConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) 构造查询条件default ConfigStoreConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt, String var, Object... values) default ConfigStoreConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoreConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) 构造查询条件 XML自定义SQL条件中指定变量赋值
这里不指定运算算,根据value情况生成IN或者=default ConfigStoreConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoreConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value) 构造查询条件default ConfigStoreConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String col, Object... values) default ConfigStoreConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoreConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value) 构造查询条件ConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.and(Compare compare, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoreConfigStore.and(Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.ands(ConfigStore config) ConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt, String text) 构造查询条件default ConfigStoreConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) 构造查询条件
最初ands是为了生成in条件,但and已经可以识别集合条件自动生成IN,
2023-10-21后
ands改成了与ors类似的效果,即把之前所有的条件放在一个()内,然后and thisdefault ConfigStoreConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt, String var, Object... values) default ConfigStoreConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoreConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) 构造查询条件 XML自定义SQL条件中指定变量赋值
这里不指定运算算,根据value情况生成IN或者=default ConfigStoreConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoreConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value) 构造查询条件default ConfigStoreConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String col, Object... values) default ConfigStoreConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoreConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value) 构造查询条件ConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.ands(Compare compare, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoreConfigStore.ands(Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) ConfigStore.autoCount(boolean auto) default ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.between(String id, String var, Object min, Object max, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.between(Compare.EMPTY_VALUE_SWITCH swt, String var, Object min, Object max, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.between(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object min, Object max, boolean overCondition, boolean overValue) static ConfigStoreConfigStore.cascade(boolean cascade) 级联(如删除点相关的边)ConfigStore.clone()default ConfigStoreConfigStore.closeAllSqlLog()关闭所有SQL日志设置需要查询或更新的列default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.condition(String join, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoreConfigStore.condition(String join, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStore构造查询条件default ConfigStoreConfigStore.condition(String join, ConfigStore config) default ConfigStoreConfigStore.condition(String join, ConfigStore config, boolean apart) 构造查询条件default ConfigStoreConfigStore.condition(String join, Compare.EMPTY_VALUE_SWITCH swt, String text) 构造查询条件default ConfigStoreConfigStore.condition(String join, Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStoreConfigStore.condition(String join, Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoreConfigStore.condition(String join, Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) 构造查询条件 XML自定义SQL条件中指定变量赋值
这里不指定运算算,根据value情况生成IN或者=default ConfigStoreConfigStore.condition(String join, Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoreConfigStore.condition(String join, Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value) 构造查询条件default ConfigStoreConfigStore.condition(String join, Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoreConfigStore.condition(String join, Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value) 构造查询条件default ConfigStoreConfigStore.condition(String join, Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoredefault ConfigStoreConfigStore.condition(String join, Compare compare, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoreConfigStore.condition(String join, Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 设置配置项,用来覆盖ConfigTableConfigStore.copyPageNavi(PageNavi navi) ConfigStore.copyProperty(ConfigStore configs) 复制配置属性(不含查询条件)ConfigStore.datasource(String datasource) 设置查询或操作的数据源default ConfigStoreConfigStore.DEFAULT_PRIMARY_KEY(String value) 设置查询或操作的目标(表,存储过程,sql等)default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.endWith(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.endWith(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.endWithIgnoreCase(String var, Object value) default ConfigStoreConfigStore.endWithIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.endWithIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.endWithIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.endWithIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) ConfigStore.entityClass(Class clazz) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.eq(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStoreConfigStore.eq(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.eq(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStoreConfigStore.eq(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) 设置不城要查询的列ConfigStore.execute(boolean execute) default ConfigStoreConfigStore.exists(RunPrepare prepare) default ConfigStoreConfigStore.exists(Compare.EMPTY_VALUE_SWITCH swt, RunPrepare prepare) 提取部分查询条件default ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.findInSet(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.findInSet(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.findInSet(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.findInSetAnd(String var, Object value) default ConfigStoreConfigStore.findInSetAnd(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.findInSetAnd(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.findInSetAnd(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.findInSetAnd(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.findInSetOr(String var, Object value) default ConfigStoreConfigStore.findInSetOr(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.findInSetOr(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.findInSetOr(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.findInSetOr(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.ge(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStoreConfigStore.ge(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.ge(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStoreConfigStore.ge(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) 添加排序添加分组default ConfigStoreConfigStore.groups(GroupStore groups) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.gt(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStoreConfigStore.gt(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.gt(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStoreConfigStore.gt(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) ConfigStore.handler(DataHandler handler) 设置流式(StreamHandlder)或异步(FinishHandler)的回调ConfigStore.having()default ConfigStoreConfigStore.having(ConfigStore configs) default ConfigStoreConfigStore.IGNORE_GRAPH_QUERY_RESULT_TABLE(int s) default ConfigStoreConfigStore.IGNORE_GRAPH_QUERY_RESULT_TOP_KEY(int s) default ConfigStoredefault ConfigStoreindefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.in(String var, RunPrepare prepare) default ConfigStoreConfigStore.in(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStoreConfigStore.in(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.in(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStoreConfigStore.in(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) ConfigStore.integrality(boolean integrality) default ConfigStoreConfigStore.IS_AUTO_CHECK_EL_VALUE(boolean value) default ConfigStoreConfigStore.IS_AUTO_CHECK_METADATA(boolean value) default ConfigStoreConfigStore.IS_CHECK_ALL_INSERT_COLUMN(boolean s) default ConfigStoreConfigStore.IS_CHECK_ALL_UPDATE_COLUMN(boolean s) default ConfigStoreConfigStore.IS_CHECK_EMPTY_SET_METADATA(boolean value) default ConfigStoreConfigStore.IS_ENABLE_PLACEHOLDER_REGEX_EXT(boolean s) default ConfigStoreConfigStore.IS_ENABLE_SQL_DATATYPE_CONVERT(boolean s) default ConfigStoreConfigStore.IS_INSERT_EMPTY_COLUMN(boolean value) default ConfigStoreConfigStore.IS_INSERT_EMPTY_FIELD(boolean value) default ConfigStoreConfigStore.IS_INSERT_NULL_COLUMN(boolean value) default ConfigStoreConfigStore.IS_INSERT_NULL_FIELD(boolean value) default ConfigStoreConfigStore.IS_LOG_QUERY_RESULT(boolean value) default ConfigStoreConfigStore.IS_LOG_QUERY_RESULT_EXCLUDE_METADATA(boolean value) default ConfigStoreConfigStore.IS_LOG_SLOW_SQL(boolean value) default ConfigStoreConfigStore.IS_LOG_SQL(boolean value) default ConfigStoreConfigStore.IS_LOG_SQL_PARAM(boolean value) default ConfigStoreConfigStore.IS_LOG_SQL_PARAM_WHEN_ERROR(boolean value) default ConfigStoreConfigStore.IS_LOG_SQL_TIME(boolean value) default ConfigStoreConfigStore.IS_LOG_SQL_WARN(boolean value) default ConfigStoreConfigStore.IS_LOG_SQL_WHEN_ERROR(boolean value) default ConfigStoreConfigStore.IS_PRINT_EXCEPTION_STACK_TRACE(boolean value) default ConfigStoreConfigStore.IS_REPLACE_EMPTY_NULL(boolean value) default ConfigStoreConfigStore.IS_SQL_LOG_PLACEHOLDER(boolean value) default ConfigStoreConfigStore.IS_THROW_SQL_QUERY_EXCEPTION(boolean value) default ConfigStoreConfigStore.IS_THROW_SQL_UPDATE_EXCEPTION(boolean value) default ConfigStoreConfigStore.IS_UPDATE_EMPTY_COLUMN(boolean value) default ConfigStoreConfigStore.IS_UPDATE_EMPTY_FIELD(boolean value) default ConfigStoreConfigStore.IS_UPDATE_NULL_COLUMN(boolean value) default ConfigStoreConfigStore.IS_UPDATE_NULL_FIELD(boolean value) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.jsonContains(String var, Object value) default ConfigStoreConfigStore.jsonContains(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContains(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContains(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContains(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsAnd(String var, Object value) default ConfigStoreConfigStore.jsonContainsAnd(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsAnd(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsAnd(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsAnd(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsOr(String var, Object value) default ConfigStoreConfigStore.jsonContainsOr(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsOr(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsOr(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsOr(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsPathAnd(String var, Object value) default ConfigStoreConfigStore.jsonContainsPathAnd(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsPathAnd(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsPathAnd(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsPathAnd(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsPathOr(String var, Object value) default ConfigStoreConfigStore.jsonContainsPathOr(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsPathOr(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsPathOr(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonContainsPathOr(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonOverlaps(String var, Object value) default ConfigStoreConfigStore.jsonOverlaps(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonOverlaps(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonOverlaps(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonOverlaps(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonSearch(String var, Object value) default ConfigStoreConfigStore.jsonSearch(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonSearch(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonSearch(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.jsonSearch(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) ConfigStore.keyCase(KeyAdapter.KEY_CASE kc) ConfigStore.keyHolders(String... keys) 设置虚拟主键,主要是用作为更新条件default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.le(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStoreConfigStore.le(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.le(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStoreConfigStore.le(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.like(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.like(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likeIgnoreCase(String var, Object value) default ConfigStoreConfigStore.likeIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likeIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likeIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likeIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likePrefix(String var, Object value) default ConfigStoreConfigStore.likePrefix(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likePrefix(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likePrefix(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likePrefix(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likePrefixIgnoreCase(String var, Object value) default ConfigStoreConfigStore.likePrefixIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likePrefixIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likePrefixIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likePrefixIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoreConfigStore.likes(Compare.EMPTY_VALUE_SWITCH swt, String value) default ConfigStoreConfigStore.likesIgnoreCase(String value) default ConfigStoreConfigStore.likesIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String value) default ConfigStoreConfigStore.likeSuffix(String var, Object value) default ConfigStoreConfigStore.likeSuffix(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likeSuffix(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likeSuffix(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likeSuffix(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likeSuffixIgnoreCase(String var, Object value) default ConfigStoreConfigStore.likeSuffixIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likeSuffixIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likeSuffixIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.likeSuffixIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.limit(int rows) ConfigStore.limit(long offset, int rows) 起止行 下标从0开始ConfigStore.lite(boolean lite) 快速查询 查询结果以数组结构返回 速度快 占用空间少,但不能忽略大不写,不能二次计算default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.lt(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStoreConfigStore.lt(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.lt(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStoreConfigStore.lt(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.MASK_OMIT_COLUMN(String value) default ConfigStoreConfigStore.MASK_OMIT_LEFT(int value) default ConfigStoreConfigStore.MASK_OMIT_RIGHT(int value) default ConfigStoreConfigStore.MASK_OMIT_VOL(int value) default ConfigStoreConfigStore.MASK_REPLACE_COLUMN(String value) default ConfigStoreConfigStore.MASK_REPLACE_REGEX(String value) default ConfigStoreConfigStore.MASK_REPLACE_REPLACEMENT(String value) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.match(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.match(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.MERGE_GRAPH_QUERY_RESULT_TABLE(int s) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.ne(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.ne(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notEndWith(String var, Object value) default ConfigStoreConfigStore.notEndWith(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notEndWith(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notEndWith(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notEndWith(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.notIn(String var, RunPrepare prepare) default ConfigStoreConfigStore.notIn(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notIn(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.notLike(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notLike(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notLikePrefix(String var, Object value) default ConfigStoreConfigStore.notLikePrefix(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notLikePrefix(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notLikePrefix(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notLikePrefix(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notLikeSuffix(String var, Object value) default ConfigStoreConfigStore.notLikeSuffix(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notLikeSuffix(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notLikeSuffix(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notLikeSuffix(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.notRegex(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notRegex(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notStartWith(String var, Object value) default ConfigStoreConfigStore.notStartWith(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notStartWith(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notStartWith(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.notStartWith(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.openAllSqlLog()开启所有SQL日志default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.or(ConfigStore config) ConfigStore.or(ConfigStore config, boolean apart) 构造查询条件ConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt, String text) default ConfigStoreConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStoreConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 与ConfigStore中前一个条件合成or
这里不指定运算算,根据value情况生成IN或者=default ConfigStoreConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStoreConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value) default ConfigStoreConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value) ConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 与ConfigStore中前一个条件合成ordefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.or(Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 添加排序添加排序添加排序ConfigStore.order(String column, Order.TYPE type) 添加排序ConfigStore.order(String column, Order.TYPE type, boolean override) 添加排序添加排序default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt, String text) default ConfigStoreConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStoreConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 与ConfigStore中当前所有的条件合成or
* 这里不指定运算算,根据value情况生成IN或者=default ConfigStoreConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStoreConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) ConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt, Config config) default ConfigStoreConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value) default ConfigStoreConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value) ConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 与ConfigStore中当前所有的条件合成ordefault ConfigStoredefault ConfigStoreConfigStore.ors(Compare compare, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoreConfigStore.ors(Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 如果数据库中存在相同数据(根据columns,如果不指定则根据主键或唯一索引) 是否覆盖 true或false会检测数据库null不检测ConfigStore.override(Boolean override, Constraint constraint) ConfigStore.page(long page, int rows) 设置分页default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.param(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) 用来给占位符或自定义SQL中的参数赋值 Compare.NONE 只作为参数值为占位符赋值,不能独立生成新的查询条件default ConfigStoreConfigStore.param(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) 用来给占位符或自定义SQL中的参数赋值ConfigStore.param(Compare.EMPTY_VALUE_SWITCH swt, String prefix, String var, Object value, boolean overCondition, boolean overValue) 占位符赋值根据占位符下标赋值,注意不需要提供下标,按顺序提供值即可ConfigStore.params(Collection<?> values) static ConfigStoreConfigStore.prepare(RunPrepare... prepares) 执行查询或更新前 有前置命令 如创建临时表等default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.regex(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.regex(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.removeConfig(String var) ConfigStore.removeConfig(String var, Compare compare) ConfigStore.removeConfig(Config config) ConfigStore.scope(long first, long last) 起止行 下标从0开始ConfigStore.setGroups(GroupStore groups) ConfigStore.setHighlight(Highlight highlight) ConfigStore.setJoin(Condition.JOIN type) 自动识别and|or 如果遇到ES比较复杂的条件可以主动设置ConfigStore.setOrders(OrderStore orders) ConfigStore.setPageNavi(PageNavi navi) default ConfigStoreConfigStore.setPrimaryKey(String... pks) ConfigStore.setPrimaryKey(Collection<String> pks) 设置主键ConfigStore.setTotalLazy(long ms) 开启记录总数懒加载在配置了参数(调用and/or)之后,为参数赋值(值经常是来自WebUti.value(request))default ConfigStoreConfigStore.SLOW_SQL_MILLIS(long value) default ConfigStoreConfigStore.SQL_QUERY_TIMEOUT(int s) default ConfigStoreConfigStore.SQL_UPDATE_TIMEOUT(int s) default ConfigStoredefault ConfigStoredefault ConfigStoreConfigStore.startWith(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.startWith(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.startWith(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.startWithIgnoreCase(String var, Object value) default ConfigStoreConfigStore.startWithIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.startWithIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.startWithIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreConfigStore.startWithIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) ConfigStore.supportKeyHolder(boolean support) 参数类型为ConfigStore的org.anyline.data.param中的方法修饰符和类型方法说明default ConfigStoreConfigStore.and(ConfigStore config) ConfigStore.and(ConfigStore config, boolean apart) 构造查询条件default ConfigStoreConfigStore.ands(ConfigStore config) default ConfigStoreConfigStore.condition(String join, ConfigStore config) default ConfigStoreConfigStore.condition(String join, ConfigStore config, boolean apart) 构造查询条件TableBuilder.condition(ConfigStore configs) AggregationBuilder.configs(ConfigStore configs) ConfigStore.copyProperty(ConfigStore configs) 复制配置属性(不含查询条件)static StringConfigParser.createSQLSign(boolean page, boolean order, String src, ConfigStore store, String... conditions) 生成SQL签名,用来唯一标签一条SQLstatic StringConfigStore.DEFAULT_PRIMARY_KEY(ConfigStore configs) TableBuilder.full(String table, ConfigStore configs, String... conditions) TableBuilder.full(String alias, RunPrepare prepare, ConfigStore configs, String... conditions) TableBuilder.full(Table table, ConfigStore configs, String... conditions) TableBuilder.fullLateral(String table, ConfigStore configs, String... conditions) ConfigStore.having(ConfigStore configs) static intConfigStore.IGNORE_GRAPH_QUERY_RESULT_TABLE(ConfigStore configs) static intConfigStore.IGNORE_GRAPH_QUERY_RESULT_TOP_KEY(ConfigStore configs) TableBuilder.inner(String table, ConfigStore configs, String... conditions) TableBuilder.inner(String alias, RunPrepare prepare, ConfigStore configs, String... conditions) TableBuilder.inner(Table table, ConfigStore configs, String... conditions) static booleanConfigStore.IS_AUTO_CHECK_EL_VALUE(ConfigStore configs) static booleanConfigStore.IS_AUTO_CHECK_METADATA(ConfigStore configs) insert update 时是否自动检测表结构(删除表中不存在的属性)static booleanConfigStore.IS_AUTO_MASK_OMIT(ConfigStore configs) static booleanConfigStore.IS_AUTO_MASK_REPLACE(ConfigStore configs) static booleanConfigStore.IS_CHECK_ALL_INSERT_COLUMN(ConfigStore configs) static booleanConfigStore.IS_CHECK_ALL_UPDATE_COLUMN(ConfigStore configs) static booleanConfigStore.IS_CHECK_EMPTY_SET_METADATA(ConfigStore configs) 查询返回空DataSet时,是否检测元数据信息static booleanConfigStore.IS_ENABLE_PLACEHOLDER_REGEX_EXT(ConfigStore configs) static booleanConfigStore.IS_ENABLE_SQL_DATATYPE_CONVERT(ConfigStore configs) static booleanConfigStore.IS_INSERT_EMPTY_COLUMN(ConfigStore configs) static booleanConfigStore.IS_INSERT_EMPTY_FIELD(ConfigStore configs) static booleanConfigStore.IS_INSERT_NULL_COLUMN(ConfigStore configs) static booleanConfigStore.IS_INSERT_NULL_FIELD(ConfigStore configs) static booleanConfigStore.IS_LOG_BATCH_SQL_PARAM(ConfigStore configs) 是否输出SQL参数日志static booleanConfigStore.IS_LOG_QUERY_RESULT(ConfigStore configs) 查询结果输出日志static booleanConfigStore.IS_LOG_QUERY_RESULT_EXCLUDE_METADATA(ConfigStore configs) 查询结果输出日志时 是否过滤元数据查询结果static booleanConfigStore.IS_LOG_SLOW_SQL(ConfigStore configs) 是否输出慢SQL日志static booleanConfigStore.IS_LOG_SQL(ConfigStore configs) 是否输出SQL日志static booleanConfigStore.IS_LOG_SQL_PARAM(ConfigStore configs) 是否输出SQL参数日志(占位符模式下有效)static booleanConfigStore.IS_LOG_SQL_PARAM_WHEN_ERROR(ConfigStore configs) 异常时是否输出SQL参数日志(占位符模式下有效)static booleanConfigStore.IS_LOG_SQL_TIME(ConfigStore configs) 是否显示SQL耗时static booleanConfigStore.IS_LOG_SQL_WARN(ConfigStore configs) static booleanConfigStore.IS_LOG_SQL_WHEN_ERROR(ConfigStore configs) 异常时是否输出SQL日志static booleanConfigStore.IS_PRINT_EXCEPTION_STACK_TRACE(ConfigStore configs) 是否输出异常堆栈日志static booleanConfigStore.IS_REPLACE_EMPTY_NULL(ConfigStore configs) static booleanConfigStore.IS_SQL_LOG_PLACEHOLDER(ConfigStore configs) static booleanConfigStore.IS_THROW_SQL_QUERY_EXCEPTION(ConfigStore configs) 是否抛出查询异常static booleanConfigStore.IS_THROW_SQL_UPDATE_EXCEPTION(ConfigStore configs) 是否抛出更新异常static booleanConfigStore.IS_UPDATE_EMPTY_COLUMN(ConfigStore configs) static booleanConfigStore.IS_UPDATE_EMPTY_FIELD(ConfigStore configs) static booleanConfigStore.IS_UPDATE_NULL_COLUMN(ConfigStore configs) static booleanConfigStore.IS_UPDATE_NULL_FIELD(ConfigStore configs) TableBuilder.join(String alias, Join.TYPE type, RunPrepare prepare, ConfigStore configs, String... conditions) TableBuilder.join(String alias, Join.TYPE type, RunPrepare prepare, ConfigStore configs, List<String> conditions) TableBuilder.join(String alias, RunPrepare prepare, Join.TYPE type, ConfigStore configs, String... conditions) TableBuilder.join(Join.TYPE type, String table, ConfigStore configs, String... conditions) TableBuilder.join(Join.TYPE type, Table table, ConfigStore configs, String... conditions) TableBuilder.left(String table, ConfigStore configs, String... conditions) TableBuilder.left(String alias, RunPrepare prepare, ConfigStore configs, String... conditions) TableBuilder.left(Table table, ConfigStore configs, String... conditions) TableBuilder.leftLateral(String table, ConfigStore configs, String... conditions) TableBuilder.leftLateral(String alias, RunPrepare prepare, ConfigStore configs, String... conditions) TableBuilder.leftLateral(Table table, ConfigStore configs, String... conditions) static StringConfigStore.MASK_OMIT_COLUMN(ConfigStore configs) static StringConfigStore.MASK_OMIT_ELLIPSIS(ConfigStore configs) static intConfigStore.MASK_OMIT_LEFT(ConfigStore configs) static intConfigStore.MASK_OMIT_RIGHT(ConfigStore configs) static intConfigStore.MASK_OMIT_VOL(ConfigStore configs) static StringConfigStore.MASK_REPLACE_COLUMN(ConfigStore configs) static StringConfigStore.MASK_REPLACE_REGEX(ConfigStore configs) static StringConfigStore.MASK_REPLACE_REPLACEMENT(ConfigStore configs) static intConfigStore.MERGE_GRAPH_QUERY_RESULT_TABLE(ConfigStore configs) default ConfigStoreConfigStore.or(ConfigStore config) ConfigStore.or(ConfigStore config, boolean apart) 构造查询条件TableBuilder.right(String table, ConfigStore configs, String... conditions) TableBuilder.right(String alias, RunPrepare prepare, ConfigStore configs, String... conditions) TableBuilder.right(Table table, ConfigStore configs, String... conditions) TableBuilder.rightLateral(String table, ConfigStore configs, String... conditions) TableBuilder.rightLateral(String alias, RunPrepare prepare, ConfigStore configs, String... conditions) TableBuilder.rightLateral(Table table, ConfigStore configs, String... conditions) static longConfigStore.SLOW_SQL_MILLIS(ConfigStore configs) 慢SQL判断标准static intConfigStore.SQL_QUERY_TIMEOUT(ConfigStore configs) static intConfigStore.SQL_UPDATE_TIMEOUT(ConfigStore configs) -
org.anyline.data.param.init中ConfigStore的使用
修饰符和类型方法说明DefaultConfigStore.addHighlight(String... fields) DefaultConfigStore.addHighlight(String field, Highlight highlight) DefaultConfigStore.addPrimaryKey(Collection<String> pks) DefaultConfigStore.addStaticValue(Object value) DefaultConfigStore.aggregation(AggregationConfig... aggregations) DefaultConfigStore.aggregations(List<AggregationConfig> aggregations) DefaultConfigStore.and(ConfigStore configs, boolean apart) DefaultConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt, String text) DefaultConfigStore.and(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件DefaultConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt, String text) DefaultConfigStore.ands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) DefaultConfigStore.autoCount(boolean auto) DefaultConfigStore.cascade(boolean cascade) 级联(如删除点相关的边)DefaultConfigStore.clone()设置城要查询的列DefaultConfigStore.copyPageNavi(PageNavi navi) DefaultConfigStore.copyProperty(ConfigStore configs) DefaultConfigStore.datasource(String datasource) 设置查询或操作的数据源设置查询或操作的目标(表, 存储过程, sql等)DefaultConfigStore.entityClass(Class clazz) DefaultConfigStore.execute(boolean execute) 添加分组DefaultConfigStore.handler(DataHandler handler) DefaultConfigStore.having()DefaultConfigStore.having(ConfigStore configs) DefaultConfigStore.integrality(boolean integrality) DefaultConfigStore.keyCase(KeyAdapter.KEY_CASE kc) DefaultConfigStore.keyHolders(String... keys) 设置虚拟主键,主要是用作为更新条件DefaultConfigStore.limit(long offset, int rows) 起止行 下标从0开始DefaultConfigStore.lite(boolean lite) 快速查询 查询结果以数组结构返回 速度快 占用空间少,但不能忽略大不写,不能二次计算DefaultConfigStore.or(ConfigStore configs, boolean apart) DefaultConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt, String text) DefaultConfigStore.or(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) DefaultConfigStore.order(String column, Order.TYPE type) DefaultConfigStore.order(String column, Order.TYPE type, boolean override) 添加排序DefaultConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt, String text) DefaultConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt, Config config) DefaultConfigStore.ors(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) DefaultConfigStore.override(Boolean override, Constraint constraint) DefaultConfigStore.page(long page, int rows) 设置分页DefaultConfigStore.param(Compare.EMPTY_VALUE_SWITCH swt, String prefix, String var, Object value, boolean overCondition, boolean overValue) 占位符赋值根据占位符下标赋值,注意不需要提供下标,按顺序提供值即可
在批量操作或用?DefaultConfigStore.params(Collection values) DefaultConfigStore.prepare(RunPrepare... prepares) 执行查询或更新前 有前置命令 如创建临时表等DefaultConfigStore.removeConfig(String var) DefaultConfigStore.removeConfig(String var, Compare compare) DefaultConfigStore.removeConfig(Config config) DefaultConfigStore.scope(long first, long last) 起止行 下标从0开始DefaultConfigStore.setGroups(GroupStore groups) DefaultConfigStore.setHighlight(Highlight highlight) DefaultConfigStore.setJoin(Condition.JOIN type) DefaultConfigStore.setOrders(OrderStore orders) DefaultConfigStore.setPageNavi(PageNavi navi) DefaultConfigStore.setPrimaryKey(Collection<String> pks) 设置主键DefaultConfigStore.setTotalLazy(long ms) 开启记录总数懒加载DefaultConfigStore.supportKeyHolder(boolean support) 参数类型为ConfigStore的org.anyline.data.param.init中的方法修饰符和类型方法说明DefaultConfigStore.and(ConfigStore configs, boolean apart) DefaultConfigStore.copyProperty(ConfigStore configs) DefaultConfigStore.having(ConfigStore configs) DefaultConfigStore.or(ConfigStore configs, boolean apart) -
org.anyline.data.prepare中ConfigStore的使用
参数类型为ConfigStore的org.anyline.data.prepare中的方法修饰符和类型方法说明RunPrepare.condition(ConfigStore configs) RunPrepare.having(ConfigStore having) default RunPrepareRunPrepare.join(RunPrepare prepare, Join.TYPE type, ConfigStore configs) default RunPrepareRunPrepare.setJoin(Join.TYPE type, ConfigStore configs) -
org.anyline.data.prepare.init中ConfigStore的使用
修饰符和类型字段说明protected ConfigStoreAbstractRunPrepare.conditionprotected ConfigStoreAbstractRunPrepare.having参数类型为ConfigStore的org.anyline.data.prepare.init中的方法修饰符和类型方法说明AbstractRunPrepare.condition(ConfigStore condition) AbstractRunPrepare.having(ConfigStore having) -
org.anyline.data.run中ConfigStore的使用
声明为ConfigStore的org.anyline.data.run中的字段参数类型为ConfigStore的org.anyline.data.run中的方法修饰符和类型方法说明voidAbstractRun.addConfigStore(ConfigStore configs) voidRun.addConfigStore(ConfigStore configs) voidTableRun.setConfigs(ConfigStore configs) voidTextRun.setConfigs(ConfigStore configs) voidXMLRun.setConfigs(ConfigStore configs) voidAbstractRun.setConfigStore(ConfigStore configs) voidRun.setConfigStore(ConfigStore configs) 参数类型为ConfigStore的org.anyline.data.run中的构造器 -
org.anyline.data.util中ConfigStore的使用
参数类型为ConfigStore的org.anyline.data.util中的方法修饰符和类型方法说明static TableDataSourceUtil.parseDest(String dest, Object obj, ConfigStore configs) static TableDataSourceUtil.parseDest(String src, ConfigStore configs) 解析数据源, 并返回修改后的SQL <mysql_ds>crm_userstatic voidCommandParser.parseText(DataRuntime runtime, Condition condition, String text, ConfigStore configs) static VariableBlockCommandParser.parseTextVarBox(DataRuntime runtime, ConfigStore configs, String text, String box) -
org.anyline.proxy中ConfigStore的使用
返回ConfigStore的org.anyline.proxy中的方法参数类型为ConfigStore的org.anyline.proxy中的方法修饰符和类型方法说明static ACTION.SWITCHInterceptorProxy.afterCount(DataRuntime runtime, String random, Run run, ConfigStore configs, boolean exe, long result, long millis) static ACTION.SWITCHInterceptorProxy.afterDelete(DataRuntime runtime, String random, Run run, ConfigStore configs, boolean success, long result, long millis) static ACTION.SWITCHInterceptorProxy.afterExecute(DataRuntime runtime, String random, List<Run> runs, ConfigStore configs, boolean success, long result, long millis) static ACTION.SWITCHInterceptorProxy.afterExecute(DataRuntime runtime, String random, Run run, ConfigStore configs, boolean success, long result, long millis) static ACTION.SWITCHInterceptorProxy.afterInsert(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns, boolean success, long result, long millis) static ACTION.SWITCHInterceptorProxy.afterInsert(DataRuntime runtime, String random, Run run, Table dest, RunPrepare prepare, ConfigStore configs, boolean success, long result, long millis) static ACTION.SWITCHInterceptorProxy.afterSelect(DataRuntime runtime, String random, Procedure procedure, ConfigStore configs, boolean success, Object result, long millis) static ACTION.SWITCHInterceptorProxy.afterUpdate(DataRuntime runtime, String random, Run run, RunPrepare prepare, DataRow data, ConfigStore configs, boolean success, long result, long millis) static ACTION.SWITCHInterceptorProxy.afterUpdate(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns, boolean success, long result, long millis) static ACTION.SWITCHInterceptorProxy.beforeCount(DataRuntime runtime, String random, Run run, ConfigStore configs) static ACTION.SWITCHInterceptorProxy.beforeDelete(DataRuntime runtime, String random, Run run, ConfigStore configs) static ACTION.SWITCHInterceptorProxy.beforeExecute(DataRuntime runtime, String random, List<Run> runs, ConfigStore configs) static ACTION.SWITCHInterceptorProxy.beforeExecute(DataRuntime runtime, String random, Run run, ConfigStore configs) static ACTION.SWITCHInterceptorProxy.beforeExecute(DataRuntime runtime, String random, Procedure procedure, ConfigStore configs) static ACTION.SWITCHInterceptorProxy.beforeInsert(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns) static ACTION.SWITCHInterceptorProxy.beforeInsert(DataRuntime runtime, String random, Run run, Table dest, RunPrepare prepare, ConfigStore configs) static ACTION.SWITCHInterceptorProxy.beforeUpdate(DataRuntime runtime, String random, Run run, RunPrepare prepare, DataRow data, ConfigStore configs) static ACTION.SWITCHInterceptorProxy.beforeUpdate(DataRuntime runtime, String random, Run run, Table dest, Object data, ConfigStore configs, List<String> columns) static DataRowServiceProxy.cache(String cache, String dest, ConfigStore configs, Object obj, String... conditions) static DataRowServiceProxy.cache(String cache, String dest, ConfigStore configs, String... conditions) static DataRowServiceProxy.cache(String dest, ConfigStore configs, Object obj, String... conditions) static DataRowServiceProxy.cache(String dest, ConfigStore configs, String... conditions) static DataRowServiceProxy.cache(String cache, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) static DataRowServiceProxy.cache(String cache, RunPrepare prepare, ConfigStore configs, String... conditions) static DataRowstatic DataRowServiceProxy.cache(String cache, Table dest, ConfigStore configs, String... conditions) static DataRowServiceProxy.cache(Table dest, ConfigStore configs, Object obj, String... conditions) static DataRowServiceProxy.cache(Table dest, ConfigStore configs, String... conditions) ServiceProxy.caches(String dest, long first, long last, ConfigStore configs, Object obj, String... conditions) ServiceProxy.caches(String dest, long first, long last, ConfigStore configs, String... conditions) ServiceProxy.caches(String cache, String dest, long first, long last, ConfigStore configs, Object obj, String... conditions) ServiceProxy.caches(String cache, String dest, ConfigStore configs, Object obj, String... conditions) 如果二级缓存开启 会从二级缓存中提取数据ServiceProxy.caches(String cache, String dest, ConfigStore configs, String... conditions) ServiceProxy.caches(String dest, ConfigStore configs, Object obj, String... conditions) ServiceProxy.caches(String dest, ConfigStore configs, String... conditions) ServiceProxy.caches(String cache, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) ServiceProxy.caches(String cache, RunPrepare prepare, ConfigStore configs, String... conditions) ServiceProxy.caches(String cache, Table dest, long first, long last, ConfigStore configs, Object obj, String... conditions) ServiceProxy.caches(String cache, Table dest, long first, long last, ConfigStore configs, String... conditions) ServiceProxy.caches(String cache, Table dest, ConfigStore configs, Object obj, String... conditions) ServiceProxy.caches(String cache, Table dest, ConfigStore configs, String... conditions) ServiceProxy.caches(Table dest, long first, long last, ConfigStore configs, Object obj, String... conditions) ServiceProxy.caches(Table dest, long first, long last, ConfigStore configs, String... conditions) ServiceProxy.caches(Table dest, ConfigStore configs, Object obj, String... conditions) ServiceProxy.caches(Table dest, ConfigStore configs, String... conditions) static longServiceProxy.count(String dest, ConfigStore configs, Object obj, String... conditions) static longServiceProxy.count(String dest, ConfigStore configs, String... conditions) static longServiceProxy.count(RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) static longServiceProxy.count(RunPrepare prepare, ConfigStore configs, String... conditions) static longServiceProxy.count(Table dest, ConfigStore configs, Object obj, String... conditions) static longServiceProxy.count(Table dest, ConfigStore configs, String... conditions) static longServiceProxy.delete(String table, ConfigStore configs, String... conditions) static longServiceProxy.delete(ConfigStore configs) static longServiceProxy.delete(ConfigStore configs, String... conditions) ServiceProxy.delete(DataSet<DataRow> set, ConfigStore configs) 根据ConfigStore条件删除DataSet中匹配的条目,不删除原DataSet,实际是把不需要删除的条目集合返回static longServiceProxy.delete(Table dest, ConfigStore configs, String... conditions) static longServiceProxy.execute(String dest, ConfigStore configs, String... conditions) 执行static booleanServiceProxy.exists(String dest, ConfigStore configs, Object obj, String... conditions) 是否存在static booleanServiceProxy.exists(String dest, ConfigStore configs, String... conditions) static booleanServiceProxy.exists(Table dest, ConfigStore configs, Object obj, String... conditions) static booleanServiceProxy.exists(Table dest, ConfigStore configs, String... conditions) static longServiceProxy.insert(int batch, Object data, ConfigStore configs, String... columns) static longServiceProxy.insert(int batch, String dest, Object data, ConfigStore configs, String... columns) static longstatic longServiceProxy.insert(int batch, Table dest, Object data, ConfigStore configs, String... columns) static longstatic longServiceProxy.insert(Object data, ConfigStore configs, String... columns) static longServiceProxy.insert(String dest, Object data, ConfigStore configs, String... columns) static longstatic longServiceProxy.insert(String dest, String origin, ConfigStore configs, Object obj, String... conditions) static longServiceProxy.insert(String dest, String origin, ConfigStore configs, String... conditions) static longServiceProxy.insert(String dest, RunPrepare prepare, long first, long last, ConfigStore configs, Object obj, String... conditions) static longServiceProxy.insert(String dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) static longServiceProxy.insert(String dest, RunPrepare prepare, ConfigStore configs, String... conditions) static longServiceProxy.insert(Table dest, Object data, ConfigStore configs, String... columns) static longstatic longServiceProxy.insert(Table dest, RunPrepare prepare, long first, long last, ConfigStore configs, Object obj, String... conditions) static longServiceProxy.insert(Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) insert into table select * from table 复杂的查询先通过TableBuilder构造查询static longServiceProxy.insert(Table dest, RunPrepare prepare, ConfigStore configs, String... conditions) static longServiceProxy.insert(Table dest, Table origin, ConfigStore configs, Object obj, String... conditions) insert into table select * from table 与query参数一致static longServiceProxy.insert(Table dest, Table origin, ConfigStore configs, String... conditions) static StringCacheProxy.key(DataRuntime runtime, String flag, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) ServiceProxy.maps(String dest, ConfigStore configs, Object obj, String... conditions) 直接返回Map集合不封装, 不分页ServiceProxy.maps(String dest, ConfigStore configs, String... conditions) ServiceProxy.maps(ConfigStore configs, Object obj, String... conditions) ServiceProxy.maps(ConfigStore configs, String... conditions) ServiceProxy.maps(RunPrepare prepare, DataHandler handler, ConfigStore configs, String... conditions) ServiceProxy.maps(Table dest, ConfigStore configs, Object obj, String... conditions) ServiceProxy.maps(Table dest, ConfigStore configs, String... conditions) static ACTION.SWITCHInterceptorProxy.prepareCount(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) static ACTION.SWITCHInterceptorProxy.prepareDelete(DataRuntime runtime, String random, int batch, Table dest, Object obj, ConfigStore configs, String... columns) static ACTION.SWITCHInterceptorProxy.prepareDelete(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String... conditions) static ACTION.SWITCHInterceptorProxy.prepareDelete(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String key, Collection values) static ACTION.SWITCHInterceptorProxy.prepareExecute(DataRuntime runtime, String random, List<RunPrepare> prepares, ConfigStore configs, String... conditions) static ACTION.SWITCHInterceptorProxy.prepareExecute(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) static ACTION.SWITCHInterceptorProxy.prepareExecute(DataRuntime runtime, String random, Procedure procedure, ConfigStore configs) static ACTION.SWITCHInterceptorProxy.prepareInsert(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) static ACTION.SWITCHInterceptorProxy.prepareInsert(DataRuntime runtime, String random, Table dest, RunPrepare prepare, ConfigStore configs) static ACTION.SWITCHInterceptorProxy.prepareSelect(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions) DMLstatic ACTION.SWITCHInterceptorProxy.prepareUpdate(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns) static ACTION.SWITCHInterceptorProxy.prepareUpdate(DataRuntime runtime, String random, RunPrepare prepare, DataRow data, ConfigStore configs) static <T> EntitySet<T>ServiceProxy.queries(Class<T> clazz, ConfigStore configs, String... conditions) static <T> EntitySet<T>ServiceProxy.queries(Class<T> clazz, ConfigStore configs, T entity, String... conditions) static <T> EntitySet<T>ServiceProxy.queries(String dest, Class<T> clazz, ConfigStore configs, String... conditions) static <T> EntitySet<T>ServiceProxy.queries(String dest, Class<T> clazz, ConfigStore configs, T entity, String... conditions) static <T> EntitySet<T>ServiceProxy.queries(Table dest, Class<T> clazz, ConfigStore configs, String... conditions) static <T> EntitySet<T>ServiceProxy.queries(Table dest, Class<T> clazz, ConfigStore configs, T entity, String... conditions) static <T> TServiceProxy.query(Class<T> clazz, ConfigStore configs, String... conditions) static <T> TServiceProxy.query(Class<T> clazz, ConfigStore configs, T entity, String... conditions) static <T> TServiceProxy.query(String dest, Class<T> clazz, ConfigStore configs, String... conditions) static <T> TServiceProxy.query(String dest, Class<T> clazz, ConfigStore configs, T entity, String... conditions) static <T> TServiceProxy.query(Table dest, Class<T> clazz, ConfigStore configs, String... conditions) static <T> TServiceProxy.query(Table dest, Class<T> clazz, ConfigStore configs, T entity, String... conditions) static booleanServiceProxy.removeCache(String channel, String dest, ConfigStore configs, String... conditions) 删除缓存 参数保持与查询参数完全一致static booleanServiceProxy.removeCache(String channel, Table dest, ConfigStore configs, String... conditions) static longServiceProxy.save(int batch, Object data, ConfigStore configs, String... columns) static longServiceProxy.save(int batch, String dest, Object data, ConfigStore configs, String... columns) static longstatic longServiceProxy.save(int batch, String dest, ConfigStore configs, Object data, String... columns) static longServiceProxy.save(int batch, Table dest, Object data, ConfigStore configs, String... columns) static longstatic longServiceProxy.save(Object data, ConfigStore configs, String... columns) static longServiceProxy.save(String dest, Object data, ConfigStore configs, String... columns) static longServiceProxy.save(String dest, ConfigStore configs, Object data, String... columns) static longServiceProxy.save(Table dest, Object data, ConfigStore configs, String... columns) static longstatic DataRowServiceProxy.select(String dest, ConfigStore configs, Object obj, String... conditions) static DataRowServiceProxy.select(String dest, ConfigStore configs, String... conditions) static DataRowServiceProxy.select(ConfigStore configs, Object obj, String... conditions) static DataRowServiceProxy.select(ConfigStore configs, String... conditions) static DataRowServiceProxy.select(RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) static DataRowServiceProxy.select(RunPrepare prepare, ConfigStore configs, String... conditions) static DataRowServiceProxy.select(Table dest, ConfigStore configs, Object obj, String... conditions) static DataRowServiceProxy.select(Table dest, ConfigStore configs, String... conditions) ServiceProxy.selects(String dest, ConfigStore configs, Object obj, String... conditions) 按条件查询ServiceProxy.selects(String dest, ConfigStore configs, String... conditions) ServiceProxy.selects(ConfigStore configs, Object obj, String... conditions) ServiceProxy.selects(ConfigStore configs, String... conditions) ServiceProxy.selects(RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) ServiceProxy.selects(RunPrepare prepare, ConfigStore configs, String... conditions) ServiceProxy.selects(DataSet<DataRow> set, ConfigStore configs) ServiceProxy.selects(Table dest, long first, long last, ConfigStore configs, Object obj, String... conditions) ServiceProxy.selects(Table dest, long first, long last, ConfigStore configs, String... conditions) ServiceProxy.selects(Table dest, ConfigStore configs, Object obj, String... conditions) ServiceProxy.selects(Table dest, ConfigStore configs, String... conditions) static longServiceProxy.update(int batch, Object data, ConfigStore configs, String... columns) static longServiceProxy.update(int batch, String dest, Object data, ConfigStore configs, String... columns) static long更新记录 默认情况下以主键为更新条件, 需在更新的数据保存在data中 如果提供了dest则更新dest表, 如果没有提供则根据data解析出表名 DataRow/DataSet可以临时设置主键 如设置TYPE_CODE为主键, 则根据TYPE_CODE更新 可以提供了ConfigStore以实现更复杂的更新条件 需要更新的列通过 columns提供static longServiceProxy.update(int batch, Table dest, Object data, ConfigStore configs, String... columns) static longstatic longServiceProxy.update(Object data, ConfigStore configs, String... columns) static longServiceProxy.update(String dest, Object data, ConfigStore configs, String... columns) static longServiceProxy.update(RunPrepare prepare, DataRow data, ConfigStore configs, String... conditions) 多表关联更新static longServiceProxy.update(Table dest, Object data, ConfigStore configs, String... columns) static longstatic longServiceProxy.upsert(int batch, Object data, ConfigStore configs, String... columns) static longServiceProxy.upsert(int batch, String dest, Object data, ConfigStore configs, String... columns) static longstatic longServiceProxy.upsert(int batch, Table dest, Object data, ConfigStore configs, String... columns) static longstatic longServiceProxy.upsert(Object data, ConfigStore configs, String... columns) static longServiceProxy.upsert(String dest, Object data, ConfigStore configs, String... columns) static longstatic longServiceProxy.upsert(String dest, String origin, ConfigStore configs, Object obj, String... conditions) static longServiceProxy.upsert(String dest, String origin, ConfigStore configs, String... conditions) static longServiceProxy.upsert(String dest, RunPrepare prepare, long first, long last, ConfigStore configs, Object obj, String... conditions) static longServiceProxy.upsert(String dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) static longServiceProxy.upsert(String dest, RunPrepare prepare, ConfigStore configs, String... conditions) static longServiceProxy.upsert(Table dest, Object data, ConfigStore configs, String... columns) static longstatic longServiceProxy.upsert(Table dest, RunPrepare prepare, long first, long last, ConfigStore configs, Object obj, String... conditions) static longServiceProxy.upsert(Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) upsert into table select * from table 复杂的查询先通过TableBuilder构造查询static longServiceProxy.upsert(Table dest, RunPrepare prepare, ConfigStore configs, String... conditions) static longServiceProxy.upsert(Table dest, Table origin, ConfigStore configs, Object obj, String... conditions) upsert into table select * from table 与query参数一致static longServiceProxy.upsert(Table dest, Table origin, ConfigStore configs, String... conditions) -
org.anyline.service中ConfigStore的使用
参数类型为ConfigStore的org.anyline.service中的方法修饰符和类型方法说明AnylineService.cache(String cache, String dest, ConfigStore configs, Object obj, String... conditions) default DataRowAnylineService.cache(String cache, String dest, ConfigStore configs, String... conditions) default DataRowAnylineService.cache(String dest, ConfigStore configs, Object obj, String... conditions) default DataRowAnylineService.cache(String dest, ConfigStore configs, String... conditions) default DataRowAnylineService.cache(String cache, RunPrepare prepare, long first, long last, ConfigStore configs, String... conditions) AnylineService.cache(String cache, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) default DataRowAnylineService.cache(String cache, RunPrepare prepare, ConfigStore configs, String... conditions) AnylineService.cache(String cache, Table dest, ConfigStore configs, Object obj, String... conditions) default DataRowAnylineService.cache(String cache, Table dest, ConfigStore configs, String... conditions) default DataRowAnylineService.cache(Table dest, ConfigStore configs, Object obj, String... conditions) default DataRowAnylineService.cache(Table dest, ConfigStore configs, String... conditions) AnylineService.caches(String dest, long first, long last, ConfigStore configs, Object obj, String... conditions) AnylineService.caches(String dest, long first, long last, ConfigStore configs, String... conditions) AnylineService.caches(String cache, String dest, long first, long last, ConfigStore configs, Object obj, String... conditions) AnylineService.caches(String cache, String dest, long first, long last, ConfigStore configs, String... conditions) AnylineService.caches(String cache, String dest, ConfigStore configs, Object obj, String... conditions) 如果二级缓存开启 会从二级缓存中提取数据AnylineService.caches(String cache, String dest, ConfigStore configs, String... conditions) AnylineService.caches(String dest, ConfigStore configs, Object obj, String... conditions) AnylineService.caches(String dest, ConfigStore configs, String... conditions) AnylineService.caches(String cache, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) AnylineService.caches(String cache, RunPrepare prepare, ConfigStore configs, String... conditions) AnylineService.caches(String cache, Table dest, long first, long last, ConfigStore configs, Object obj, String... conditions) AnylineService.caches(String cache, Table dest, long first, long last, ConfigStore configs, String... conditions) AnylineService.caches(String cache, Table dest, ConfigStore configs, Object obj, String... conditions) AnylineService.caches(String cache, Table dest, ConfigStore configs, String... conditions) AnylineService.caches(Table dest, long first, long last, ConfigStore configs, Object obj, String... conditions) AnylineService.caches(Table dest, long first, long last, ConfigStore configs, String... conditions) AnylineService.caches(Table dest, ConfigStore configs, Object obj, String... conditions) AnylineService.caches(Table dest, ConfigStore configs, String... conditions) default <T extends Column>
LinkedHashMap<String,T> AnylineService.MetaDataService.columns(boolean greedy, String table, ConfigStore configs) AnylineService.MetaDataService.columns(boolean greedy, ConfigStore configs) default <T extends Column>
LinkedHashMap<String,T> AnylineService.MetaDataService.columns(boolean greedy, Catalog catalog, Schema schema, String table, ConfigStore configs) AnylineService.MetaDataService.columns(boolean greedy, Catalog catalog, Schema schema, ConfigStore configs) 查询列<T extends Column>
LinkedHashMap<String,T> AnylineService.MetaDataService.columns(boolean greedy, Table table, ConfigStore configs) 查询表中所有的表,注意这里的map.KEY全部转大写default <T extends Column>
LinkedHashMap<String,T> AnylineService.MetaDataService.columns(String table, ConfigStore configs) AnylineService.MetaDataService.columns(ConfigStore configs) default <T extends Column>
LinkedHashMap<String,T> AnylineService.MetaDataService.columns(Catalog catalog, Schema schema, String table, ConfigStore configs) AnylineService.MetaDataService.columns(Catalog catalog, Schema schema, ConfigStore configs) default <T extends Column>
LinkedHashMap<String,T> AnylineService.MetaDataService.columns(Table table, ConfigStore configs) longAnylineService.count(String dest, ConfigStore configs, Object obj, String... conditions) countdefault longAnylineService.count(String dest, ConfigStore configs, String... conditions) longAnylineService.count(RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) default longAnylineService.count(RunPrepare prepare, ConfigStore configs, String... conditions) longAnylineService.count(Table dest, ConfigStore configs, Object obj, String... conditions) default longAnylineService.count(Table dest, ConfigStore configs, String... conditions) longAnylineService.delete(String dest, ConfigStore configs, String... conditions) 根据ConfigStore中的条件+conditions条件删除default longAnylineService.delete(ConfigStore configs) default longAnylineService.delete(ConfigStore configs, String... conditions) AnylineService.delete(DataSet<DataRow> set, ConfigStore configs) 根据ConfigStore条件删除DataSet中匹配的条目,不删除原DataSet,实际是把不需要删除的条目集合返回longAnylineService.delete(Table dest, ConfigStore configs, String... conditions) AnylineService.MetaDataService.edges(boolean greedy, int types, ConfigStore configs) AnylineService.MetaDataService.edges(boolean greedy, ConfigStore configs) AnylineService.MetaDataService.edges(boolean greedy, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) AnylineService.MetaDataService.edges(boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) edgesAnylineService.MetaDataService.edges(boolean greedy, Catalog catalog, Schema schema, String name, int types, ConfigStore configs) AnylineService.MetaDataService.edges(boolean greedy, EdgeTable<T> query, int types, int struct, ConfigStore configs) edgesdefault <T extends EdgeTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.edges(int types, boolean struct, ConfigStore configs) default <T extends EdgeTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.edges(int types, int struct, ConfigStore configs) default <T extends EdgeTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.edges(int types, ConfigStore configs) default <T extends EdgeTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.edges(ConfigStore configs) default <T extends EdgeTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.edges(Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends EdgeTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.edges(Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) <T extends EdgeTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.edges(EdgeTable<T> query, int types, int struct, ConfigStore configs) longAnylineService.execute(String dest, ConfigStore configs, String... conditions) 执行longAnylineService.execute(List<RunPrepare> prepares, ConfigStore configs) RunPrepare批量执行 主要是为了保持在同一连接内执行
通常是用prepare来合成比较复杂的的SQL如CREATE VIEW AS prepare.sqldefault longAnylineService.execute(ConfigStore configs, RunPrepare... prepares) booleanAnylineService.exists(String dest, ConfigStore configs, Object obj, String... conditions) 是否存在default booleanAnylineService.exists(String dest, ConfigStore configs, String... conditions) booleanAnylineService.exists(Table dest, ConfigStore configs, Object obj, String... conditions) default booleanAnylineService.exists(Table dest, ConfigStore configs, String... conditions) AnylineService.get(ConfigStore configs, String... conditions) AnylineService.gets(ConfigStore configs, String... conditions) default longAnylineService.insert(int batch, Object data, ConfigStore configs, String... columns) default longAnylineService.insert(int batch, String dest, Object data, ConfigStore configs, String... columns) longAnylineService.insert(int batch, String dest, Object data, ConfigStore configs, List<String> columns) 插入数据default longAnylineService.insert(int batch, Table dest, Object data, ConfigStore configs, String... columns) longAnylineService.insert(int batch, Table dest, Object data, ConfigStore configs, List<String> columns) default longAnylineService.insert(Object data, ConfigStore configs, String... columns) default longAnylineService.insert(String dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineService.insert(String dest, String origin, ConfigStore configs, Object obj, String... conditions) default longAnylineService.insert(String dest, String origin, ConfigStore configs, String... conditions) default longAnylineService.insert(String dest, RunPrepare prepare, long first, long last, ConfigStore configs, Object obj, String... conditions) default longAnylineService.insert(String dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) default longAnylineService.insert(String dest, RunPrepare prepare, ConfigStore configs, String... conditions) default longAnylineService.insert(Table dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineService.insert(Table dest, RunPrepare prepare, long first, long last, ConfigStore configs, Object obj, String... conditions) longAnylineService.insert(Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) insert into table select * from table 复杂的查询先通过TableBuilder构造查询default longAnylineService.insert(Table dest, RunPrepare prepare, ConfigStore configs, String... conditions) longAnylineService.insert(Table dest, Table origin, ConfigStore configs, Object obj, String... conditions) insert into table select * from table 与query参数一致default longAnylineService.insert(Table dest, Table origin, ConfigStore configs, String... conditions) AnylineService.maps(String dest, ConfigStore configs, Object obj, String... conditions) 直接返回Map集合不封装, 不分页AnylineService.maps(String dest, ConfigStore configs, String... conditions) AnylineService.maps(ConfigStore configs, Object obj, String... conditions) AnylineService.maps(ConfigStore configs, String... conditions) AnylineService.maps(RunPrepare prepare, long first, long last, ConfigStore configs, Object obj, String... conditions) AnylineService.maps(RunPrepare prepare, DataHandler handler, ConfigStore configs, String... conditions) AnylineService.maps(RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) AnylineService.maps(RunPrepare prepare, ConfigStore configs, String... conditions) AnylineService.maps(Table dest, ConfigStore configs, Object obj, String... conditions) AnylineService.maps(Table dest, ConfigStore configs, String... conditions) default <T extends MasterTable<T>>
List<T>AnylineService.MetaDataService.masters(boolean greedy, int types, ConfigStore configs) default <T extends MasterTable<T>>
List<T>AnylineService.MetaDataService.masters(boolean greedy, ConfigStore configs) default <T extends MasterTable<T>>
List<T>AnylineService.MetaDataService.masters(boolean greedy, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends MasterTable<T>>
List<T>AnylineService.MetaDataService.masters(boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) mastersdefault <T extends MasterTable<T>>
List<T>AnylineService.MetaDataService.masters(boolean greedy, Catalog catalog, Schema schema, String name, int types, ConfigStore configs) <T extends MasterTable<T>>
List<T>AnylineService.MetaDataService.masters(boolean greedy, MasterTable<T> query, int types, int struct, ConfigStore configs) mastersdefault <T extends MasterTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.masters(int types, boolean struct, ConfigStore configs) default <T extends MasterTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.masters(int types, int struct, ConfigStore configs) default <T extends MasterTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.masters(int types, ConfigStore configs) default <T extends MasterTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.masters(ConfigStore configs) default <T extends MasterTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.masters(Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends MasterTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.masters(Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) <T extends MasterTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.masters(MasterTable<T> query, int types, int struct, ConfigStore configs) <T extends Metadata>
TAnylineService.DDLService.parse(Class<T> type, String ddl, ConfigStore configs) 解析DDL生成元数据对象default <T> EntitySet<T>AnylineService.queries(Class<T> clazz, ConfigStore configs, String... conditions) <T> EntitySet<T>AnylineService.queries(Class<T> clazz, ConfigStore configs, T entity, String... conditions) default <T> EntitySet<T>AnylineService.queries(String dest, Class<T> clazz, ConfigStore configs, String... conditions) <T> EntitySet<T>AnylineService.queries(String dest, Class<T> clazz, ConfigStore configs, T entity, String... conditions) 根据SQL或自定义SQL返回实体default <T> EntitySet<T>AnylineService.queries(Table dest, Class<T> clazz, ConfigStore configs, String... conditions) <T> EntitySet<T>AnylineService.queries(Table dest, Class<T> clazz, ConfigStore configs, T entity, String... conditions) default <T> TAnylineService.query(Class<T> clazz, ConfigStore configs, String... conditions) <T> TAnylineService.query(Class<T> clazz, ConfigStore configs, T entity, String... conditions) default <T> TAnylineService.query(String dest, Class<T> clazz, ConfigStore configs, String... conditions) <T> TAnylineService.query(String dest, Class<T> clazz, ConfigStore configs, T entity, String... conditions) default <T> TAnylineService.query(Table dest, Class<T> clazz, ConfigStore configs, String... conditions) <T> TAnylineService.query(Table dest, Class<T> clazz, ConfigStore configs, T entity, String... conditions) booleanAnylineService.removeCache(String channel, String dest, ConfigStore configs, String... conditions) 删除缓存 参数保持与查询参数完全一致booleanAnylineService.removeCache(String channel, Table dest, ConfigStore configs, String... conditions) default longAnylineService.save(int batch, Object data, ConfigStore configs, String... columns) default longAnylineService.save(int batch, String dest, Object data, ConfigStore configs, String... columns) longsave insert区别 操作单个对象时没有区别 在操作集合时区别: save会循环操作数据库每次都会判断insert|update save 集合中的数据可以是不同的表不同的结构 insert 集合中的数据必须保存到相同的表, 结构必须相同 insert 将一次性插入多条数据整个过程有可能只操作一次数据库 并 不考虑update情况 对于大批量数据来说 性能是主要优势 保存(insert|update)根据是否有主键值确定insert或updatedefault longAnylineService.save(int batch, Table dest, Object data, ConfigStore configs, String... columns) longdefault longAnylineService.save(Object data, ConfigStore configs, String... columns) default longAnylineService.save(Object data, ConfigStore configs, List<String> columns) default longAnylineService.save(String dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineService.save(Table dest, Object data, ConfigStore configs, String... columns) default longAnylineService.select(String dest, ConfigStore configs, Object obj, String... conditions) default DataRowAnylineService.select(String dest, ConfigStore configs, String... conditions) default DataRowAnylineService.select(ConfigStore configs, Object obj, String... conditions) default DataRowAnylineService.select(ConfigStore configs, String... conditions) AnylineService.select(RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) default DataRowAnylineService.select(RunPrepare prepare, ConfigStore configs, String... conditions) AnylineService.select(Table dest, ConfigStore configs, Object obj, String... conditions) default DataRowAnylineService.select(Table dest, ConfigStore configs, String... conditions) AnylineService.selects(String dest, long first, long last, ConfigStore configs, Object obj, String... conditions) AnylineService.selects(String dest, long first, long last, ConfigStore configs, String... conditions) AnylineService.selects(String dest, ConfigStore configs, Object obj, String... conditions) 按条件查询AnylineService.selects(String dest, ConfigStore configs, String... conditions) AnylineService.selects(ConfigStore configs, Object obj, String... conditions) 有些数据库 不根据表查询 不需要提供表AnylineService.selects(ConfigStore configs, String... conditions) AnylineService.selects(RunPrepare prepare, long first, long last, ConfigStore configs, Object obj, String... conditions) AnylineService.selects(RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) AnylineService.selects(RunPrepare prepare, ConfigStore configs, String... conditions) AnylineService.selects(DataSet<DataRow> set, ConfigStore configs) 根据ConfigStore查询条件 过滤DataSet条目AnylineService.selects(Table dest, long first, long last, ConfigStore configs, Object obj, String... conditions) AnylineService.selects(Table dest, long first, long last, ConfigStore configs, String... conditions) AnylineService.selects(Table dest, ConfigStore configs, Object obj, String... conditions) AnylineService.selects(Table dest, ConfigStore configs, String... conditions) AnylineService.MetaDataService.tables(boolean greedy, int types, ConfigStore configs) AnylineService.MetaDataService.tables(boolean greedy, ConfigStore configs) AnylineService.MetaDataService.tables(boolean greedy, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) AnylineService.MetaDataService.tables(boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) tablesAnylineService.MetaDataService.tables(boolean greedy, Catalog catalog, Schema schema, String name, int types, ConfigStore configs) AnylineService.MetaDataService.tables(boolean greedy, Table<T> query, int types, int struct, ConfigStore configs) tablesdefault <T extends Table<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.tables(int types, boolean struct, ConfigStore configs) default <T extends Table<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.tables(int types, int struct, ConfigStore configs) default <T extends Table<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.tables(int types, ConfigStore configs) default <T extends Table<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.tables(ConfigStore configs) default <T extends Table<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.tables(Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends Table<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.tables(Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) <T extends Table<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.tables(Table<T> query, int types, int struct, ConfigStore configs) default <T extends Table<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.tables(Table<T> query, ConfigStore configs) default longAnylineService.update(int batch, Object data, ConfigStore configs, String... columns) default longAnylineService.update(int batch, String dest, Object data, ConfigStore configs, String... columns) longAnylineService.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 longAnylineService.update(int batch, Table dest, Object data, ConfigStore configs, String... columns) longAnylineService.update(int batch, Table dest, Object data, ConfigStore configs, List<String> columns) default longAnylineService.update(Object data, ConfigStore configs, String... columns) default longAnylineService.update(String dest, Object data, ConfigStore configs, String... columns) default longlongAnylineService.update(RunPrepare prepare, DataRow data, ConfigStore configs, String... conditions) 多表关联更新default longAnylineService.update(Table dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineService.upsert(int batch, Object data, ConfigStore configs, String... columns) default longAnylineService.upsert(int batch, String dest, Object data, ConfigStore configs, String... columns) default longAnylineService.upsert(int batch, String dest, Object data, ConfigStore configs, List<String> columns) 与insert保持完全一致default longAnylineService.upsert(int batch, Table dest, Object data, ConfigStore configs, String... columns) default longAnylineService.upsert(int batch, Table dest, Object data, ConfigStore configs, List<String> columns) default longAnylineService.upsert(Object data, ConfigStore configs, String... columns) default longAnylineService.upsert(String dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineService.upsert(String dest, String origin, ConfigStore configs, Object obj, String... conditions) default longAnylineService.upsert(String dest, String origin, ConfigStore configs, String... conditions) default longAnylineService.upsert(String dest, RunPrepare prepare, long first, long last, ConfigStore configs, Object obj, String... conditions) default longAnylineService.upsert(String dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) default longAnylineService.upsert(String dest, RunPrepare prepare, ConfigStore configs, String... conditions) default longAnylineService.upsert(Table dest, Object data, ConfigStore configs, String... columns) default longdefault longAnylineService.upsert(Table dest, RunPrepare prepare, long first, long last, ConfigStore configs, Object obj, String... conditions) default longAnylineService.upsert(Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) 保持与insert完全一致 复杂的查询先通过TableBuilder构造查询default longAnylineService.upsert(Table dest, RunPrepare prepare, ConfigStore configs, String... conditions) default longAnylineService.upsert(Table dest, Table origin, ConfigStore configs, Object obj, String... conditions) 与insert保持完全一致default longAnylineService.upsert(Table dest, Table origin, ConfigStore configs, String... conditions) default <T extends VertexTable<T>>
List<T>AnylineService.MetaDataService.vertexes(boolean greedy, int types, ConfigStore configs) default <T extends VertexTable<T>>
List<T>AnylineService.MetaDataService.vertexes(boolean greedy, ConfigStore configs) default <T extends VertexTable<T>>
List<T>AnylineService.MetaDataService.vertexes(boolean greedy, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends VertexTable<T>>
List<T>AnylineService.MetaDataService.vertexes(boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) vertexesdefault <T extends VertexTable<T>>
List<T>AnylineService.MetaDataService.vertexes(boolean greedy, Catalog catalog, Schema schema, String name, int types, ConfigStore configs) <T extends VertexTable<T>>
List<T>AnylineService.MetaDataService.vertexes(boolean greedy, VertexTable<T> query, int types, int struct, ConfigStore configs) vertexesdefault <T extends VertexTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.vertexes(int types, boolean struct, ConfigStore configs) default <T extends VertexTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.vertexes(int types, int struct, ConfigStore configs) default <T extends VertexTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.vertexes(int types, ConfigStore configs) default <T extends VertexTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.vertexes(ConfigStore configs) default <T extends VertexTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.vertexes(Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends VertexTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.vertexes(Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) <T extends VertexTable<T>>
LinkedHashMap<String,T> AnylineService.MetaDataService.vertexes(VertexTable<T> query, int types, int struct, ConfigStore configs) AnylineService.MetaDataService.views(boolean greedy, int types, ConfigStore configs) AnylineService.MetaDataService.views(boolean greedy, ConfigStore configs) AnylineService.MetaDataService.views(boolean greedy, Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) AnylineService.MetaDataService.views(boolean greedy, Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) viewsAnylineService.MetaDataService.views(boolean greedy, Catalog catalog, Schema schema, String name, int types, ConfigStore configs) AnylineService.MetaDataService.views(boolean greedy, View query, int types, int struct, ConfigStore configs) viewsdefault <T extends View>
LinkedHashMap<String,T> AnylineService.MetaDataService.views(int types, boolean struct, ConfigStore configs) default <T extends View>
LinkedHashMap<String,T> AnylineService.MetaDataService.views(int types, int struct, ConfigStore configs) default <T extends View>
LinkedHashMap<String,T> AnylineService.MetaDataService.views(int types, ConfigStore configs) default <T extends View>
LinkedHashMap<String,T> AnylineService.MetaDataService.views(ConfigStore configs) default <T extends View>
LinkedHashMap<String,T> AnylineService.MetaDataService.views(Catalog catalog, Schema schema, String name, int types, boolean struct, ConfigStore configs) default <T extends View>
LinkedHashMap<String,T> AnylineService.MetaDataService.views(Catalog catalog, Schema schema, String name, int types, int struct, ConfigStore configs) <T extends View>
LinkedHashMap<String,T> AnylineService.MetaDataService.views(View query, int types, int struct, ConfigStore configs) -
org.anyline.service.init中ConfigStore的使用
参数类型为ConfigStore的org.anyline.service.init中的方法修饰符和类型方法说明DefaultService.cache(String cache, String dest, ConfigStore configs, Object obj, String... conditions) DefaultService.cache(String cache, RunPrepare table, ConfigStore configs, Object obj, String... conditions) DefaultService.cache(String cache, Table dest, ConfigStore configs, Object obj, String... conditions) DefaultService.caches(String cache, String dest, ConfigStore configs, Object obj, String... conditions) DefaultService.caches(String cache, RunPrepare table, ConfigStore configs, Object obj, String... conditions) DefaultService.caches(String cache, Table dest, ConfigStore configs, Object obj, String... conditions) protected booleanDefaultService.checkCondition(Object data, ConfigStore configs, String... conditions) update/delete 前检测是否有过滤条件protected booleanDefaultService.checkCondition(ConfigStore configs, String... conditions) longDefaultService.count(String dest, ConfigStore configs, Object obj, String... conditions) countlongDefaultService.count(RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) longDefaultService.count(Table dest, ConfigStore configs, Object obj, String... conditions) longDefaultService.delete(String table, ConfigStore configs, String... conditions) longDefaultService.delete(Table table, ConfigStore configs, String... conditions) longDefaultService.execute(String src, ConfigStore configs, String... conditions) longDefaultService.execute(List<RunPrepare> prepares, ConfigStore configs) RunPrepare批量执行 主要是为了保持在同一连接内执行
通常是用prepare来合成比较复杂的的SQL如CREATE VIEW AS prepare.sqlbooleanDefaultService.exists(String dest, ConfigStore configs, Object obj, String... conditions) 是否存在booleanDefaultService.exists(Table dest, ConfigStore configs, Object obj, String... conditions) DefaultService.get(ConfigStore configs, String... conditions) DefaultService.gets(ConfigStore configs, String... conditions) longDefaultService.insert(int batch, String dest, Object data, ConfigStore configs, List<String> columns) 插入数据longDefaultService.insert(int batch, Table dest, Object data, ConfigStore configs, List<String> columns) longDefaultService.insert(Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) longDefaultService.insert(Table dest, Table origin, ConfigStore configs, Object obj, String... conditions) DefaultService.maps(String dest, ConfigStore configs, Object obj, String... conditions) DefaultService.maps(RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) 按条件查询DefaultService.maps(Table dest, ConfigStore configs, Object obj, String... conditions) <T> EntitySet<T>DefaultService.queries(Class<T> clazz, ConfigStore configs, T entity, String... conditions) <T> EntitySet<T>DefaultService.queries(String dest, Class<T> clazz, ConfigStore configs, T entity, String... conditions) <T> EntitySet<T>DefaultService.queries(Table dest, Class<T> clazz, ConfigStore configs, T entity, String... conditions) <T> TDefaultService.query(Class<T> clazz, ConfigStore configs, T entity, String... conditions) <T> TDefaultService.query(String dest, Class<T> clazz, ConfigStore configs, T entity, String... conditions) <T> TDefaultService.query(Table dest, Class<T> clazz, ConfigStore configs, T entity, String... conditions) DefaultService.queryFromCache(String cache, String dest, ConfigStore configs, String... conditions) DefaultService.queryFromCache(String cache, RunPrepare prepare, ConfigStore configs, String... conditions) DefaultService.queryFromCache(String cache, Table dest, ConfigStore configs, String... conditions) protected <T> EntitySet<T>DefaultService.queryFromDao(String dest, Class<T> clazz, ConfigStore configs, String... conditions) DefaultService.queryFromDao(String dest, ConfigStore configs, String... conditions) DefaultService.queryFromDao(RunPrepare prepare, ConfigStore configs, String... conditions) protected <T> EntitySet<T>DefaultService.queryFromDao(Table dest, Class<T> clazz, ConfigStore configs, String... conditions) DefaultService.queryFromDao(Table dest, ConfigStore configs, String... conditions) booleanDefaultService.removeCache(String channel, String dest, ConfigStore configs, String... conditions) 删除缓存 参数保持与查询参数完全一致booleanDefaultService.removeCache(String channel, Table dest, ConfigStore configs, String... conditions) longsave insert区别 操作单个对象时没有区别 在操作集合时区别: save会循环操作数据库每次都会判断insert|update save 集合中的数据可以是不同的表不同的结构 insert 集合中的数据必须保存到相同的表, 结构必须相同 insert 将一次性插入多条数据整个过程有可能只操作一次数据库 并 不考虑update情况 对于大批量数据来说 性能是主要优势 保存(insert|update)根据是否有主键值确定insert或updatelongprotected longDefaultService.saveObject(String dest, Object data, ConfigStore configs, String... columns) protected longDefaultService.saveObject(String dest, Object data, ConfigStore configs, List<String> columns) protected longDefaultService.saveObject(Table dest, Object data, ConfigStore configs, String... columns) protected longDefaultService.saveObject(Table dest, Object data, ConfigStore configs, List<String> columns) DefaultService.select(String dest, ConfigStore store, Object obj, String... conditions) DefaultService.select(RunPrepare prepare, ConfigStore store, Object obj, String... conditions) DefaultService.select(Table dest, ConfigStore store, Object obj, String... conditions) protected <T> EntitySet<T>DefaultService.selectFromDao(Class<T> clazz, ConfigStore configs, String... conditions) DefaultService.selects(String dest, ConfigStore configs, Object obj, String... conditions) 按条件查询DefaultService.selects(RunPrepare prepare, ConfigStore configs, Object obj, String... conditions) 按条件查询DefaultService.selects(Table dest, ConfigStore configs, Object obj, String... conditions) protected PageNaviDefaultService.setPageLazy(String src, ConfigStore configs, String... conditions) protected PageNaviDefaultService.setPageLazy(Table src, ConfigStore configs, String... conditions) longDefaultService.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提供longDefaultService.update(int batch, Table dest, Object data, ConfigStore configs, List<String> columns) longDefaultService.update(RunPrepare prepare, DataRow data, ConfigStore configs, String... conditions)