Class InternalNested
java.lang.Object
org.opensearch.search.aggregations.InternalAggregation
org.opensearch.search.aggregations.bucket.InternalSingleBucketAggregation
org.opensearch.search.aggregations.bucket.nested.InternalNested
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.NamedWriteable
,org.opensearch.core.common.io.stream.Writeable
,org.opensearch.core.xcontent.ToXContent
,org.opensearch.core.xcontent.ToXContentFragment
,Aggregation
,Nested
,SingleBucketAggregation
,HasAggregations
Result of the
NestedAggregator
.- Opensearch.internal:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.search.aggregations.InternalAggregation
InternalAggregation.ReduceContext, InternalAggregation.ReduceContextBuilder
Nested classes/interfaces inherited from interface org.opensearch.search.aggregations.Aggregation
Aggregation.CommonFields
Nested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
-
Field Summary
Fields inherited from class org.opensearch.search.aggregations.InternalAggregation
metadata, name
Fields inherited from interface org.opensearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER
Fields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorDescriptionInternalNested
(org.opensearch.core.common.io.stream.StreamInput in) Read from a stream. -
Method Summary
Modifier and TypeMethodDescriptionprotected InternalSingleBucketAggregation
newAggregation
(String name, long docCount, InternalAggregations subAggregations) Create a new empty sub aggregation.Methods inherited from class org.opensearch.search.aggregations.bucket.InternalSingleBucketAggregation
copyWithRewritenBuckets, create, doWriteTo, doXContentBody, equals, forEachBucket, getAggregations, getDocCount, getProperty, hashCode, mustReduceOnSingleInternalAgg, reduce, reducePipelines, sortValue, sortValue
Methods inherited from class org.opensearch.search.aggregations.InternalAggregation
getMetadata, getName, getProperty, getType, isMapped, mergePipelineTreeForBWCSerialization, pipelineAggregatorsForBwcSerialization, readSize, toString, toXContent, writeSize, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opensearch.search.aggregations.Aggregation
getMetadata, getName, getType
Methods inherited from interface org.opensearch.search.aggregations.bucket.SingleBucketAggregation
getAggregations, getDocCount
Methods inherited from interface org.opensearch.core.xcontent.ToXContent
toXContent
Methods inherited from interface org.opensearch.core.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
InternalNested
Read from a stream.- Throws:
IOException
-
-
Method Details
-
getWriteableName
- Specified by:
getWriteableName
in interfaceorg.opensearch.core.common.io.stream.NamedWriteable
-
newAggregation
protected InternalSingleBucketAggregation newAggregation(String name, long docCount, InternalAggregations subAggregations) Description copied from class:InternalSingleBucketAggregation
Create a new empty sub aggregation. This must be a new instance on each call.- Specified by:
newAggregation
in classInternalSingleBucketAggregation
-