public class BaseQueryWrapper<T> extends Object implements Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,Object> |
context |
protected String |
datasource |
protected List<QueryColumn> |
groupByColumns |
protected QueryCondition |
havingQueryCondition |
protected List<Join> |
joins |
protected List<QueryTable> |
joinTables |
protected Integer |
limitOffset |
protected Integer |
limitRows |
protected List<QueryOrderBy> |
orderBys |
protected List<QueryTable> |
queryTables |
protected List<QueryColumn> |
selectColumns |
protected List<UnionWrapper> |
unions |
protected QueryCondition |
whereQueryCondition |
| 构造器和说明 |
|---|
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 Integer limitOffset
public BaseQueryWrapper()
protected T addSelectColumn(QueryColumn queryColumn)
protected T setWhereQueryCondition(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 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 Integer getLimitOffset()
protected void setLimitOffset(Integer limitOffset)
protected Integer getLimitRows()
protected void setLimitRows(Integer limitRows)
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)
Copyright © 2023. All rights reserved.