Pakket | mx.olap.aggregators |
Klasse | public class AverageAggregator |
Overerving | AverageAggregator Object |
Implementatie | IOLAPCustomAggregator |
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
OLAPMeasure.aggregator
property
to "AVG"
.
Verwante API-elementen
Methode | Gedefinieerd door | ||
---|---|---|---|
Flex calls this method to start the computation of an aggregation value. | AverageAggregator | ||
Flex calls this method to end the computation of the aggregation value. | AverageAggregator | ||
Flex calls this method when a new value needs to be added to the aggregation. | AverageAggregator | ||
Flex calls this method to start aggregation of aggregated values. | AverageAggregator | ||
Flex calls this method to end the computation. | AverageAggregator | ||
Flex calls this method when a new aggregated value needs to be added to the aggregation. | AverageAggregator | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
computeBegin | () | methode |
public function computeBegin(dataField:String):Object
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Flex calls this method to start the computation of an aggregation value.
Parameters
dataField:String — The name of the OLAPMeasure.dataField property
for the measure to be aggregated.
|
Object — An Object initialized for the aggregation.
Use this Object to hold any information necessary to perform the aggregation.
You pass this Object to subsequent calls to the computeLoop()
and computeEnd() methods.
|
computeEnd | () | methode |
public function computeEnd(data:Object, dataField:String):Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Flex calls this method to end the computation of the aggregation value.
Parameters
data:Object — The Object returned by the call to the computeLoop() method.
Use this Object to hold information necessary to perform the aggregation.
| |
dataField:String — The name of the OLAPMeasure.dataField property
for the measure to be aggregated.
|
Number — The aggregated value.
|
computeLoop | () | methode |
public function computeLoop(data:Object, dataField:String, rowData:Object):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Flex calls this method when a new value needs to be added to the aggregation.
Parameters
data:Object — The Object returned by the call to the computeBegin() method,
or calculated by a previous call to the computeLoop() method.
Use this Object to hold information necessary to perform the aggregation.
This method modifies this Object; it does not return a value.
| |
dataField:String — The name of the OLAPMeasure.dataField property
for the measure to be aggregated.
| |
rowData:Object — The object representing the rows data that is being analyzed.
|
computeObjectBegin | () | methode |
public function computeObjectBegin(value:Object):Object
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Flex calls this method to start aggregation of aggregated values. Calculating the average value of a group of averages is an example of an aggregation of aggregated values.
Parameters
value:Object — The Object returned by the call to the computeEnd() method
for a previous aggregation.
Use this Object to hold the information necessary to perform the aggregation.
|
Object — An Object initialized for the aggregation.
Use this Object to hold any information necessary to perform the aggregation.
You pass this Object to subsequent calls to the computeObjectLoop()
and computeObjectEnd() methods.
|
computeObjectEnd | () | methode |
public function computeObjectEnd(oldValue:Object, dataField:String):Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Flex calls this method to end the computation.
Parameters
oldValue:Object — The Object returned by a call to the computeObjectLoop() method
that is used to store the aggregation results.
This method modifies this Object; it does not return a value.
| |
dataField:String — The name of the OLAPMeasure.dataField property
for the measure to be aggregated.
|
Number — The aggregated value.
|
computeObjectLoop | () | methode |
public function computeObjectLoop(oldValue:Object, newValue:Object):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Flex calls this method when a new aggregated value needs to be added to the aggregation.
Parameters
oldValue:Object — The Object returned by a call the computeObjectBegin() method,
or calculated by a previous call to the computeObjectLoop() method.
This method modifies this Object; it does not return a value.
| |
newValue:Object — The Object returned by the call to the computeEnd() method
for a previous aggregation.
|
Wed Jun 13 2018, 11:42 AM Z