public class ReverseNestedAggregationBuilder extends AbstractAggregationBuilder<ReverseNestedAggregationBuilder>
AggregationBuilder.CommonFieldsWriteable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
metaDatafactoriesBuilder, nameEMPTY_PARAMS| Constructor and Description |
|---|
ReverseNestedAggregationBuilder(StreamInput in)
Read from a stream.
|
ReverseNestedAggregationBuilder(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected AggregatorFactory<?> |
doBuild(SearchContext context,
AggregatorFactory<?> parent,
AggregatorFactories.Builder subFactoriesBuilder) |
protected boolean |
doEquals(java.lang.Object obj) |
protected int |
doHashCode() |
protected void |
doWriteTo(StreamOutput out) |
java.lang.String |
getType()
The name of the type of aggregation built by this builder.
|
protected XContentBuilder |
internalXContent(XContentBuilder builder,
ToXContent.Params params) |
static ReverseNestedAggregationBuilder |
parse(java.lang.String aggregationName,
XContentParser parser) |
java.lang.String |
path()
Get the path to use for this nested aggregation.
|
ReverseNestedAggregationBuilder |
path(java.lang.String path)
Set the path to use for this nested aggregation.
|
build, equals, getMetaData, getWriteableName, hashCode, setMetaData, subAggregation, subAggregation, subAggregations, toXContent, writeTodoRewrite, getName, getPipelineAggregations, getSubAggregations, rewrite, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisFragmentpublic static final java.lang.String NAME
public ReverseNestedAggregationBuilder(java.lang.String name)
public ReverseNestedAggregationBuilder(StreamInput in) throws java.io.IOException
java.io.IOExceptionprotected void doWriteTo(StreamOutput out) throws java.io.IOException
doWriteTo in class AbstractAggregationBuilder<ReverseNestedAggregationBuilder>java.io.IOExceptionpublic ReverseNestedAggregationBuilder path(java.lang.String path)
public java.lang.String path()
protected AggregatorFactory<?> doBuild(SearchContext context, AggregatorFactory<?> parent, AggregatorFactories.Builder subFactoriesBuilder) throws java.io.IOException
doBuild in class AbstractAggregationBuilder<ReverseNestedAggregationBuilder>java.io.IOExceptionprotected XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
internalXContent in class AbstractAggregationBuilder<ReverseNestedAggregationBuilder>java.io.IOExceptionpublic static ReverseNestedAggregationBuilder parse(java.lang.String aggregationName, XContentParser parser) throws java.io.IOException
java.io.IOExceptionprotected int doHashCode()
doHashCode in class AbstractAggregationBuilder<ReverseNestedAggregationBuilder>protected boolean doEquals(java.lang.Object obj)
doEquals in class AbstractAggregationBuilder<ReverseNestedAggregationBuilder>public java.lang.String getType()
BaseAggregationBuilder