Class InternalChildren
java.lang.Object
org.elasticsearch.search.aggregations.InternalAggregation
org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation
org.elasticsearch.join.aggregations.InternalChildren
- All Implemented Interfaces:
NamedWriteable
,Writeable
,ToXContent
,ToXContentFragment
,Children
,Aggregation
,SingleBucketAggregation
,HasAggregations
public class InternalChildren extends InternalSingleBucketAggregation implements Children
Results of the
ParentToChildrenAggregator
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.InternalAggregation
InternalAggregation.ReduceContext, InternalAggregation.ReduceContextBuilder
Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFields
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.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.elasticsearch.search.aggregations.InternalAggregation
metadata, name
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER
-
Constructor Summary
Constructors Constructor Description InternalChildren(java.lang.String name, long docCount, InternalAggregations aggregations, java.util.Map<java.lang.String,java.lang.Object> metadata)
InternalChildren(StreamInput in)
Read from a stream. -
Method Summary
Modifier and Type Method Description java.lang.String
getWriteableName()
protected InternalSingleBucketAggregation
newAggregation(java.lang.String name, long docCount, InternalAggregations subAggregations)
Methods inherited from class org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation
copyWithRewritenBuckets, create, doWriteTo, doXContentBody, equals, forEachBucket, getAggregations, getDocCount, getProperty, hashCode, reduce, reducePipelines, sortValue, sortValue
Methods inherited from class org.elasticsearch.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.elasticsearch.search.aggregations.Aggregation
getMetadata, getName, getType
Methods inherited from interface org.elasticsearch.search.aggregations.bucket.SingleBucketAggregation
getAggregations, getDocCount
-
Constructor Details
-
InternalChildren
public InternalChildren(java.lang.String name, long docCount, InternalAggregations aggregations, java.util.Map<java.lang.String,java.lang.Object> metadata) -
InternalChildren
Read from a stream.- Throws:
java.io.IOException
-
-
Method Details
-
getWriteableName
public java.lang.String getWriteableName()- Specified by:
getWriteableName
in interfaceNamedWriteable
-
newAggregation
protected InternalSingleBucketAggregation newAggregation(java.lang.String name, long docCount, InternalAggregations subAggregations)- Specified by:
newAggregation
in classInternalSingleBucketAggregation
-