Skip to main content

%ZEN.Report.Aggregate.CountDistinct

class %ZEN.Report.Aggregate.CountDistinct extends %ZEN.Report.CustomAggregate

Aggregate for counting the number of distinct values in a set of data

Property Inventory

Method Inventory

Properties

property Count as %Integer [ InitialExpression = 0 ];
Running count of distinct values processed
Property methods: CountDisplayToLogical(), CountGet(), CountIsValid(), CountLogicalToDisplay(), CountNormalize(), CountSet(), CountXSDToLogical()
property Values as array of %String;
Array of values processed
Property methods: ValuesBuildValueArray(), ValuesCollectionToDisplay(), ValuesCollectionToOdbc(), ValuesDisplayToCollection(), ValuesDisplayToLogical(), ValuesGet(), ValuesGetObject(), ValuesGetObjectId(), ValuesGetSwizzled(), ValuesIsValid(), ValuesLogicalToDisplay(), ValuesLogicalToOdbc(), ValuesNormalize(), ValuesOdbcToCollection(), ValuesSet(), ValuesSetObject(), ValuesSetObjectId()

Methods

method GetResult() as %String
Return the count of distinct values processsed
method ProcessValue(pValue As %String) as %Status
Processes each new value

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab