Class ExpressionCountAggregationResult

java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
com.yahoo.searchlib.expression.ExpressionNode
com.yahoo.searchlib.aggregation.AggregationResult
com.yahoo.searchlib.aggregation.ExpressionCountAggregationResult
All Implemented Interfaces:
Serializable, Cloneable

public class ExpressionCountAggregationResult extends AggregationResult
This is an aggregated result holding the number of unique documents matching a given expression.
Author:
bjorncs
See Also:
  • Field Details

    • classId

      public static final int classId
  • Constructor Details

    • ExpressionCountAggregationResult

      public ExpressionCountAggregationResult()
      Constructor used for deserialization. Will be instantiated with a default sketch.
    • ExpressionCountAggregationResult

      public ExpressionCountAggregationResult(Sketch<?> initialSketch, UniqueCountEstimator<Sketch<?>> estimator)
      Constructs an instance with a given sketch, sketch merger and unique count estimator. For test purposes.
      Parameters:
      initialSketch - the HLL sketch
  • Method Details