Class ExpressionCountAggregationResult

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.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:
    Serialized Form
    • Field Detail

      • classId

        public static final int classId
    • Constructor Detail

      • 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.