Class QueryCalculationAggregation

All Implemented Interfaces:

public class QueryCalculationAggregation
extends QueryAggregation
Returns a scalar calculation across all documents for the field specified. Possible calculations include min, max, sum, average, and unique_count.
  • Constructor Details

    • QueryCalculationAggregation

      public QueryCalculationAggregation()
  • Method Details

    • getField

      public String getField()
      Gets the field.

      The field to perform the calculation on.

      the field
    • getValue

      public Double getValue()
      Gets the value.

      The value of the calculation.

      the value