Class NumericRangeAggregator
A multi-bucket range aggregator.
Inheritance
NumericRangeAggregator
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class NumericRangeAggregator : AggregatorBase
Properties
The field's ID to execute the aggregation on.
Declaration
[JsonProperty("field", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string Field { get; set; }
Property Value
A list of numeric ranges on which aggregate.
Declaration
[JsonProperty("ranges", Required = Required.Always)]
[Required]
public ICollection<NumericRangeForAggregator> Ranges { get; set; }
Property Value
Methods
Declaration
public static NumericRangeAggregator FromJson(string data)
Parameters
Returns