Class AggregationResultItem
Inheritance
AggregationResultItem
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class AggregationResultItem
Properties
True if the current result item matches on of the aggregation filters sent in the query.
Declaration
[JsonProperty("active", Required = Required.Always)]
public bool Active { get; set; }
Property Value
Inner aggregation results, if inner aggregations were provided in the query.
Declaration
[JsonProperty("aggregationResults", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<AggregationResult> AggregationResults { get; set; }
Property Value
Declaration
[JsonProperty("count", Required = Required.Always)]
public long Count { get; set; }
Property Value
Detailed information about the aggregation result item.
Declaration
[JsonProperty("detail", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public AggregationResultItemDetailBase Detail { get; set; }
Property Value
Ready to use filter to filter the data based on the aggregation result values.
It can be passed as one of the aggregation filters of an aggregation query: it returns documents meeting the aggregation condition.
Declaration
[JsonProperty("filter", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public AggregationFilter Filter { get; set; }
Property Value
Declaration
[JsonProperty("name", Required = Required.Always)]
[Required]
public string Name { get; set; }
Property Value
Methods
Declaration
public static AggregationResultItem FromJson(string data)
Parameters
Returns