Paket | mx.olap.aggregators |
Klass | public class SumAggregator |
Arv | SumAggregator Object |
Implementerar | IOLAPCustomAggregator |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
OLAPMeasure.aggregator
property
to "SUM"
.
Relaterade API-element
Metod | Definieras med | ||
---|---|---|---|
Flex calls this method to start the computation of an aggregation value. | SumAggregator | ||
Flex calls this method to end the computation of the aggregation value. | SumAggregator | ||
Flex calls this method when a new value needs to be added to the aggregation. | SumAggregator | ||
Flex calls this method to start aggregation of aggregated values. | SumAggregator | ||
Flex calls this method to end the computation. | SumAggregator | ||
Flex calls this method when a new aggregated value needs to be added to the aggregation. | SumAggregator | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object |
computeBegin | () | metod |
public function computeBegin(dataField:String):Object
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Flex calls this method to start the computation of an aggregation value.
Parametrar
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 | () | metod |
public function computeEnd(data:Object, dataField:String):Number
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Flex calls this method to end the computation of the aggregation value.
Parametrar
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 | () | metod |
public function computeLoop(data:Object, dataField:String, rowData:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Flex calls this method when a new value needs to be added to the aggregation.
Parametrar
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 | () | metod |
public function computeObjectBegin(value:Object):Object
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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.
Parametrar
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 | () | metod |
public function computeObjectEnd(oldValue:Object, dataField:String):Number
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Flex calls this method to end the computation.
Parametrar
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 | () | metod |
public function computeObjectLoop(oldValue:Object, newValue:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Flex calls this method when a new aggregated value needs to be added to the aggregation.
Parametrar
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.
|
Tue Jun 12 2018, 01:40 PM Z