/** * Create a new {@link Terms} aggregation with the given name. */ public static TermsAggregationBuilder terms(String name) { return new TermsAggregationBuilder(name, null); }
@Override protected AggregationBuilder shallowCopy(Builder factoriesBuilder, Map<String, Object> metaData) { return new TermsAggregationBuilder(this, factoriesBuilder, metaData); }
public static AggregationBuilder parse(String aggregationName, XContentParser parser) throws IOException { return PARSER.parse(parser, new TermsAggregationBuilder(aggregationName, null), null); }
/** * Create a new {@link Terms} aggregation with the given name. */ public static TermsAggregationBuilder terms(String name) { return new TermsAggregationBuilder(name, null); }
/** * Create a new {@link Terms} aggregation with the given name. */ public static TermsAggregationBuilder terms(String name) { return new TermsAggregationBuilder(name, null); }
/** * Create a new {@link Terms} aggregation with the given name. */ public static TermsAggregationBuilder terms(String name) { return new TermsAggregationBuilder(name, null); }
@Override protected AggregationBuilder shallowCopy(Builder factoriesBuilder, Map<String, Object> metaData) { return new TermsAggregationBuilder(this, factoriesBuilder, metaData); }
@Override protected AggregationBuilder shallowCopy(Builder factoriesBuilder, Map<String, Object> metaData) { return new TermsAggregationBuilder(this, factoriesBuilder, metaData); }
public static AggregationBuilder parse(String aggregationName, XContentParser parser) throws IOException { return PARSER.parse(parser, new TermsAggregationBuilder(aggregationName, null), null); }
public static AggregationBuilder parse(String aggregationName, XContentParser parser) throws IOException { return PARSER.parse(parser, new TermsAggregationBuilder(aggregationName, null), null); }
public static AggregationBuilder parse(String aggregationName, QueryParseContext context) throws IOException { return PARSER.parse(context.parser(), new TermsAggregationBuilder(aggregationName, null), context); }