%ZEN.Report.Aggregate.Mode
class %ZEN.Report.Aggregate.Mode extends %ZEN.Report.CustomAggregate
Aggregate for computing the statistical mode (most frequent observation) of a set of dataProperty Inventory (Including Private)
Method Inventory (Including Private)
Properties (Including Private)
property Counts as array of %Integer;
Number of observations indexed by value
Property methods: CountsBuildValueArray(), CountsCollectionToDisplay(), CountsCollectionToOdbc(), CountsDisplayToCollection(), CountsDisplayToLogical(), CountsGet(), CountsGetObject(), CountsGetObjectId(), CountsGetSwizzled(), CountsIsValid(), CountsLogicalToDisplay(), CountsNormalize(), CountsOdbcToCollection(), CountsSet(), CountsSetObject(), CountsSetObjectId(), CountsXSDToLogical()
property MaxCount as %Integer [ InitialExpression = 0 ];
Largest count seen so far
Property methods: MaxCountDisplayToLogical(), MaxCountGet(), MaxCountIsValid(), MaxCountLogicalToDisplay(), MaxCountNormalize(), MaxCountSet(), MaxCountValuesDisplayToLogical(), MaxCountValuesGet(), MaxCountValuesIsValid(), MaxCountValuesLogicalToDisplay(), MaxCountValuesLogicalToOdbc(), MaxCountValuesNormalize(), MaxCountValuesSet(), MaxCountXSDToLogical()
property MaxCountValues as %String;
List of values that have occured MaxCount times.
Property methods: MaxCountValuesDisplayToLogical(), MaxCountValuesGet(), MaxCountValuesIsValid(), MaxCountValuesLogicalToDisplay(), MaxCountValuesLogicalToOdbc(), MaxCountValuesNormalize(), MaxCountValuesSet()
Methods (Including Private)
classmethod %PostProcessValue(result As %String, postprocessResult As %Boolean, runtimeMode As %Integer, ignoreNLS As %Boolean)
method GetResult() as %String
Returns the mode of the data set. If the data set was empty, "" is returned.
If there is no unique mode, the number of values occurring most frequently is
returned, as well as how many times these values occurred.
Processes each new value
Inherited Members
Inherited Properties (Including Private)
- accumIf
- class
- escape
- excelFormula
- excelName
- excelNumberFormat
- expression
- field
- fields
- filter
- format
- ignoreNLS
- name
- postprocessResult
- preprocessValue
- runtimeMode
- type
- uniqueId
Inherited Methods (Including Private)
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %ConstructCloneInit()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToSaveSet()
- %OnClose()
- %OnConstructClone()
- %OnNew()
- %OnValidateObject()
- %OriginalNamespace()
- %PackageName()
- %PreProcessValue()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLImportAttributes()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- fieldIsValid()
- nameIsValid()