public class NestedBuilder extends AggregationBuilder<NestedBuilder>
Nested aggregation.ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamstypeEMPTY_PARAMS| Constructor and Description |
|---|
NestedBuilder(String name)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected XContentBuilder |
internalXContent(XContentBuilder builder,
ToXContent.Params params) |
NestedBuilder |
path(String path)
Set the path to use for this nested aggregation.
|
setMetaData, subAggregation, subAggregation, subAggregation, subAggregation, subAggregation, subAggregation, toXContentgetNamepublic NestedBuilder(String name)
public NestedBuilder path(String path)
protected XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
internalXContent in class AggregationBuilder<NestedBuilder>IOExceptionCopyright © 2009–2017. All rights reserved.