Class InternalParent

java.lang.Object
org.elasticsearch.search.aggregations.InternalAggregation
org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation
org.elasticsearch.join.aggregations.InternalParent
All Implemented Interfaces:
org.elasticsearch.common.io.stream.NamedWriteable, org.elasticsearch.common.io.stream.Writeable, Parent, org.elasticsearch.search.aggregations.Aggregation, org.elasticsearch.search.aggregations.bucket.SingleBucketAggregation, org.elasticsearch.search.aggregations.HasAggregations, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentFragment

public class InternalParent extends org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation implements Parent
  • 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.ReduceContextBuilder

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

    org.elasticsearch.search.aggregations.Aggregation.CommonFields

    Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent

    org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params

    Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

    org.elasticsearch.common.io.stream.Writeable.Reader<V extends Object>, org.elasticsearch.common.io.stream.Writeable.Writer<V extends 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

    Fields inherited from interface org.elasticsearch.xcontent.ToXContent

    EMPTY_PARAMS
  • Constructor Summary

    Constructors
    Constructor
    Description
    InternalParent(String name, long docCount, org.elasticsearch.search.aggregations.InternalAggregations aggregations, Map<String,Object> metadata)
     
    InternalParent(org.elasticsearch.common.io.stream.StreamInput in)
    Read from a stream.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation
    newAggregation(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, 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

    Methods inherited from interface org.elasticsearch.xcontent.ToXContent

    toXContent

    Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment

    isFragment
  • Constructor Details

    • InternalParent

      public InternalParent(String name, long docCount, org.elasticsearch.search.aggregations.InternalAggregations aggregations, Map<String,Object> metadata)
    • InternalParent

      public InternalParent(org.elasticsearch.common.io.stream.StreamInput in) throws IOException
      Read from a stream.
      Throws:
      IOException
  • Method Details

    • getWriteableName

      public String getWriteableName()
      Specified by:
      getWriteableName in interface org.elasticsearch.common.io.stream.NamedWriteable
    • newAggregation

      protected org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation newAggregation(String name, long docCount, org.elasticsearch.search.aggregations.InternalAggregations subAggregations)
      Specified by:
      newAggregation in class org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation