public abstract class AbstractModelWrapper<Children extends AbstractModelWrapper<Children,M,R>,M extends Model,R extends MFunction<M,?>> extends Object implements Wrapper<Children>, ModelJoinWrapper<Children,M,R>, Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,JoinSpecifyBase<?,?>> |
joinMap |
protected static org.slf4j.Logger |
logger |
protected M |
model |
protected Class<M> |
modelClazz |
| 构造器和说明 |
|---|
AbstractModelWrapper() |
| 限定符和类型 | 方法和说明 |
|---|---|
Children |
between(boolean condition,
R func,
Object v1,
Object v2) |
Children |
between(R func,
Object v1,
Object v2) |
int |
delete() |
Children |
distinct(boolean distinct) |
Children |
eq(boolean condition,
R func,
Object val) |
Children |
eq(R func,
Object val) |
<TM> Children |
field(Class<TM> tm,
MFunction<TM,?>... tfs)
声明字段
|
Children |
field(R... fields) |
M |
find() |
Children |
ge(R function,
Object val) |
<TM> Children |
group(Class<TM> tm,
MFunction<TM,?>... tfs) |
Children |
group(R... fields) |
Children |
gt(boolean condition,
R func,
Object val) |
Children |
gt(R func,
Object val) |
Children |
gte(boolean condition,
R func,
Object val) |
Children |
gte(R function,
Object val) |
<TM> Children |
having(Class<TM> tm,
MFunction<TM,?>... tfs) |
Children |
having(R... fields) |
Children |
in(boolean condition,
R func,
Object... args) |
Children |
in(R func,
Object... args) |
M |
insert() |
M |
insert(DataMap data) |
Children |
isNotNull(boolean condition,
R func) |
Children |
isNotNull(R func) |
Children |
isNull(boolean condition,
R func) |
Children |
isNull(R func) |
Children |
join(JoinType type,
JoinSpecifyBase<?,?> join)
关联查询实现
|
Children |
le(R func,
Object val) |
Children |
like(boolean condition,
R function,
Object val) |
Children |
like(R func,
Object val) |
Children |
limit(long count) |
Children |
limit(long index,
long count) |
Children |
lock(boolean lock) |
Children |
lt(boolean condition,
R function,
Object val) |
Children |
lt(R func,
Object val) |
Children |
lte(boolean condition,
R function,
Object val) |
Children |
lte(R func,
Object val) |
protected Model |
model() |
Children |
ne(R func,
Object val) |
Children |
neq(boolean condition,
R func,
Object val) |
Children |
neq(R func,
Object val) |
Children |
notIn(boolean condition,
R function,
Object... args) |
Children |
notIn(R func,
Object... args) |
Children |
notLike(boolean condition,
R function,
Object val) |
Children |
notLike(R func,
Object val) |
<TM> Children |
order(Class<TM> tm,
MFunction<TM,?> tf,
OrderByType type) |
Children |
order(R r) |
Children |
order(R r,
boolean desc) |
Children |
orderByAsc(R r) |
Children |
orderByDesc(R r) |
Children |
page(long page) |
Children |
page(long page,
long pageSize) |
IPagination<M> |
pagination() |
IPagination<M> |
pagination(long page,
long pageSize) |
M |
save(DataMap data) |
List<M> |
select() |
String |
toString() |
Children |
union(String sql) |
Children |
union(String[] sqlArr) |
M |
update() |
M |
update(DataMap data) |
Children |
where(boolean condition,
String table,
String column,
Operator operator,
Object val) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbetween, between, between, eq, eq, eq, gt, gt, gt, gte, gte, gte, in, in, in, isNotNull, isNotNull, isNotNull, isNull, isNull, isNull, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, lt, lt, lt, lte, lte, lte, neq, neq, neq, notIn, notIn, notIn, order, order, where, where, where, whereprotected static final org.slf4j.Logger logger
protected Map<String,JoinSpecifyBase<?,?>> joinMap
protected Model model()
public Children where(boolean condition, String table, String column, Operator operator, Object val)
@SafeVarargs public final Children field(R... fields)
@SafeVarargs public final <TM> Children field(Class<TM> tm, MFunction<TM,?>... tfs)
ModelJoinWrapper@SafeVarargs public final Children group(R... fields)
@SafeVarargs public final <TM> Children group(Class<TM> tm, MFunction<TM,?>... tfs)
@SafeVarargs public final Children having(R... fields)
@SafeVarargs public final <TM> Children having(Class<TM> tm, MFunction<TM,?>... tfs)
public Children distinct(boolean distinct)
public Children lock(boolean lock)
public <TM> Children order(Class<TM> tm, MFunction<TM,?> tf, OrderByType type)
public Children limit(long index, long count)
public Children limit(long count)
public Children page(long page)
public Children page(long page, long pageSize)
public M insert()
public int delete()
public M update()
public M find()
public IPagination<M> pagination(long page, long pageSize)
public IPagination<M> pagination()
public Children join(JoinType type, JoinSpecifyBase<?,?> join)
Copyright © 2024. All rights reserved.