Class: Google::Cloud::Talent::V4beta1::HistogramQueryResult

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#histogramHash{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 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.

Returns:

  • (Hash{String => Integer})

    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.


51
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb', line 51

class HistogramQueryResult; end

#histogram_queryString

Returns Requested histogram expression.

Returns:

  • (String)

    Requested histogram expression.



51
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb', line 51

class HistogramQueryResult; end