Package | mx.olap |
Class | public class OLAPMeasure |
Inheritance | OLAPMeasure OLAPMember OLAPElement Proxy Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
More examples
Learn more
Public Properties
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 | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
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 | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
uniqueName : String [override] [read-only]
The unique name of the OLAP element in the cube. | OLAPMember |
Public Methods
Method | Defined By | ||
---|---|---|---|
Constructor. | OLAPMeasure | ||
Returns a child of this member with the given name. | OLAPMember | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the unique name of the element. | OLAPElement | ||
Returns the primitive value of the specified object. | Object |
Property Detail
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()}
Implementation
public function get aggregator():Object
public function set aggregator(value:Object):void
Related API Elements
Constructor Detail
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.
|
Mon Nov 28 2011, 06:48 AM -08:00