public class TermsAggregation extends Aggregation implements SupportsNestedAggregationsAggregation, SupportOrderByAggregation
SupportOrderByAggregation.AggregationSortContainer| Constructor and Description |
|---|
TermsAggregation(String aggregationName,
String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNestedAggregation(Aggregation nestedAggregation) |
String |
getAggregationName() |
String |
getExcluded() |
Long |
getMinDocumentCount() |
Object |
getMissingValue() |
Iterable<Aggregation> |
getNestedAggregations() |
SupportOrderByAggregation.AggregationSortContainer |
getOrderBy() |
String |
getPropertyName() |
Integer |
getSize() |
void |
setExcluded(String excluded) |
void |
setMinDocumentCount(Long minDocumentCount) |
void |
setMissingValue(Object missingValue) |
void |
setOrderBy(SupportOrderByAggregation.AggregationSortContainer orderBy) |
void |
setSize(Integer size) |
public Long getMinDocumentCount()
public void setMinDocumentCount(Long minDocumentCount)
public Object getMissingValue()
public void setMissingValue(Object missingValue)
public String getAggregationName()
getAggregationName in class Aggregationpublic String getPropertyName()
public void addNestedAggregation(Aggregation nestedAggregation)
addNestedAggregation in interface SupportsNestedAggregationsAggregationpublic Iterable<Aggregation> getNestedAggregations()
getNestedAggregations in interface SupportsNestedAggregationsAggregationpublic Integer getSize()
public void setSize(Integer size)
public String getExcluded()
public void setExcluded(String excluded)
public SupportOrderByAggregation.AggregationSortContainer getOrderBy()
getOrderBy in interface SupportOrderByAggregationpublic void setOrderBy(SupportOrderByAggregation.AggregationSortContainer orderBy)
setOrderBy in interface SupportOrderByAggregationCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.