public class TermsAggregation extends Object implements SubAggregation<TermsAggregation>
| 限定符和类型 | 方法和说明 |
|---|---|
TermsAggregation |
fieldName(String fieldName) |
String |
getFieldName() |
Map<String,Object> |
getMetaData() |
long |
getMinDocCount() |
String |
getName() |
List<Order> |
getOrders() |
Script |
getScript() |
long |
getShardMinDocCount() |
int |
getShardSize() |
int |
getSize() |
List<Aggregation> |
getSubAggregations() |
boolean |
isShowTermDocCountError() |
TermsAggregation |
metaData(Map<String,Object> metaData) |
TermsAggregation |
minDocCount(long minDocCount) |
TermsAggregation |
name(String name) |
TermsAggregation |
order(Order... order) |
TermsAggregation |
script(Script script) |
TermsAggregation |
shardMinDocCount(long shardMinDocCount) |
TermsAggregation |
shardSize(int shardSize) |
TermsAggregation |
showTermDocCountError(boolean showTermDocCountError) |
TermsAggregation |
size(int size) |
TermsAggregation |
subAgg(Aggregation... aggs)
子聚合
|
org.elasticsearch.search.aggregations.AggregationBuilder |
toAggBuilder()
builder
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitavg, count, filters, percentileRanks, percentiles, sum, termspublic Script getScript()
public TermsAggregation script(Script script)
public String getName()
public TermsAggregation name(String name)
public String getFieldName()
public TermsAggregation fieldName(String fieldName)
public int getSize()
public TermsAggregation size(int size)
public List<Aggregation> getSubAggregations()
public int getShardSize()
public TermsAggregation shardSize(int shardSize)
public boolean isShowTermDocCountError()
public TermsAggregation showTermDocCountError(boolean showTermDocCountError)
public long getMinDocCount()
public TermsAggregation minDocCount(long minDocCount)
public long getShardMinDocCount()
public TermsAggregation shardMinDocCount(long shardMinDocCount)
public TermsAggregation order(Order... order)
public TermsAggregation subAgg(Aggregation... aggs)
SubAggregationsubAgg 在接口中 SubAggregation<TermsAggregation>aggs - 子聚合public TermsAggregation metaData(Map<String,Object> metaData)
public org.elasticsearch.search.aggregations.AggregationBuilder toAggBuilder()
AggregationtoAggBuilder 在接口中 AggregationCopyright © 2021. All rights reserved.