Class HistogramQueryResult (1.2.0)

public sealed class HistogramQueryResult : IMessage<HistogramQueryResult>, IEquatable<HistogramQueryResult>, IDeepCloneable<HistogramQueryResult>, IBufferMessage, IMessage

Histogram result that matches [HistogramQuery][google.cloud.talent.v4.HistogramQuery] specified in searches.

Inheritance

Object > HistogramQueryResult

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.dll

Constructors

HistogramQueryResult()

public HistogramQueryResult()

HistogramQueryResult(HistogramQueryResult)

public HistogramQueryResult(HistogramQueryResult other)
Parameter
NameDescription
otherHistogramQueryResult

Properties

Histogram

public MapField<string, long> Histogram { get; }

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, &quot;non-negative&quot;), the key will be non-negative.
  • (for anonymous numeric bucket) range formatted as &lt;low>-&lt;high>, for example, 0-1000, MIN-0, and 0-MAX.
Property Value
TypeDescription
MapField<String, Int64>

HistogramQuery

public string HistogramQuery { get; set; }

Requested histogram expression.

Property Value
TypeDescription
String