Class: Google::Cloud::Talent::V4beta1::HistogramQueryResult
- Inherits:
-
Object
- Object
- Google::Cloud::Talent::V4beta1::HistogramQueryResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/talent/v4beta1/histogram.rb
Overview
Histogram result that matches HistogramQuery specified in searches.
Defined Under Namespace
Classes: HistogramEntry
Instance Attribute Summary collapse
-
#histogram ⇒ ::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.
-
#histogram_query ⇒ ::String
Requested histogram expression.
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 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
.
58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'proto_docs/google/cloud/talent/v4beta1/histogram.rb', line 58 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.
58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'proto_docs/google/cloud/talent/v4beta1/histogram.rb', line 58 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 |