| 程序包 | 说明 |
|---|---|
| org.anyline.dao.init.springjdbc | |
| org.anyline.data.jdbc.adapter | |
| org.anyline.data.listener | |
| org.anyline.data.run |
| 限定符和类型 | 方法和说明 |
|---|---|
protected int |
DefaultDao.exeDelete(Run run) |
| 限定符和类型 | 方法和说明 |
|---|---|
Run |
JDBCAdapter.buildDeleteRun(String dest,
Object obj,
String... columns)
创建删除SQL
|
Run |
DefaultJDBCAdapter.buildDeleteRun(String dest,
Object obj,
String... columns) |
Run |
JDBCAdapter.buildDeleteRun(String table,
String key,
Object values)
根据key values删除
|
Run |
DefaultJDBCAdapter.buildDeleteRun(String table,
String key,
Object values) |
Run |
JDBCAdapter.buildDeleteRunContent(Run run)
构造删除主体
|
Run |
DefaultJDBCAdapter.buildDeleteRunContent(Run run)
构造删除主体
|
protected Run |
SQLAdapter.buildDeleteRunContent(TableRun run) |
protected Run |
DefaultJDBCAdapter.buildDeleteRunContent(TableRun run) |
Run |
JDBCAdapter.buildExecuteRun(RunPrepare prepare,
ConfigStore configs,
String... conditions)
创建执行SQL
|
Run |
DefaultJDBCAdapter.buildExecuteRun(RunPrepare prepare,
ConfigStore configs,
String... conditions) |
Run |
SQLAdapter.buildInsertRun(String dest,
Object obj,
boolean checkPrimary,
List<String> columns)
创建INSERT RunPrepare
|
Run |
JDBCAdapter.buildInsertRun(String dest,
Object obj,
boolean checkPrimary,
List<String> columns)
创建insert RunPrepare
|
Run |
DefaultJDBCAdapter.buildInsertRun(String dest,
Object obj,
boolean checkPrimary,
List<String> columns)
创建INSERT RunPrepare
|
Run |
JDBCAdapter.buildQueryRun(RunPrepare prepare,
ConfigStore configs,
String... conditions)
创建查询SQL
|
Run |
DefaultJDBCAdapter.buildQueryRun(RunPrepare prepare,
ConfigStore configs,
String... conditions)
创建查询SQL
|
Run |
JDBCAdapter.buildUpdateRun(String dest,
Object obj,
ConfigStore configs,
boolean checkPrimary,
List<String> columns)
创建更新SQL
|
Run |
DefaultJDBCAdapter.buildUpdateRun(String dest,
Object obj,
ConfigStore configs,
boolean checkPrimary,
List<String> columns) |
protected Run |
SQLAdapter.buildUpdateRunFromDataRow(String dest,
DataRow row,
ConfigStore configs,
boolean checkPrimary,
List<String> columns) |
protected Run |
DefaultJDBCAdapter.buildUpdateRunFromDataRow(String dest,
DataRow row,
ConfigStore configs,
boolean checkPrimary,
List<String> columns) |
protected Run |
SQLAdapter.buildUpdateRunFromObject(String dest,
Object obj,
ConfigStore configs,
boolean checkPrimary,
List<String> columns) |
protected Run |
DefaultJDBCAdapter.buildUpdateRunFromObject(String dest,
Object obj,
ConfigStore configs,
boolean checkPrimary,
List<String> columns) |
protected Run |
SQLAdapter.createDeleteRunSQLFromEntity(String dest,
Object obj,
String... columns) |
protected Run |
DefaultJDBCAdapter.createDeleteRunSQLFromEntity(String dest,
Object obj,
String... columns) |
protected Run |
SQLAdapter.createDeleteRunSQLFromTable(String table,
String key,
Object values) |
protected Run |
DefaultJDBCAdapter.createDeleteRunSQLFromTable(String table,
String key,
Object values) |
protected Run |
SQLAdapter.createInsertRunFromCollection(String dest,
Collection list,
boolean checkPrimary,
List<String> columns)
根据collection创建 INSERT RunPrepare
|
protected Run |
DefaultJDBCAdapter.createInsertRunFromCollection(String dest,
Collection list,
boolean checkPrimary,
List<String> columns)
根据collection创建 INSERT RunPrepare
|
protected Run |
SQLAdapter.createInsertRunFromEntity(String dest,
Object obj,
boolean checkPrimary,
List<String> columns)
根据entity创建 INSERT RunPrepare
|
protected Run |
DefaultJDBCAdapter.createInsertRunFromEntity(String dest,
Object obj,
boolean checkPrimary,
List<String> columns)
根据entity创建 INSERT RunPrepare
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
SQLAdapter.addRunValue(Run run,
String key,
Object value) |
Run |
JDBCAdapter.buildDeleteRunContent(Run run)
构造删除主体
|
Run |
DefaultJDBCAdapter.buildDeleteRunContent(Run run)
构造删除主体
|
void |
JDBCAdapter.buildExecuteRunContent(Run run)
构造执行主体
|
void |
DefaultJDBCAdapter.buildExecuteRunContent(Run run)
构造查询主体
|
void |
JDBCAdapter.buildQueryRunContent(Run run)
构造查询主体
|
void |
DefaultJDBCAdapter.buildQueryRunContent(Run run)
构造查询主体
|
void |
SQLAdapter.createInserts(Run run,
String dest,
Collection list,
List<String> keys)
根据Collection创建批量INSERT RunPrepare
|
void |
JDBCAdapter.createInserts(Run run,
String dest,
Collection list,
List<String> keys)
根据Collection创建批量插入SQL
|
void |
DefaultJDBCAdapter.createInserts(Run run,
String dest,
Collection list,
List<String> keys)
根据Collection创建批量INSERT RunPrepare
|
void |
SQLAdapter.createInserts(Run run,
String dest,
DataSet set,
List<String> keys)
根据DataSet创建批量INSERT RunPrepare
|
void |
JDBCAdapter.createInserts(Run run,
String dest,
DataSet set,
List<String> keys)
根据DataSet创建批量插入SQL
|
void |
DefaultJDBCAdapter.createInserts(Run run,
String dest,
DataSet set,
List<String> keys)
根据DataSet创建批量INSERT RunPrepare
|
protected void |
SQLAdapter.insertValue(Run run,
Object obj,
boolean placeholder,
boolean alias,
boolean scope,
List<String> keys)
生成insert sql的value部分,每个Entity(每行数据)调用一次
(1,2,3)
(?
|
String |
SQLAdapter.parseExists(Run run) |
String |
JDBCAdapter.parseExists(Run run)
创建检测是否存在SQL
|
String |
DefaultJDBCAdapter.parseExists(Run run) |
String |
JDBCAdapter.parseFinalQuery(Run run)
创建最终执行查询SQL
|
String |
SQLAdapter.parseTotalQuery(Run run)
求总数SQL
Run 反转调用
|
String |
JDBCAdapter.parseTotalQuery(Run run)
创建统计总数SQL
|
String |
DefaultJDBCAdapter.parseTotalQuery(Run run)
求总数SQL
Run 反转调用
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DMListener.afterCount(AnylineDao dao,
Run run,
int count)
count之后调用
|
void |
DMListener.afterDelete(AnylineDao dao,
Run run,
int count)
执行删除后调用
|
void |
DMListener.afterExecute(AnylineDao dao,
Run run,
int count)
执行SQL之后调用
|
void |
DMListener.afterExists(AnylineDao dao,
Run run,
boolean exists)
判断是否存在之后调用
|
void |
DMListener.afterInsert(AnylineDao dao,
Run run,
int count,
String dest,
Object obj,
boolean checkPrimary,
List<String> columns)
插入之后调用
|
void |
DMListener.afterQuery(AnylineDao dao,
Run run,
DataSet set)
查询之后调用(调用service.query或service.querys)
|
void |
DMListener.afterQuery(AnylineDao dao,
Run run,
EntitySet<?> maps) |
void |
DMListener.afterQuery(AnylineDao dao,
Run run,
List<?> maps)
查询之后调用(调用service.map或service.maps)
|
void |
DMListener.afterTotal(AnylineDao dao,
Run run,
int total)
统计总记录数之后调用
|
void |
DMListener.afterUpdate(AnylineDao dao,
Run run,
int count,
String dest,
Object obj,
List<String> columns)
更新之前调用
|
void |
DMListener.beforeCount(AnylineDao dao,
Run run)
count之前调用
|
boolean |
DMListener.beforeDelete(AnylineDao dao,
Run run)
执行删除前调用
|
boolean |
DMListener.beforeExecute(AnylineDao dao,
Run run)
执行SQL之前调用
|
void |
DMListener.beforeExists(AnylineDao dao,
Run run)
判断是否存在之前调用
|
boolean |
DMListener.beforeInsert(AnylineDao dao,
Run run,
String dest,
Object obj,
boolean checkPrimary,
List<String> columns)
插入之前调用
|
void |
DMListener.beforeQuery(AnylineDao dao,
Run run)
查询之前调用
|
void |
DMListener.beforeTotal(AnylineDao dao,
Run run)
统计总记录数之前调用
|
boolean |
DMListener.beforeUpdate(AnylineDao dao,
Run run,
String dest,
Object obj,
List<String> columns)
更新之前调用
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
BasicRun |
class |
TableRun |
class |
TextRun |
class |
XMLRun |
| 限定符和类型 | 方法和说明 |
|---|---|
Run |
XMLRun.addCondition(boolean required,
boolean strictRequired,
String column,
Object value,
Compare compare) |
Run |
TextRun.addCondition(boolean required,
boolean strictRequired,
String prefix,
String var,
Object value,
Compare compare)
添加查询条件
|
Run |
Run.addCondition(boolean required,
boolean strictRequired,
String prefix,
String var,
Object value,
Compare compare)
添加查询条件
|
Run |
BasicRun.addCondition(boolean required,
boolean strictRequired,
String prefix,
String var,
Object value,
Compare compare)
添加查询条件
|
Run |
XMLRun.addCondition(boolean required,
String column,
Object value,
Compare compare) |
Run |
Run.addCondition(boolean required,
String prefix,
String var,
Object value,
Compare compare) |
Run |
BasicRun.addCondition(boolean required,
String prefix,
String var,
Object value,
Compare compare) |
Run |
Run.addCondition(Condition condition) |
Run |
BasicRun.addCondition(Condition condition) |
Run |
XMLRun.addCondition(String condition) |
Run |
XMLRun.addCondition(String prefix,
String variable,
Object value)
添加静态文本查询条件
|
Run |
TextRun.addCondition(String condition,
String variable,
Object value)
添加静态文本查询条件
|
Run |
Run.addConditions(String... conditions)
添加条件
|
Run |
BasicRun.addConditions(String... conditions)
添加条件
|
Run |
XMLRun.addConditions(String[] conditions) |
Run |
XMLRun.addOrder(Order order) |
Run |
TextRun.addOrder(Order order) |
Run |
Run.addOrder(Order order) |
Run |
BasicRun.addOrder(Order order) |
Run |
XMLRun.addOrders(OrderStore orderStore) |
Run |
TextRun.addOrders(OrderStore orderStore) |
Run |
Run.addOrders(OrderStore orderStore) |
Run |
BasicRun.addOrders(OrderStore orderStore) |
Run |
BasicRun.addValues(List<RunValue> values) |
Run |
BasicRun.addValues(RunValue run)
添加参数值
|
Run |
Run.addValues(String column,
Object obj)
添加参数值
|
Run |
BasicRun.addValues(String key,
Object obj)
添加参数值
|
Run |
BasicRun.addVariable(Variable var) |
Run |
Run.group(String group) |
Run |
BasicRun.group(String group) |
Run |
Run.order(String order) |
Run |
BasicRun.order(String order) |
Run |
Run.setConditionChain(ConditionChain chain) |
Run |
BasicRun.setConditionChain(ConditionChain chain) |
Run |
XMLRun.setConditionValue(boolean required,
boolean strictRequired,
String prefix,
String variable,
Object value,
Compare compare) |
Run |
TextRun.setConditionValue(boolean required,
boolean strictRequired,
String condition,
String variable,
Object value,
Compare compare) |
Run |
TableRun.setConditionValue(boolean required,
boolean strictRequired,
String condition,
String variable,
Object value,
Compare compare) |
Run |
Run.setConditionValue(boolean required,
boolean strictRequired,
String prefix,
String variable,
Object value,
Compare compare)
添加查询条件
|
Run |
BasicRun.setConditionValue(boolean required,
boolean strictRequired,
String prefix,
String variable,
Object value,
Compare compare) |
Run |
XMLRun.setConditionValue(boolean required,
String condition,
String variable,
Object value,
Compare compare) |
Run |
TextRun.setConditionValue(boolean required,
String condition,
String variable,
Object value,
Compare compare) |
Run |
TableRun.setConditionValue(boolean required,
String condition,
String variable,
Object value,
Compare compare) |
Run |
Run.setConditionValue(boolean required,
String prefix,
String variable,
Object value,
Compare compare) |
Run |
Run.setInsertColumns(List<String> keys) |
Run |
BasicRun.setInsertColumns(List<String> insertColumns) |
Run |
XMLRun.setPrepare(RunPrepare prepare) |
Run |
TextRun.setPrepare(RunPrepare prepare) |
Run |
Run.setPrepare(RunPrepare prepare) |
Run |
BasicRun.setPrepare(RunPrepare prepare) |
Run |
Run.setUpdateColumns(List<String> keys) |
Run |
BasicRun.setUpdateColumns(List<String> updateColumns) |
Copyright © 2022. All rights reserved.