public class QueryHistogramAggregation extends QueryAggregation
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
field |
protected java.lang.Long |
interval |
protected java.lang.String |
name |
protected java.util.List<QueryHistogramAggregationResult> |
results |
discriminatorMapping, discriminatorPropertyName, type
Constructor and Description |
---|
QueryHistogramAggregation() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getField()
Gets the field.
|
java.lang.Long |
getInterval()
Gets the interval.
|
java.lang.String |
getName()
Gets the name.
|
java.util.List<QueryHistogramAggregationResult> |
getResults()
Gets the results.
|
getType
protected java.lang.String field
protected java.lang.Long interval
protected java.lang.String name
protected java.util.List<QueryHistogramAggregationResult> results
public java.lang.String getField()
The numeric field name used to create the histogram.
public java.lang.Long getInterval()
The size of the sections the results are split into.
public java.lang.String getName()
Identifier specified in the query request of this aggregation.
public java.util.List<QueryHistogramAggregationResult> getResults()
Array of numeric intervals.