public class LinkExecutor extends Object
| 构造器和说明 |
|---|
LinkExecutor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addField(PojoField field,
String column)
添加字段
|
LinkExecutor |
bind(Object bindItem)
绑定对象,结果集将对绑定对象进行赋值
|
static LinkExecutor |
build(PojoField field,
String column,
String table,
String where)
构建查询器
|
void |
execute()
查询器执行
|
LinkDataType |
getFieldType() |
String |
key()
key=表名+"."
|
void |
merge(LinkExecutor lk)
两个字段合并查询
|
LinkExecutor |
setTable(String table)
设置表名
|
LinkExecutor |
setWhere(String where)
设置where条件
|
String |
sql()
构建普通查询sql
|
public static LinkExecutor build(PojoField field, String column, String table, String where)
field - column - table - where - public void execute()
public void merge(LinkExecutor lk)
lk - public String key()
public String sql()
public LinkExecutor setTable(String table)
table - public LinkExecutor setWhere(String where)
where - public LinkExecutor bind(Object bindItem)
bindItem - public LinkDataType getFieldType()
Copyright © 2021. All rights reserved.