This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

%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

Feedback