Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HistogramQueryResult

import type { HistogramQueryResult } from "https://googleapis.deno.dev/v1/jobs:v4.ts";

Histogram result that matches HistogramQuery specified in searches.

interface HistogramQueryResult {
histogram?: {
[key: string]: bigint;
}
;
histogramQuery?: string;
}

§Properties

§
histogram?: {
[key: string]: bigint;
}
[src]

A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field. * (for named numeric bucket) name specified in bucket() function, like for bucket(0, MAX, "non-negative"), the key will be non-negative. * (for anonymous numeric bucket) range formatted as -, for example, 0-1000, MIN-0, and 0-MAX.

§
histogramQuery?: string
[src]

Requested histogram expression.