Package org.opensearch.join.aggregations
Class InternalParent
- java.lang.Object
-
- org.opensearch.search.aggregations.InternalAggregation
-
- org.opensearch.search.aggregations.bucket.InternalSingleBucketAggregation
-
- org.opensearch.join.aggregations.InternalParent
-
- All Implemented Interfaces:
NamedWriteable,Writeable,ToXContent,ToXContentFragment,Parent,Aggregation,SingleBucketAggregation,HasAggregations
public class InternalParent extends InternalSingleBucketAggregation implements Parent
Results of theChildrenToParentAggregator.
-
-
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.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Nested classes/interfaces inherited from interface org.opensearch.common.io.stream.Writeable
Writeable.Reader<V extends java.lang.Object>, Writeable.Writer<V extends java.lang.Object>
-
-
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.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Constructor Description InternalParent(java.lang.String name, long docCount, InternalAggregations aggregations, java.util.Map<java.lang.String,java.lang.Object> metadata)InternalParent(StreamInput in)Read from a stream.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetWriteableName()protected InternalSingleBucketAggregationnewAggregation(java.lang.String name, long docCount, InternalAggregations subAggregations)-
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.common.xcontent.ToXContent
toXContent
-
Methods inherited from interface org.opensearch.common.xcontent.ToXContentFragment
isFragment
-
-
-
-
Constructor Detail
-
InternalParent
public InternalParent(java.lang.String name, long docCount, InternalAggregations aggregations, java.util.Map<java.lang.String,java.lang.Object> metadata)
-
InternalParent
public InternalParent(StreamInput in) throws java.io.IOException
Read from a stream.- Throws:
java.io.IOException
-
-
Method Detail
-
getWriteableName
public java.lang.String getWriteableName()
- Specified by:
getWriteableNamein interfaceNamedWriteable
-
newAggregation
protected InternalSingleBucketAggregation newAggregation(java.lang.String name, long docCount, InternalAggregations subAggregations)
- Specified by:
newAggregationin classInternalSingleBucketAggregation
-
-