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