| Modifier and Type | Method and Description |
|---|---|
static Aggregation |
SearchAggregationParser.toAggregation(Search.Aggregation pb) |
| Modifier and Type | Method and Description |
|---|---|
static List<Aggregation> |
SearchAggregationParser.toAggregations(Search.Aggregations pb) |
| Modifier and Type | Method and Description |
|---|---|
static Search.Aggregations |
SearchAggregationBuilder.buildAggregations(List<Aggregation> aggregations) |
| Modifier and Type | Method and Description |
|---|---|
List<Aggregation> |
SearchQuery.getAggregationList() |
| Modifier and Type | Method and Description |
|---|---|
SearchQuery.Builder |
SearchQuery.Builder.addAggregation(Aggregation aggregation)
添加一个统计聚合中的Agg
|
| Modifier and Type | Method and Description |
|---|---|
void |
SearchQuery.setAggregationList(List<Aggregation> aggregationList)
设置统计聚合中的agg参数。
|
| Modifier and Type | Class and Description |
|---|---|
class |
AvgAggregation
求一个字段的平均值。
|
class |
CountAggregation
根据某一个字段统计文档数
|
class |
DistinctCountAggregation
根据某一个字段统计去重后的文档总数。 该总数为大约值,数据量特别大时候存在一定的误差。
|
class |
MaxAggregation
统计某一个字段的最大值
|
class |
MinAggregation
统计某一个字段的最小值
|
class |
PercentilesAggregation
Return the range of percentiles in the group.
|
class |
SumAggregation
求某一个字段的和
|
class |
TopRowsAggregation
Return the first few rows in the group.
|
| Modifier and Type | Method and Description |
|---|---|
Aggregation |
AggregationBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
List<Aggregation> |
GroupByRange.getSubAggregations() |
List<Aggregation> |
GroupByComposite.getSubAggregations() |
List<Aggregation> |
GroupByGeoGrid.getSubAggregations() |
List<Aggregation> |
GroupByDateHistogram.getSubAggregations() |
List<Aggregation> |
GroupByGeoDistance.getSubAggregations() |
List<Aggregation> |
GroupByHistogram.getSubAggregations() |
List<Aggregation> |
GroupByFilter.getSubAggregations() |
List<Aggregation> |
GroupByField.getSubAggregations() |
| Modifier and Type | Method and Description |
|---|---|
GroupByRange.Builder |
GroupByRange.Builder.addSubAggregation(Aggregation aggregation) |
GroupByComposite.Builder |
GroupByComposite.Builder.addSubAggregation(Aggregation aggregation) |
GroupByGeoGrid.Builder |
GroupByGeoGrid.Builder.addSubAggregation(Aggregation aggregation) |
GroupByGeoDistance.Builder |
GroupByGeoDistance.Builder.addSubAggregation(Aggregation aggregation) |
GroupByHistogram.Builder |
GroupByHistogram.Builder.addSubAggregation(Aggregation aggregation) |
GroupByFilter.Builder |
GroupByFilter.Builder.addSubAggregation(Aggregation aggregation) |
GroupByField.Builder |
GroupByField.Builder.addSubAggregation(Aggregation aggregation) |
| Modifier and Type | Method and Description |
|---|---|
GroupByRange |
GroupByRange.setSubAggregations(List<Aggregation> subAggregations) |
void |
GroupByComposite.setSubAggregations(List<Aggregation> subAggregations) |
GroupByGeoGrid |
GroupByGeoGrid.setSubAggregations(List<Aggregation> subAggregations) |
GroupByDateHistogram |
GroupByDateHistogram.setSubAggregations(List<Aggregation> subAggregations) |
GroupByGeoDistance |
GroupByGeoDistance.setSubAggregations(List<Aggregation> subAggregations) |
GroupByHistogram |
GroupByHistogram.setSubAggregations(List<Aggregation> subAggregations) |
GroupByFilter |
GroupByFilter.setSubAggregations(List<Aggregation> subAggregations) |
GroupByField |
GroupByField.setSubAggregations(List<Aggregation> subAggregations) |
Copyright © 2024. All Rights Reserved.