public class Aggregation extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Aggregation.Aggregate |
| 构造器和说明 |
|---|
Aggregation(AggregateType aggregateType,
String property,
String asProperty) |
Aggregation(Aggregation.Aggregate... aggregates) |
Aggregation(List<Aggregation.Aggregate> aggregates) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T,S> Aggregation |
aggregation(AggregateType aggregateType,
LambdaFunction<T,Object> property,
LambdaFunction<S,Object> asProperty) |
<T> Aggregation |
aggregation(AggregateType aggregateType,
LambdaFunction<T,Object> property,
String asProperty) |
List<Aggregation.Aggregate> |
getAggregates() |
public Aggregation(List<Aggregation.Aggregate> aggregates)
public Aggregation(Aggregation.Aggregate... aggregates)
public Aggregation(AggregateType aggregateType, String property, String asProperty)
public <T> Aggregation aggregation(AggregateType aggregateType, LambdaFunction<T,Object> property, String asProperty)
public <T,S> Aggregation aggregation(AggregateType aggregateType, LambdaFunction<T,Object> property, LambdaFunction<S,Object> asProperty)
public List<Aggregation.Aggregate> getAggregates()
Copyright © 2020. All rights reserved.