Class ParentAggregatorFactory

java.lang.Object
org.elasticsearch.search.aggregations.AggregatorFactory
org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory
org.elasticsearch.join.aggregations.ParentAggregatorFactory

public class ParentAggregatorFactory extends org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory
  • Field Summary

    Fields inherited from class org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory

    config

    Fields inherited from class org.elasticsearch.search.aggregations.AggregatorFactory

    context, factories, metadata, name, parent
  • Constructor Summary

    Constructors
    Constructor
    Description
    ParentAggregatorFactory(String name, org.elasticsearch.search.aggregations.support.ValuesSourceConfig config, org.apache.lucene.search.Query childFilter, org.apache.lucene.search.Query parentFilter, org.elasticsearch.search.aggregations.support.AggregationContext context, org.elasticsearch.search.aggregations.AggregatorFactory parent, org.elasticsearch.search.aggregations.AggregatorFactories.Builder subFactoriesBuilder, Map<String,Object> metadata)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.elasticsearch.search.aggregations.Aggregator
    createUnmapped(org.elasticsearch.search.aggregations.Aggregator parent, Map<String,Object> metadata)
     
    protected org.elasticsearch.search.aggregations.Aggregator
    doCreateInternal(org.elasticsearch.search.aggregations.Aggregator children, org.elasticsearch.search.aggregations.CardinalityUpperBound cardinality, Map<String,Object> metadata)
     
     

    Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory

    createInternal

    Methods inherited from class org.elasticsearch.search.aggregations.AggregatorFactory

    create, doValidate, getParent, name

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ParentAggregatorFactory

      public ParentAggregatorFactory(String name, org.elasticsearch.search.aggregations.support.ValuesSourceConfig config, org.apache.lucene.search.Query childFilter, org.apache.lucene.search.Query parentFilter, org.elasticsearch.search.aggregations.support.AggregationContext context, org.elasticsearch.search.aggregations.AggregatorFactory parent, org.elasticsearch.search.aggregations.AggregatorFactories.Builder subFactoriesBuilder, Map<String,Object> metadata) throws IOException
      Throws:
      IOException
  • Method Details

    • createUnmapped

      protected org.elasticsearch.search.aggregations.Aggregator createUnmapped(org.elasticsearch.search.aggregations.Aggregator parent, Map<String,Object> metadata) throws IOException
      Specified by:
      createUnmapped in class org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory
      Throws:
      IOException
    • doCreateInternal

      protected org.elasticsearch.search.aggregations.Aggregator doCreateInternal(org.elasticsearch.search.aggregations.Aggregator children, org.elasticsearch.search.aggregations.CardinalityUpperBound cardinality, Map<String,Object> metadata) throws IOException
      Specified by:
      doCreateInternal in class org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory
      Throws:
      IOException
    • getStatsSubtype

      public String getStatsSubtype()
      Overrides:
      getStatsSubtype in class org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory