Class MultiValuesSourceAggregatorFactory

java.lang.Object
org.elasticsearch.search.aggregations.AggregatorFactory
org.elasticsearch.search.aggregations.support.MultiValuesSourceAggregatorFactory

public abstract class MultiValuesSourceAggregatorFactory
extends AggregatorFactory
  • Field Details

  • Constructor Details

  • Method Details

    • createInternal

      public Aggregator createInternal​(Aggregator parent, CardinalityUpperBound cardinality, java.util.Map<java.lang.String,​java.lang.Object> metadata) throws java.io.IOException
      Specified by:
      createInternal in class AggregatorFactory
      Throws:
      java.io.IOException
    • createUnmapped

      protected abstract Aggregator createUnmapped​(Aggregator parent, java.util.Map<java.lang.String,​java.lang.Object> metadata) throws java.io.IOException
      Create an aggregator that won't collect anything but will return an appropriate empty aggregation.
      Throws:
      java.io.IOException
    • doCreateInternal

      protected abstract Aggregator doCreateInternal​(java.util.Map<java.lang.String,​ValuesSourceConfig> configs, DocValueFormat format, Aggregator parent, CardinalityUpperBound cardinality, java.util.Map<java.lang.String,​java.lang.Object> metadata) throws java.io.IOException
      Create the Aggregator.
      Parameters:
      cardinality - Upper bound of the number of owningBucketOrds that the Aggregator created by this method will be asked to collect.
      Throws:
      java.io.IOException