public class QueryTermAggregation extends QueryAggregation
Constructor and Description |
---|
QueryTermAggregation() |
Modifier and Type | Method and Description |
---|---|
Long |
getCount()
Gets the count.
|
String |
getField()
Gets the field.
|
String |
getName()
Gets the name.
|
List<QueryTermAggregationResult> |
getResults()
Gets the results.
|
getType
public String getField()
The field in the document used to generate top values from.
public Long getCount()
The number of top values returned.
public String getName()
Identifier specified in the query request of this aggregation.
public List<QueryTermAggregationResult> getResults()
Array of top values for the field.
Copyright © 2021 IBM Cloud. All rights reserved.