Package | mx.olap |
Class | public class OLAPMeasure |
Inheritance | OLAPMeasure OLAPMember OLAPElement flash.utils.Proxy |
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Property | Defined By | ||
---|---|---|---|
aggregator : Object
The aggregation to be performed for this measure. | OLAPMeasure | ||
children : IList [read-only]
The children of this member, as a list of IOLAPMember instances. | OLAPMember | ||
dataField : String
The field of the input data set that provides
the data for this OLAPMember instance. | OLAPMember | ||
dimension : IOLAPDimension [override]
The dimension to which this member belongs. | OLAPMember | ||
displayName : String
The name of the OLAP element, as a String, which can be used for display. | OLAPElement | ||
hierarchy : IOLAPHierarchy [read-only]
The hierarchy to which this member belongs. | OLAPMember | ||
isAll : Boolean [read-only]
Returns true if this is the all member of a hierarchy. | OLAPMember | ||
isMeasure : Boolean [read-only]
Returns true if this member represents a measure of a dimension. | OLAPMember | ||
level : IOLAPLevel
The level to which this member belongs. | OLAPMember | ||
name : String
The name of the OLAP element that includes the OLAP schema hierarchy of the element. | OLAPElement | ||
parent : IOLAPMember
The parent of this member. | OLAPMember | ||
uniqueName : String [override] [read-only]
The unique name of the OLAP element in the cube. | OLAPMember |
Method | Defined By | ||
---|---|---|---|
OLAPMeasure(name:String = null, displayName:String = null)
Constructor. | OLAPMeasure | ||
findChildMember(name:String):IOLAPMember
Returns a child of this member with the given name. | OLAPMember | ||
toString():String
Returns the unique name of the element. | OLAPElement |
aggregator | property |
aggregator:Object
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The aggregation to be performed for this measure.
You can use one of the following values for the property:
"SUM"
, "AVG"
, "MIN"
,
"MAX"
, or "COUNT"
.
You can also use a custom aggregator by implementing
the IOLAPCustomAggregator interface, then setting the aggregator
property to
that custom aggregator, as the following example shows:
aggregator={new CustomAgg()}
public function get aggregator():Object
public function set aggregator(value:Object):void
See also
OLAPMeasure | () | Constructor |
public function OLAPMeasure(name:String = null, displayName:String = null)
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Constructor.
Parametersname:String (default = null ) — The name of the OLAP element that includes the OLAP schema hierarchy of the element.
For example, "Time_Year", where "Year" is a level of the "Time" dimension in an OLAP schema.
| |
displayName:String (default = null ) — The name of the measure, as a String, which can be used for display.
|