((Apenas para componentes do Flex Data Visualization))
Pacotemx.olap
Classepublic class OLAPResult
HerançaOLAPResult Inheritance Object
Implementa IOLAPResult

The OLAPResult class represents the result of a query on an OLAP cube.

Veja também

mx.olap.IOLAPResult
mx.olap.OLAPQuery
mx.olap.OLAPQueryAxis
mx.olap.IOLAPResultAxis
mx.olap.OLAPResultAxis


Propriedades Públicas
 PropriedadeDefinido por
  axes : Array
[read-only] An Array of IOLAPResultAxis instances that represent all the axes of the query.
OLAPResult
  COLUMN_AXIS : int = 0
[static] Specifies a column axis.
OLAPResult
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  query : IOLAPQuery
The query whose result is represented by this object.
OLAPResult
  ROW_AXIS : int = 1
[static] Specifies a row axis.
OLAPResult
  SLICER_AXIS : int = 2
[static] Specifies a slicer axis.
OLAPResult
Propriedades Protegidas
 PropriedadeDefinido por
  cellData : Array
OLAPResult
Métodos Públicos
 MétodoDefinido por
  
getAxis(axisOrdinal:int):IOLAPResultAxis
Returns an axis of the query result.
OLAPResult
  
Returns a cell at the specified location in the query result.
OLAPResult
 Inherited
Indicates whether an object has a specified property defined.
Object
  
hasRowData(rowIndex:int):Boolean
Returns true if the row contains data.
OLAPResult
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Detalhes da propriedade
axespropriedade
axes:Array  [read-only]

An Array of IOLAPResultAxis instances that represent all the axes of the query.


Implementação
    public function get axes():Array
cellDatapropriedade 
protected var cellData:Array
COLUMN_AXISpropriedade 
public static var COLUMN_AXIS:int = 0

Specifies a column axis. Use this property as a value of the axisOrdinal argument to the getAxis() method.

querypropriedade 
query:IOLAPQuery  [read-write]

The query whose result is represented by this object.


Implementação
    public function get query():IOLAPQuery
    public function set query(value:IOLAPQuery):void
ROW_AXISpropriedade 
public static var ROW_AXIS:int = 1

Specifies a row axis. Use this property as a value of the axisOrdinal argument to the getAxis() method.

SLICER_AXISpropriedade 
public static var SLICER_AXIS:int = 2

Specifies a slicer axis. Use this property as a value of the axisOrdinal argument to the getAxis() method.

Detalhes do método
getAxis()método
public function getAxis(axisOrdinal:int):IOLAPResultAxis

Returns an axis of the query result.

Parâmetros

axisOrdinal:int — Specify OLAPQuery.COLUMN AXIS for a column axis, OLAPQuery.ROW_AXIS for a row axis, and OLAPQuery.SLICER_AXIS for a slicer axis.

Retorna
IOLAPResultAxis — The IOLAPQueryAxis instance.
getCell()método 
public function getCell(x:int, y:int):IOLAPCell

Returns a cell at the specified location in the query result.

Parâmetros

x:int — The column of the query result.
 
y:int — The row of the query result.

Retorna
IOLAPCell — An IOLAPCell instance representing the cell.
hasRowData()método 
public function hasRowData(rowIndex:int):Boolean

Returns true if the row contains data.

Parâmetros

rowIndex:int — The index of the row in the result.

Retorna
Booleantrue if the row contains data, and false if not.