public class ChildrenBuilder extends AggregationBuilder<ChildrenBuilder>
Children aggregation.ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamstypeEMPTY_PARAMS| Constructor and Description |
|---|
ChildrenBuilder(String name)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ChildrenBuilder |
childType(String childType)
Set the type of children documents.
|
protected XContentBuilder |
internalXContent(XContentBuilder builder,
ToXContent.Params params) |
setMetaData, subAggregation, subAggregation, subAggregation, subAggregation, subAggregation, subAggregation, toXContentgetNamepublic ChildrenBuilder(String name)
public ChildrenBuilder childType(String childType)
protected XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
internalXContent in class AggregationBuilder<ChildrenBuilder>IOExceptionCopyright © 2009–2017. All rights reserved.