Class AverageMeasure
java.lang.Object
com.invirgance.convirgance.olap.Measure
com.invirgance.convirgance.olap.measures.AverageMeasure
Support for constructing average measures from metrics.
- Author:
- jbanes
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor that specifies the averaging function but leaves the name and the metric fields unassigned.AverageMeasure
(String name, Metric metric) Constructs an AverageMeasure with a specified name and metric. -
Method Summary
Methods inherited from class com.invirgance.convirgance.olap.Measure
getFunction, getMetric, getName, getStar, setFunction, setMetric, setName
-
Constructor Details
-
AverageMeasure
public AverageMeasure()Default constructor that specifies the averaging function but leaves the name and the metric fields unassigned. -
AverageMeasure
Constructs an AverageMeasure with a specified name and metric.- Parameters:
name
- the name assigned to the AverageMeasure as a Stringmetric
- the metric being averaged.
-