ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
mx.olap 

OLAPQuery  - AS3 Flex

Packagemx.olap
Classpublic class OLAPQuery
InheritanceOLAPQuery Inheritance Object
Implements IOLAPQuery

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The OLAPQuery interface represents an OLAP query that is executed on an IOLAPCube.

MXML SyntaxexpandedHide MXML Syntax

The <mx:OLAPQuery> tag inherits all of the tag attributes of its superclass, and adds the following tag attributes:

  <mx:OLAPQuery
    Properties
       axis=""
  />
 
  

Default MXML Propertyaxes

More examples

Related API Elements



Public Properties
 PropertyDefined By
  axes : Array
The axis of the Query as an Array of OLAPQueryAxis instances.
OLAPQuery
  COLUMN_AXIS : int = 0
[static] Specifies a column axis.
OLAPQuery
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  ROW_AXIS : int = 1
[static] Specifies a row axis.
OLAPQuery
  SLICER_AXIS : int = 2
[static] Specifies a slicer axis.
OLAPQuery
Public Methods
 MethodDefined By
  
Gets an axis from the query.
OLAPQuery
 Inherited
Indicates whether an object has a specified property defined.
Object
 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
  
setAxis(axisOrdinal:int, axis:IOLAPQueryAxis):void
Sets an axis to the query.
OLAPQuery
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

axes

property
axes:Array

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The axis of the Query as an Array of OLAPQueryAxis instances. A query can have three axes: column, row, and slicer.



Implementation
    public function get axes():Array
    public function set axes(value:Array):void

COLUMN_AXIS

property 
public static var COLUMN_AXIS:int = 0

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

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

ROW_AXIS

property 
public static var ROW_AXIS:int = 1

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

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

SLICER_AXIS

property 
public static var SLICER_AXIS:int = 2

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

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

Method Detail

getAxis

()method
public function getAxis(axisOrdinal:int):IOLAPQueryAxis

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Gets an axis from the query. You typically call this method to obtain an uninitialized IOLAPQueryAxis instance, then configure the IOLAPQueryAxis instance for the query.

Parameters

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.

Returns
IOLAPQueryAxis — The IOLAPQueryAxis instance.

setAxis

()method 
public function setAxis(axisOrdinal:int, axis:IOLAPQueryAxis):void

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Sets an axis to the query.

Parameters

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.
 
axis:IOLAPQueryAxis — The IOLAPQueryAxis instance.