套件 | mx.olap |
類別 | public class OLAPSet |
繼承 | OLAPSet Object |
實作 | IOLAPSet |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
相關 API 元素
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
tuples : Array [唯讀]
The tuples contained by this set instance,
as an Array of IOLAPTuple instances. | OLAPSet |
方法 | 定義自 | ||
---|---|---|---|
OLAPSet()
Constructor
| OLAPSet | ||
Adds a new member to the set. | OLAPSet | ||
Adds a list of members to the set. | OLAPSet | ||
Adds a new tuple to the set. | OLAPSet | ||
Returns a new IOLAPSet instance that contains a crossjoin of this
IOLAPSet instance and input. | OLAPSet | ||
指出物件是否有已定義的指定屬性。 | Object | ||
Returns a new IOLAPSet that is hierarchized version
of this set. | OLAPSet | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
Returns a new IOLAPSet instance that contains a union of this
IOLAPSet instance and input. | OLAPSet | ||
會傳回指定之物件的基本值。 | Object |
方法 | 定義自 | ||
---|---|---|---|
Returns information about the relative location of
two members in the set. | OLAPSet | ||
Returns the common IOLAPHierarchy instance for two tuples,
or null if the tuples do not share a hierarchy. | OLAPSet | ||
Returns information about the relative location of
two tuples in the set. | OLAPSet |
tuples | 屬性 |
OLAPSet | () | 建構函式 |
public function OLAPSet()
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Constructor
addElement | () | 方法 |
public function addElement(e:IOLAPElement):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Adds a new member to the set.
This method adds the appropriate elements to the set, depending on the type of element passed in. If an IOLAPHierarchy element is passed, it adds the default member of the hierarchy. If an IOLAPLevel element is passed, it adds all the members of the level. If an IOLAPMember element is passed, it is added to the set.
參數
e:IOLAPElement — The member to add.
If element is a hierarchy or level, its members
are added. If element is an instance of IOLAPMember,
it is added directly.
A new tuple is created for each member.
|
addElements | () | 方法 |
public function addElements(members:IList):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Adds a list of members to the set. This method can be called when members or children of a hierarchy or member need to be added to the set.
參數
members:IList — The members to add, as a list of IOLAPMember instances.
A new tuple is created for each member.
|
addTuple | () | 方法 |
public function addTuple(tuple:mx.olap:IOLAPTuple):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Adds a new tuple to the set.
參數
tuple:mx.olap:IOLAPTuple — The tuple to add.
|
compareMembers | () | 方法 |
protected function compareMembers(m1:IOLAPMember, m2:IOLAPMember):int
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns information about the relative location of two members in the set.
參數
m1:IOLAPMember — The first member.
| |
m2:IOLAPMember — The second member.
|
int — The following:
|
crossJoin | () | 方法 |
public function crossJoin(input:IOLAPSet):IOLAPSet
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns a new IOLAPSet instance that contains a crossjoin of this
IOLAPSet instance and input
.
參數
input:IOLAPSet — An IOLAPSet instance.
|
IOLAPSet — An IOLAPSet instance that contains a crossjoin of this
IOLAPSet instance and input .
|
findCommonHierarchy | () | 方法 |
protected function findCommonHierarchy(t1:mx.olap:OLAPTuple, t2:mx.olap:OLAPTuple):IOLAPHierarchy
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the common IOLAPHierarchy instance for two tuples, or null if the tuples do not share a hierarchy.
參數
t1:mx.olap:OLAPTuple — The first tuple.
| |
t2:mx.olap:OLAPTuple — The second tuple.
|
IOLAPHierarchy — The common IOLAPHierarchy instance for the two tuples,
or null if the tuples do not share a hierarchy.
|
hierarchize | () | 方法 |
public function hierarchize(post:Boolean = false):IOLAPSet
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns a new IOLAPSet that is hierarchized version of this set.
參數
post:Boolean (default = false ) — If true indicates that children should precede parents.
By default, parents precede children.
|
IOLAPSet — A new IOLAPSet that is hierarchized version
of this set.
|
sortTuple | () | 方法 |
protected function sortTuple(t1:mx.olap:OLAPTuple, t2:mx.olap:OLAPTuple):int
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns information about the relative location of two tuples in the set.
參數
t1:mx.olap:OLAPTuple — The first tuple.
| |
t2:mx.olap:OLAPTuple — The second tuple.
|
int — The following:
|
union | () | 方法 |
public function union(secondSet:IOLAPSet):IOLAPSet
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns a new IOLAPSet instance that contains a union of this
IOLAPSet instance and input
.
參數
secondSet:IOLAPSet — An IOLAPSet instance.
|
IOLAPSet — An IOLAPSet instance that contains a union of this
IOLAPSet instance and input .
|
Tue Jun 12 2018, 03:47 PM Z