Aggregation
import type { Aggregation } from "https://googleapis.deno.dev/v1/migrationcenter:v1.ts";
Message describing an aggregation. The message includes the aggregation type, parameters, and the field on which to perform the aggregation.
interface Aggregation {
count?: AggregationCount;
field?: string;
frequency?: AggregationFrequency;
histogram?: AggregationHistogram;
sum?: AggregationSum;
}§Properties
§
count?: AggregationCount
[src]Count the number of matching objects.
§
frequency?: AggregationFrequency
[src]Creates a frequency distribution of all field values.
§
histogram?: AggregationHistogram
[src]Creates a bucketed histogram of field values.
§
sum?: AggregationSum
[src]Sum over a numeric field.