DocBook|Search
Class Reference
%ZEN.Report.Aggregate.CountDistinct
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%ZEN] >  [Report] >  [Aggregate] >  [CountDistinct]
Private  Storage  

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

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 2


Summary

Properties
Count Values accumIf class escape
excelFormula excelName expression field fields
format name type uniqueId

Methods
%%OIDGet %AddToSaveSet %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Extends %GetParameter %IsA %IsModified
%New %NormalizeObject %ObjectModified %OriginalNamespace
%PackageName %RemoveFromSaveSet %SerializeObject %SetModified
%ValidateObject GetResult ProcessValue XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType fieldIsValid
nameIsValid


Properties

• property Count as %Integer [ InitialExpression = 0 ];
Running count of distinct values processed
• property Values as array of %String;
Array of values processed

Methods

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