public class QueryTermAggregation extends QueryAggregation
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
count |
protected java.lang.String |
field |
protected java.lang.String |
name |
protected java.util.List<QueryTermAggregationResult> |
results |
discriminatorMapping, discriminatorPropertyName, type
Constructor and Description |
---|
QueryTermAggregation() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCount()
Gets the count.
|
java.lang.String |
getField()
Gets the field.
|
java.lang.String |
getName()
Gets the name.
|
java.util.List<QueryTermAggregationResult> |
getResults()
Gets the results.
|
getType
protected java.lang.String field
protected java.lang.Long count
protected java.lang.String name
protected java.util.List<QueryTermAggregationResult> results
public java.lang.String getField()
The field in the document used to generate top values from.
public java.lang.Long getCount()
The number of top values returned.
public java.lang.String getName()
Identifier specified in the query request of this aggregation.
public java.util.List<QueryTermAggregationResult> getResults()
Array of top values for the field.