IRISLIB database
aggregate Class Reference

Base class for calculating MDX aggregates. More...

Inheritance diagram for aggregate:
Collaboration diagram for aggregate:

Public Member Functions

_.Library.Double GetResult (_.Library.Status pStatus)
 GetResult is invoked after every target value has been processed to return. More...
 
_.Library.Status ProcessValue (_.Library.Double pValue)
 ProcessValue is called sequentially on each value in a target set. More...
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Public Attributes

 Count
 Keeps a running count of values processed. More...
 
 data
 Array of processed values. More...
 

Static Private Member Functions

 PostProcessValue (_.Library.Double result)
 Perform any specific validation or other postprocessing just before returning the final value.
 
 PreProcessValue (_.Library.Double value)
 Perform any specific validation or other preprocessing just before adding the value to the set.
 

Additional Inherited Members

- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

Base class for calculating MDX aggregates.

This provides the basic interface for aggregartes as used in the MDX engine.

Member Function Documentation

◆ GetResult()

_.Library.Double GetResult ( _.Library.Status  pStatus)

GetResult is invoked after every target value has been processed to return.

the final value of the aggregate.

Reimplemented in VarP, Var, StDevP, StDev, PercentileRank, Percentile, and Median.

◆ ProcessValue()

_.Library.Status ProcessValue ( _.Library.Double  pValue)

ProcessValue is called sequentially on each value in a target set.

The default behavior of this method is to file the

value in the data array in order of arrival.

Reimplemented in VarP, StDevP, PercentileRank, and Percentile.

Member Data Documentation

◆ Count

Count

Keeps a running count of values processed.

 

◆ data

data

Array of processed values.