| 包 | mx.olap |
| 类 | public class OLAPQueryAxis |
| 继承 | OLAPQueryAxis Object |
| 实现 | IOLAPQueryAxis |
隐藏 MXML 语法
The <mx:OLAPQueryAxis> tag inherits all of the tag attributes
of its superclass, and adds the following tag attributes:
<mx:OLAPQueryAxis
Properties
/>
另请参见
| 属性 | 定义方 | ||
|---|---|---|---|
| axisOrdinal : int 轴的类型,对于列轴使用 OLAPQuery.COLUMN AXIS,对于行轴使用 OLAPQuery.ROW_AXIS,对于切片轴使用 OLAPQuery.SLICER_AXIS。 | OLAPQueryAxis | ||
![]() | constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | |
![]() | prototype : Object [静态]
对类或函数对象的原型对象的引用。 | Object | |
| sets : Array [只读 (read-only)] 查询轴的所有集,作为 IOLAPSet 实例数组。 | OLAPQueryAxis | ||
| tuples : Array [只读 (read-only)] 添加到查询轴的所有 tuple,作为 IOLAPTuple 实例数组。 | OLAPQueryAxis | ||
| 方法 | 定义方 | ||
|---|---|---|---|
OLAPQueryAxis(ordinal:int) 构造函数 | OLAPQueryAxis | ||
将单个成员添加到查询轴中。 | OLAPQueryAxis | ||
将集添加到查询轴中。 | OLAPQueryAxis | ||
将 tuple 添加到查询轴中。 | OLAPQueryAxis | ||
清除此轴上的所有集、tuple 和成员。 | OLAPQueryAxis | ||
![]() |
指示对象是否已经定义了指定的属性。 | Object | |
![]() |
指示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | |
![]() |
指示指定的属性是否存在、是否可枚举。 | Object | |
![]() |
设置循环操作动态属性的可用性。 | Object | |
![]() |
返回指定对象的字符串表示形式。 | Object | |
![]() |
返回指定对象的原始值。 | Object | |
| axisOrdinal | 属性 |
public var axisOrdinal:int
轴的类型,对于列轴使用 OLAPQuery.COLUMN AXIS,对于行轴使用 OLAPQuery.ROW_AXIS,对于切片轴使用 OLAPQuery.SLICER_AXIS。
| sets | 属性 |
sets:Array [只读 (read-only)]
查询轴的所有集,作为 IOLAPSet 实例数组。此数组包括使用 addMember() 和 addTuple() 方法添加的集。
public function get sets():Array| tuples | 属性 |
tuples:Array [只读 (read-only)]
添加到查询轴的所有 tuple,作为 IOLAPTuple 实例数组。此数组包括使用 addMember() 和 addSet() 方法添加的 tuple。
public function get tuples():Array| OLAPQueryAxis | () | 构造函数 |
public function OLAPQueryAxis(ordinal:int)构造函数
参数ordinal:int —
轴的类型。对列轴使用 OLAPQuery.COLUMN AXIS,对行轴使用 OLAPQuery.ROW_AXIS,对切片轴使用 OLAPQuery.SLICER_AXIS。
|
| addMember | () | 方法 |
public function addMember(s:IOLAPMember):void将单个成员添加到查询轴中。该成员会自动转换为 IOLPASet 实例。将成员添加到切片轴中时使用此方法。
参数
s:IOLAPMember — 要添加到查询中的成员。 |
| addSet | () | 方法 |
public function addSet(s:IOLAPSet):void将集添加到查询轴中。该集会定义为查询轴提供信息的成员和 tuple。
参数
s:IOLAPSet — 要添加到查询中的集。 |
| addTuple | () | 方法 |
public function addTuple(t:IOLAPTuple):void将 tuple 添加到查询轴中。tuple 会自动转换为 IOLPASet 实例。
参数
t:IOLAPTuple — 要添加到查询中的 tuple。 |
| clear | () | 方法 |
public function clear():void清除此轴上的所有集、tuple 和成员。