public class HistogramAggregation extends Aggregation implements SupportsNestedAggregationsAggregation
| Modifier and Type | Class and Description |
|---|---|
static class |
HistogramAggregation.ExtendedBounds<T> |
| Constructor and Description |
|---|
HistogramAggregation(String aggregationName,
String fieldName,
String interval,
Long minDocumentCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNestedAggregation(Aggregation nestedAggregation) |
String |
getAggregationName() |
HistogramAggregation.ExtendedBounds<?> |
getExtendedBounds() |
String |
getFieldName() |
String |
getInterval() |
Long |
getMinDocumentCount() |
Iterable<Aggregation> |
getNestedAggregations() |
void |
setExtendedBounds(HistogramAggregation.ExtendedBounds<?> extendedBounds) |
public String getAggregationName()
getAggregationName in class Aggregationpublic String getFieldName()
public String getInterval()
public Long getMinDocumentCount()
public void addNestedAggregation(Aggregation nestedAggregation)
addNestedAggregation in interface SupportsNestedAggregationsAggregationpublic Iterable<Aggregation> getNestedAggregations()
getNestedAggregations in interface SupportsNestedAggregationsAggregationpublic HistogramAggregation.ExtendedBounds<?> getExtendedBounds()
public void setExtendedBounds(HistogramAggregation.ExtendedBounds<?> extendedBounds)
Copyright © 2014–2017. All rights reserved.