public class NestedBuilder extends AggregationBuilder<NestedBuilder>
Nested
aggregation.ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
type
EMPTY_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, toXContent
getName
public NestedBuilder(String name)
public NestedBuilder path(String path)
protected XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
internalXContent
in class AggregationBuilder<NestedBuilder>
IOException
Copyright © 2009–2017. All rights reserved.