| 套件 | mx.olap |
| 類別 | public class OLAPQuery |
| 繼承 | OLAPQuery Object |
| 實作 | IOLAPQuery |
| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
隱藏 MXML 語法
The <mx:OLAPQuery> tag inherits all of the tag attributes
of its superclass, and adds the following tag attributes:
<mx:OLAPQuery
Properties
axis=""
/>
預設 MXML 屬性axes
更多範例
Preparing a cube for a query
Creating a query axis
Executing a query and returning the results to an OLAPDataGrid control
Writing a query for a simple OLAP cube
Writing a query for a complex OLAP cube
Creating a query using a nondefault measure
相關 API 元素
| 屬性 | 定義自 | ||
|---|---|---|---|
| axes : Array
The axis of the Query as an Array of OLAPQueryAxis instances. | OLAPQuery | ||
| COLUMN_AXIS : int = 0 [靜態]
Specifies a column axis. | OLAPQuery | ||
![]() | constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | |
| ROW_AXIS : int = 1 [靜態]
Specifies a row axis. | OLAPQuery | ||
| SLICER_AXIS : int = 2 [靜態]
Specifies a slicer axis. | OLAPQuery | ||
| 方法 | 定義自 | ||
|---|---|---|---|
Gets an axis from the query. | OLAPQuery | ||
![]() |
指出物件是否有已定義的指定屬性。 | Object | |
![]() |
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | |
![]() |
指出指定的屬性是否存在,以及是否可列舉。 | Object | |
Sets an axis to the query. | OLAPQuery | ||
![]() |
為迴圈作業設定動態屬性的可用性。 | Object | |
![]() |
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | |
![]() |
會傳回指定之物件的字串形式。 | Object | |
![]() |
會傳回指定之物件的基本值。 | Object | |
axes | 屬性 |
COLUMN_AXIS | 屬性 |
public static var COLUMN_AXIS:int = 0| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | 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 | 屬性 |
public static var ROW_AXIS:int = 1| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | 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 | 屬性 |
public static var SLICER_AXIS:int = 2| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
Specifies a slicer axis.
Use this property as a value of the axisOrdinal argument
to the getAxis() method.
getAxis | () | 方法 |
public function getAxis(axisOrdinal:int):IOLAPQueryAxis| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | 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.
參數
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.
|
IOLAPQueryAxis — The IOLAPQueryAxis instance.
|
setAxis | () | 方法 |
public function setAxis(axisOrdinal:int, axis:IOLAPQueryAxis):void| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
Sets an axis to the query.
參數
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.
|
Tue Jun 12 2018, 03:47 PM Z
顯示 MXML 語法