This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).


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

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

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

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 (Including Private)

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 (Including Private)

Inherited Methods (Including Private)

FeedbackOpens in a new window