C# Class Azavea.Open.DAO.GroupCountResult

Represents the results from a count of records grouped (aggregated) by some field or fields.
Show file Open project: azavea/net-dao

Public Properties

Property Type Description
Count int
GroupValues object>.IDictionary

Public Methods

Method Description
GroupCountResult ( int count, object>.IDictionary values ) : System

Creates the result.

Method Details

GroupCountResult() public method

Creates the result.
public GroupCountResult ( int count, object>.IDictionary values ) : System
count int
values object>.IDictionary
return System

Property Details

Count public property

The number of results found with this combination of group values.
public int Count
return int

GroupValues public property

The combination of group values that occurs Count times in the data source. Group values are a single set of unique values for the fields you grouped by, with key being the name of the grouping and value being the value (I.E. key is "Type" value is "1" and key is "FirstName" value is "Bob", Count would then be the number of records in the data source with a Type of "1" and a FirstName of "Bob".
public IDictionary GroupValues
return object>.IDictionary