Class: Google::Cloud::Talent::V4beta1::HistogramQueryResult
- Inherits:
-
Object
- Object
- Google::Cloud::Talent::V4beta1::HistogramQueryResult
- Defined in:
- lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb
Overview
Histogram result that matches HistogramQuery specified in searches.
Instance Attribute Summary collapse
-
#histogram ⇒ Hash{String => Integer}
A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value.
-
#histogram_query ⇒ String
Requested histogram expression.
Instance Attribute Details
#histogram ⇒ Hash{String => Integer}
Returns 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 forbucket(0, MAX, "non-negative")
, the key will benon-negative
. - (for anonymous numeric bucket) range formatted as
<low>-<high>
, for example,0-1000
,MIN-0
, and0-MAX
.
51 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb', line 51 class HistogramQueryResult; end |
#histogram_query ⇒ String
Returns Requested histogram expression.
51 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb', line 51 class HistogramQueryResult; end |