class %ZEN.Report.Aggregate.CountDistinct
extends %ZEN.Report.CustomAggregate
Aggregate for counting the number of distinct values in a set of data
property Count
as %Integer [ InitialExpression = 0 ];
Running count of distinct values processed
property Values
as array of %String;
Array of values processed
method GetResult()
as %String
Return the count of distinct values processsed
method ProcessValue(pValue As %String)
as %Status
Processes each new value