public class InternalNested extends InternalSingleBucketAggregation implements Nested
NestedAggregator.InternalAggregation.ReduceContextAggregation.CommonFieldsToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>metaData, nameTYPED_KEYS_DELIMITEREMPTY_PARAMS| Constructor and Description |
|---|
InternalNested(StreamInput in)
Read from a stream.
|
InternalNested(java.lang.String name,
long docCount,
InternalAggregations aggregations,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
protected InternalSingleBucketAggregation |
newAggregation(java.lang.String name,
long docCount,
InternalAggregations subAggregations)
Create a new empty sub aggregation.
|
create, doReduce, doWriteTo, doXContentBody, getAggregations, getDocCount, getPropertygetMetaData, getName, getProperty, getType, pipelineAggregators, readSize, reduce, toXContent, writeSize, writeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAggregations, getDocCountgetMetaData, getName, getTypeisFragment, toXContentpublic InternalNested(java.lang.String name,
long docCount,
InternalAggregations aggregations,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData)
public InternalNested(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getWriteableName()
NamedWriteablegetWriteableName in interface NamedWriteableprotected InternalSingleBucketAggregation newAggregation(java.lang.String name, long docCount, InternalAggregations subAggregations)
InternalSingleBucketAggregationnewAggregation in class InternalSingleBucketAggregation