public class BaseQueryWrapper<T extends BaseQueryWrapper<T>> extends Object implements CloneSupport<T>
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,Object> |
context |
protected String |
dataSource |
protected List<String> |
endFragments |
protected List<QueryColumn> |
groupByColumns |
protected QueryCondition |
havingQueryCondition |
protected String |
hint |
protected List<Join> |
joins |
protected List<QueryTable> |
joinTables |
protected Long |
limitOffset |
protected Long |
limitRows |
protected List<QueryOrderBy> |
orderBys |
protected List<QueryTable> |
queryTables |
protected List<QueryColumn> |
selectColumns |
protected List<UnionWrapper> |
unions |
protected QueryCondition |
whereQueryCondition |
protected With |
with |
| 构造器和说明 |
|---|
BaseQueryWrapper() |
protected List<QueryTable> queryTables
protected String dataSource
protected List<QueryColumn> selectColumns
protected List<QueryTable> joinTables
protected QueryCondition whereQueryCondition
protected List<QueryColumn> groupByColumns
protected QueryCondition havingQueryCondition
protected List<QueryOrderBy> orderBys
protected List<UnionWrapper> unions
protected Long limitOffset
protected List<String> endFragments
public BaseQueryWrapper()
public void clear()
Title: clear.
Description: Default QueryWrapper values.
Notice: When adding new attributes, it is necessary to supplement here.
protected T addSelectColumn(QueryColumn queryColumn)
protected T setWhereQueryCondition(QueryCondition queryCondition)
protected T addWhereQueryCondition(QueryCondition queryCondition)
protected T addWhereQueryCondition(QueryCondition queryCondition, SqlConnector connector)
protected T addGroupByColumns(QueryColumn queryColumn)
protected T addHavingQueryCondition(QueryCondition queryCondition, SqlConnector connector)
protected T addOrderBy(QueryOrderBy queryOrderBy)
protected void addJoinTable(QueryTable queryTable)
protected void addEndFragment(String fragment)
protected List<QueryTable> getQueryTables()
protected void setQueryTables(List<QueryTable> queryTables)
protected String getDataSource()
protected void setDataSource(String dataSource)
protected List<QueryColumn> getSelectColumns()
protected void setSelectColumns(List<QueryColumn> selectColumns)
protected List<QueryTable> getJoinTables()
protected void setJoinTables(List<QueryTable> joinTables)
protected QueryCondition getWhereQueryCondition()
protected List<QueryColumn> getGroupByColumns()
protected void setGroupByColumns(List<QueryColumn> groupByColumns)
protected QueryCondition getHavingQueryCondition()
protected void setHavingQueryCondition(QueryCondition havingQueryCondition)
protected List<QueryOrderBy> getOrderBys()
protected void setOrderBys(List<QueryOrderBy> orderBys)
protected List<UnionWrapper> getUnions()
protected void setUnions(List<UnionWrapper> unions)
protected Long getLimitOffset()
protected void setLimitOffset(Long limitOffset)
protected Long getLimitRows()
protected void setLimitRows(Long limitRows)
protected List<String> getEndFragments()
protected void setEndFragments(List<String> endFragments)
protected Map<String,Object> getContext()
protected void setContext(Map<String,Object> context)
protected void putContext(String key, Object value)
protected <R> R getContext(String key)
public T clone()
CloneSupportObject.clone() 方法。clone 在接口中 CloneSupport<T extends BaseQueryWrapper<T>>clone 在类中 ObjectCopyright © 2024. All rights reserved.