public class QueryChain<T> extends QueryWrapperAdapter<QueryChain<T>> implements MapperQueryChain<T>
QueryWrapper 链式调用。| 限定符和类型 | 字段和说明 |
|---|---|
private BaseMapper<T> |
baseMapper |
context, dataSource, endFragments, groupByColumns, havingQueryCondition, hint, joins, joinTables, limitOffset, limitRows, orderBys, queryTables, selectColumns, unions, whereQueryCondition, with| 构造器和说明 |
|---|
QueryChain(BaseMapper<T> baseMapper) |
| 限定符和类型 | 方法和说明 |
|---|---|
BaseMapper<T> |
baseMapper()
该实现类对应的
BaseMapper 对象。 |
static <E> QueryChain<E> |
of(BaseMapper<E> baseMapper) |
static <T> QueryChain<T> |
of(Class<T> entityClass) |
QueryWrapper |
toQueryWrapper()
将该实现类转换为
QueryWrapper 对象。 |
String |
toSQL() |
and, and, and, and, and, and, and, and, as, between, between, between, between, between, between, clone, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, datasource, eq, eq, eq, eq, eq, eq, forUpdate, forUpdateNoWait, from, from, from, from, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, ge, ge, ge, ge, ge, ge, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, gt, gt, gt, gt, gt, gt, having, hint, in, in, in, in, in, in, in, in, in, in, in, in, in, in, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, isNotNull, isNotNull, isNotNull, isNotNull, isNotNull, isNotNull, isNull, isNull, isNull, isNull, isNull, isNull, join, join, join, join, join, join, join, le, le, le, le, le, le, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, like, like, like, like, like, like, likeLeft, likeLeft, likeLeft, likeLeft, likeLeft, likeLeft, likeRight, likeRight, likeRight, likeRight, likeRight, likeRight, limit, limit, lt, lt, lt, lt, lt, lt, ne, ne, ne, ne, ne, ne, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notLike, notLike, notLike, notLike, notLike, notLike, notLikeLeft, notLikeLeft, notLikeLeft, notLikeLeft, notLikeLeft, notLikeLeft, notLikeRight, notLikeRight, notLikeRight, notLikeRight, notLikeRight, notLikeRight, offset, or, or, or, or, or, or, or, or, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, select, select, select, select, select, select, select, union, unionAll, where, where, where, where, where, where, where, with, with, withRecursive, withRecursiveand, connectMap, create, create, create, create, create, getAllValueArray, getChildSelect, getConditionValueArray, getJoinValueArray, hasCondition, joining, joining, joining, or, orderByUnSafelyaddEndFragment, addGroupByColumns, addHavingQueryCondition, addJoin, addJoinTable, addOrderBy, addSelectColumn, addWhereQueryCondition, addWhereQueryCondition, clear, getContext, getContext, getDataSource, getEndFragments, getGroupByColumns, getHavingQueryCondition, getHint, getJoins, getJoinTables, getLimitOffset, getLimitRows, getOrderBys, getQueryTables, getSelectColumns, getUnions, getWhereQueryCondition, putContext, setContext, setDataSource, setEndFragments, setGroupByColumns, setHavingQueryCondition, setHint, setJoins, setJoinTables, setLimitOffset, setLimitRows, setOrderBys, setQueryTables, setSelectColumns, setUnions, setWhereQueryConditionequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, exists, list, listAs, obj, objAs, objAsOpt, objList, objListAs, objOpt, one, oneAs, page, pageAs, withFields, withRelations, withRelationsoneAsOpt, oneOptprivate final BaseMapper<T> baseMapper
public QueryChain(BaseMapper<T> baseMapper)
public static <T> QueryChain<T> of(Class<T> entityClass)
public static <E> QueryChain<E> of(BaseMapper<E> baseMapper)
public BaseMapper<T> baseMapper()
MapperQueryChainBaseMapper 对象。baseMapper 在接口中 MapperQueryChain<T>BaseMapperpublic QueryWrapper toQueryWrapper()
MapperQueryChainQueryWrapper 对象。toQueryWrapper 在接口中 MapperQueryChain<T>QueryWrapperpublic String toSQL()
toSQL 在类中 QueryWrapperCopyright © 2024. All rights reserved.