Class InternalChildren
java.lang.Object
org.elasticsearch.search.aggregations.InternalAggregation
org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation
org.elasticsearch.join.aggregations.InternalChildren
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.NamedWriteable,org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentFragment,Children,org.elasticsearch.search.aggregations.Aggregation,org.elasticsearch.search.aggregations.bucket.SingleBucketAggregation,org.elasticsearch.search.aggregations.HasAggregations
public class InternalChildren extends org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation implements Children
Results of the
ParentToChildrenAggregator.-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.InternalAggregation
org.elasticsearch.search.aggregations.InternalAggregation.ReduceContext, org.elasticsearch.search.aggregations.InternalAggregation.ReduceContextBuilderNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
org.elasticsearch.search.aggregations.Aggregation.CommonFieldsNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
org.elasticsearch.common.io.stream.Writeable.Reader<V extends java.lang.Object>, org.elasticsearch.common.io.stream.Writeable.Writer<V extends java.lang.Object> -
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.InternalAggregation
metadata, nameFields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITERFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors Constructor Description InternalChildren(java.lang.String name, long docCount, org.elasticsearch.search.aggregations.InternalAggregations aggregations, java.util.Map<java.lang.String,java.lang.Object> metadata)InternalChildren(org.elasticsearch.common.io.stream.StreamInput in)Read from a stream. -
Method Summary
Modifier and Type Method Description java.lang.StringgetWriteableName()protected org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregationnewAggregation(java.lang.String name, long docCount, org.elasticsearch.search.aggregations.InternalAggregations subAggregations)Methods inherited from class org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation
copyWithRewritenBuckets, create, doWriteTo, doXContentBody, equals, forEachBucket, getAggregations, getDocCount, getProperty, hashCode, mustReduceOnSingleInternalAgg, reduce, reducePipelines, sortValue, sortValueMethods inherited from class org.elasticsearch.search.aggregations.InternalAggregation
getMetadata, getName, getProperty, getType, isMapped, mergePipelineTreeForBWCSerialization, pipelineAggregatorsForBwcSerialization, readSize, toString, toXContent, writeSize, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetadata, getName, getTypeMethods inherited from interface org.elasticsearch.search.aggregations.bucket.SingleBucketAggregation
getAggregations, getDocCountMethods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContentMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
InternalChildren
public InternalChildren(java.lang.String name, long docCount, org.elasticsearch.search.aggregations.InternalAggregations aggregations, java.util.Map<java.lang.String,java.lang.Object> metadata) -
InternalChildren
public InternalChildren(org.elasticsearch.common.io.stream.StreamInput in) throws java.io.IOExceptionRead from a stream.- Throws:
java.io.IOException
-
-
Method Details
-
getWriteableName
public java.lang.String getWriteableName()- Specified by:
getWriteableNamein interfaceorg.elasticsearch.common.io.stream.NamedWriteable
-
newAggregation
protected org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation newAggregation(java.lang.String name, long docCount, org.elasticsearch.search.aggregations.InternalAggregations subAggregations)- Specified by:
newAggregationin classorg.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation
-