Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation

        org.elasticsearch.search.aggregations.Aggregation.CommonFields
      • Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.InternalAggregation

        org.elasticsearch.search.aggregations.InternalAggregation.ReduceContext
      • Nested 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.Params
      • Nested 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 interface org.elasticsearch.search.aggregations.Aggregation

        TYPED_KEYS_DELIMITER
      • Fields inherited from class org.elasticsearch.search.aggregations.InternalAggregation

        metaData, name
      • Fields 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.List<org.elasticsearch.search.aggregations.pipeline.PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData)  
      InternalChildren​(org.elasticsearch.common.io.stream.StreamInput in)
      Read from a stream.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getWriteableName()  
      protected org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation newAggregation​(java.lang.String name, long docCount, org.elasticsearch.search.aggregations.InternalAggregations subAggregations)  
      • Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation

        getMetaData, getName, getType
      • Methods inherited from class org.elasticsearch.search.aggregations.InternalAggregation

        equals, getMetaData, getName, getProperty, getType, hashCode, isMapped, pipelineAggregators, readSize, reduce, toString, toXContent, writeSize, writeTo
      • Methods inherited from class org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation

        create, doEquals, doHashCode, doReduce, doWriteTo, doXContentBody, getAggregations, getDocCount, getProperty
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.elasticsearch.search.aggregations.bucket.SingleBucketAggregation

        getAggregations, getDocCount
      • Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent

        toXContent
      • Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment

        isFragment
    • Constructor Detail

      • InternalChildren

        public InternalChildren​(java.lang.String name,
                                long docCount,
                                org.elasticsearch.search.aggregations.InternalAggregations aggregations,
                                java.util.List<org.elasticsearch.search.aggregations.pipeline.PipelineAggregator> pipelineAggregators,
                                java.util.Map<java.lang.String,java.lang.Object> metaData)
      • InternalChildren

        public InternalChildren​(org.elasticsearch.common.io.stream.StreamInput in)
                         throws java.io.IOException
        Read from a stream.
        Throws:
        java.io.IOException
    • Method Detail

      • getWriteableName

        public java.lang.String getWriteableName()
        Specified by:
        getWriteableName in interface org.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:
        newAggregation in class org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation