public class InternalNested extends InternalSingleBucketAggregation implements Nested
InternalAggregation.CommonFields, InternalAggregation.ReduceContext, InternalAggregation.TypeToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static AggregationStreams.Stream |
STREAM |
static InternalAggregation.Type |
TYPE |
nameEMPTY_PARAMS| Constructor and Description |
|---|
InternalNested() |
InternalNested(String name,
long docCount,
InternalAggregations aggregations) |
| Modifier and Type | Method and Description |
|---|---|
protected InternalSingleBucketAggregation |
newAggregation(String name,
long docCount,
InternalAggregations subAggregations)
Create a new empty sub aggregation.
|
static void |
registerStream() |
InternalAggregation.Type |
type() |
doXContentBody, getAggregations, getDocCount, readFrom, reduce, writeTogetName, readSize, toXContent, writeSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAggregations, getDocCountgetNamepublic static final InternalAggregation.Type TYPE
public static final AggregationStreams.Stream STREAM
public InternalNested()
public InternalNested(String name, long docCount, InternalAggregations aggregations)
public static void registerStream()
public InternalAggregation.Type type()
type in class InternalAggregationInternalAggregation.Type of this aggregationprotected InternalSingleBucketAggregation newAggregation(String name, long docCount, InternalAggregations subAggregations)
InternalSingleBucketAggregationnewAggregation in class InternalSingleBucketAggregationCopyright © 2009–2016. All rights reserved.