public class AggregationQuery<T> extends AbstractOrderedEntityQuery<T>
| 构造器和说明 |
|---|
AggregationQuery(HbatisStatementMapper<T> mapper,
EntityNode<T> n) |
| 限定符和类型 | 方法和说明 |
|---|---|
Aggregations<T> |
aggregation() |
static <T> AggregationQuery<T> |
create(HbatisStatementMapper<T> repo,
Class<T> clazz) |
static <T> AggregationQuery<T> |
create(HbatisStatementMapper<T> repo,
EntityNode<T> n) |
List<Map> |
fetch() |
Orders<T> |
getOrders() |
Restrictions<T> |
getRestrictions() |
AggregationQuery<T> |
groupBy(FieldNode... field) |
AggregationQuery<T> |
groupBy(List<FieldNode> fields) |
Havings<T> |
having() |
AggregationQuery<T> |
limit(int limit) |
AggregationQuery<T> |
limit(int start,
int limit) |
void |
nextPage()
set next page params
|
orderAsc, orderAsc, orderAsc, orderDesc, orderDesc, orderDescgetEntityNodepublic AggregationQuery(HbatisStatementMapper<T> mapper, EntityNode<T> n)
public AggregationQuery<T> limit(int limit)
public AggregationQuery<T> limit(int start, int limit)
public AggregationQuery<T> groupBy(FieldNode... field)
public AggregationQuery<T> groupBy(List<FieldNode> fields)
public Aggregations<T> aggregation()
public static <T> AggregationQuery<T> create(HbatisStatementMapper<T> repo, EntityNode<T> n)
public static <T> AggregationQuery<T> create(HbatisStatementMapper<T> repo, Class<T> clazz)
public Restrictions<T> getRestrictions()
getRestrictions 在类中 AbstractEntityQuery<T>public Orders<T> getOrders()
getOrders 在类中 AbstractOrderedEntityQuery<T>public void nextPage()
Copyright © 2024. All rights reserved.