public class InternalChildren extends InternalSingleBucketAggregation implements Children
InternalAggregation.CommonFields, InternalAggregation.ReduceContext, InternalAggregation.Type
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static AggregationStreams.Stream |
STREAM |
static InternalAggregation.Type |
TYPE |
metaData, name
EMPTY_PARAMS
Constructor and Description |
---|
InternalChildren() |
InternalChildren(String name,
long docCount,
InternalAggregations aggregations,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
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() |
create, doReadFrom, doReduce, doWriteTo, doXContentBody, getAggregations, getDocCount, getProperty
getMetaData, getName, getProperty, pipelineAggregators, readFrom, readSize, reduce, toXContent, writeSize, writeTo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAggregations, getDocCount
getMetaData, getName, getProperty
public static final InternalAggregation.Type TYPE
public static final AggregationStreams.Stream STREAM
public InternalChildren()
public InternalChildren(String name, long docCount, InternalAggregations aggregations, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData)
public static void registerStream()
public InternalAggregation.Type type()
type
in class InternalAggregation
InternalAggregation.Type
of this aggregationprotected InternalSingleBucketAggregation newAggregation(String name, long docCount, InternalAggregations subAggregations)
InternalSingleBucketAggregation
newAggregation
in class InternalSingleBucketAggregation
Copyright © 2009–2017. All rights reserved.