@Beta public class TermsAggregationQuery extends BucketAggregationQuery
Modifier and Type | Class and Description |
---|---|
static class |
TermsAggregationQuery.Builder |
static class |
TermsAggregationQuery.Direction |
static class |
TermsAggregationQuery.Type |
Modifier and Type | Field and Description |
---|---|
static int |
TERM_DEFAULT_SIZE |
Modifier and Type | Method and Description |
---|---|
static TermsAggregationQuery.Builder |
create(String name) |
String |
getFieldName() |
long |
getMinDocCount() |
TermsAggregationQuery.Direction |
getOrderDirection() |
TermsAggregationQuery.Type |
getOrderType() |
int |
getSize() |
getSubQueries
getName
public static final int TERM_DEFAULT_SIZE
public String getFieldName()
public int getSize()
public TermsAggregationQuery.Direction getOrderDirection()
public TermsAggregationQuery.Type getOrderType()
public long getMinDocCount()
public static TermsAggregationQuery.Builder create(String name)