Pacote | mx.olap.aggregators |
Classe | public class AverageAggregator |
Herança | AverageAggregator Object |
Implementações | IOLAPCustomAggregator |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
OLAPMeasure.aggregator
property
to "AVG"
.
Elementos da API relacionados
Método | Definido por | ||
---|---|---|---|
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 | ||
Indica se um objeto tem uma propriedade especificada definida. | Object | ||
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | ||
Indica se a propriedade especificada existe e é enumerável. | Object | ||
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | ||
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | ||
Retorna a representação de string do objeto especificado. | Object | ||
Retorna o valor primitivo do objeto especificado. | Object |
computeBegin | () | método |
public function computeBegin(dataField:String):Object
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Flex calls this method to start the computation of an aggregation value.
Parâmetros
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 | () | método |
public function computeEnd(data:Object, dataField:String):Number
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Flex calls this method to end the computation of the aggregation value.
Parâmetros
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 | () | método |
public function computeLoop(data:Object, dataField:String, rowData:Object):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Flex calls this method when a new value needs to be added to the aggregation.
Parâmetros
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 | () | método |
public function computeObjectBegin(value:Object):Object
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | 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.
Parâmetros
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 | () | método |
public function computeObjectEnd(oldValue:Object, dataField:String):Number
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Flex calls this method to end the computation.
Parâmetros
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 | () | método |
public function computeObjectLoop(oldValue:Object, newValue:Object):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Flex calls this method when a new aggregated value needs to be added to the aggregation.
Parâmetros
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:10 AM Z