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