Class: Google::Cloud::Talent::V4::HistogramQueryResult

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/talent/v4/histogram.rb

Overview

Histogram result that matches HistogramQuery specified in searches.

Defined Under Namespace

Classes: HistogramEntry

Instance Attribute Summary collapse

Instance Attribute Details

#histogram::Google::Protobuf::Map{::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:

  • (::Google::Protobuf::Map{::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.


56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/cloud/talent/v4/histogram.rb', line 56

class HistogramQueryResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Integer]
  class HistogramEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#histogram_query::String

Returns Requested histogram expression.

Returns:

  • (::String)

    Requested histogram expression.



56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/cloud/talent/v4/histogram.rb', line 56

class HistogramQueryResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Integer]
  class HistogramEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end