GroupingResult
Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories.Query
Represents the result of a grouping
public class GroupingResult
Inheritance Object → GroupingResult
Properties
GroupByAttributeNames
Attribute names that were used to group the result
public IEnumerable<string> GroupByAttributeNames { get; }
Property Value
Keys
Returns the values of the keys that were used to group the result
public IEnumerable<object> Keys { get; }
Property Value
Count
Returns the count of items in the group
public long Count { get; }
Property Value
CountStatistics
Returns the count statistics for each attribute
public IEnumerable<StatisticsResult> CountStatistics { get; }
Property Value
MinStatistics
Returns the min statistics for each attribute
public IEnumerable<StatisticsResult> MinStatistics { get; }
Property Value
MaxStatistics
Returns the max statistics for each attribute
public IEnumerable<StatisticsResult> MaxStatistics { get; }
Property Value
AvgStatistics
Returns the average value statistics for each attribute
public IEnumerable<StatisticsResult> AvgStatistics { get; }
Property Value
Constructors
GroupingResult(IEnumerable<String>, IEnumerable<Object>, Int64, IEnumerable<StatisticsResult>, IEnumerable<StatisticsResult>, IEnumerable<StatisticsResult>, IEnumerable<StatisticsResult>)
Constructor
public GroupingResult(IEnumerable<string> groupByAttributeNames, IEnumerable<object> keys, long count, IEnumerable<StatisticsResult> countStatistics, IEnumerable<StatisticsResult> minStatistics, IEnumerable<StatisticsResult> maxStatistics, IEnumerable<StatisticsResult> avgStatistics)
Parameters
groupByAttributeNames
IEnumerable<String>
The attribute names that were used to group the result
keys
IEnumerable<Object>
Values of the keys that were used to group the result
count
Int64
Count of items in the group
countStatistics
IEnumerable<StatisticsResult>
Count statistics for each attribute
minStatistics
IEnumerable<StatisticsResult>
Min statistics for each attribute
maxStatistics
IEnumerable<StatisticsResult>
Max statistics for each attribute
avgStatistics
IEnumerable<StatisticsResult>
Average value statistics for each attribute