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 <low>-<high>, for example, 0-1000, MIN-0, and 0-MAX.
getHistogramQuery
Requested histogram expression.
Returns
Type
Description
string
setHistogramQuery
Requested histogram expression.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getHistogram
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 <low>-<high>, for
example, 0-1000, MIN-0, and 0-MAX.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Talent Solution V4 Client - Class HistogramQueryResult (2.1.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.3 (latest)](/php/docs/reference/cloud-talent/latest/V4.HistogramQueryResult)\n- [2.1.2](/php/docs/reference/cloud-talent/2.1.2/V4.HistogramQueryResult)\n- [2.0.2](/php/docs/reference/cloud-talent/2.0.2/V4.HistogramQueryResult)\n- [1.3.5](/php/docs/reference/cloud-talent/1.3.5/V4.HistogramQueryResult)\n- [1.2.2](/php/docs/reference/cloud-talent/1.2.2/V4.HistogramQueryResult)\n- [1.1.1](/php/docs/reference/cloud-talent/1.1.1/V4.HistogramQueryResult)\n- [1.0.5](/php/docs/reference/cloud-talent/1.0.5/V4.HistogramQueryResult) \nReference documentation and code samples for the Google Cloud Talent Solution V4 Client class HistogramQueryResult.\n\nHistogram result that matches\n[HistogramQuery](/php/docs/reference/cloud-talent/latest/V4.HistogramQuery) specified in\nsearches.\n\nGenerated from protobuf message `google.cloud.talent.v4.HistogramQueryResult`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Talent \\\\ V4\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getHistogramQuery\n\nRequested histogram expression.\n\n### setHistogramQuery\n\nRequested histogram expression.\n\n### getHistogram\n\nA map from the values of the facet associated with distinct values to the\nnumber of matching entries with corresponding value.\n\nThe key format is:\n\n- (for string histogram) string values stored in the field.\n- (for named numeric bucket) name specified in `bucket()` function, like for `bucket(0, MAX, \"non-negative\")`, the key will be `non-negative`.\n- (for anonymous numeric bucket) range formatted as `\u003clow\u003e-\u003chigh\u003e`, for example, `0-1000`, `MIN-0`, and `0-MAX`.\n\n### setHistogram\n\nA map from the values of the facet associated with distinct values to the\nnumber of matching entries with corresponding value.\n\nThe key format is:\n\n- (for string histogram) string values stored in the field.\n- (for named numeric bucket) name specified in `bucket()` function, like for `bucket(0, MAX, \"non-negative\")`, the key will be `non-negative`.\n- (for anonymous numeric bucket) range formatted as `\u003clow\u003e-\u003chigh\u003e`, for example, `0-1000`, `MIN-0`, and `0-MAX`."]]