Referencia de ActionScript® 3.0 para la plataforma de Adobe® Flash®
Inicio  |  Ocultar lista de paquetes y clases |  Paquetes  |  Clases  |  Novedades  |  Índice  |  Apéndices  |  ¿Por qué hay texto en inglés?
Filtros: Recuperando datos del servidor...
Recuperando datos del servidor...
mx.olap 

OLAPSet  - AS3 Flex

Paquetemx.olap
Clasepublic class OLAPSet
HerenciaOLAPSet Inheritance Object
Implementa IOLAPSet

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

The OLAPSet class represents a set, which is used to configure the axis of an OLAP query. A set consists of zero or more tuples; a set that does not contain any tuples is known as an empty set.

Elementos de API relacionados



Propiedades públicas
 PropiedadDefinido por
 Inheritedconstructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada.
Object
  tuples : Array
[solo lectura] The tuples contained by this set instance, as an Array of IOLAPTuple instances.
OLAPSet
Métodos públicos
 MétodoDefinido por
  
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
 Inherited
Indica si un objeto tiene definida una propiedad especificada.
Object
  
Returns a new IOLAPSet that is hierarchized version of this set.
OLAPSet
 Inherited
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro.
Object
 Inherited
Indica si existe la propiedad especificada y si es enumerable.
Object
 Inherited
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle.
Object
 Inherited
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional.
Object
 Inherited
Devuelve la representación de cadena del objeto especificado.
Object
  
Returns a new IOLAPSet instance that contains a union of this IOLAPSet instance and input.
OLAPSet
 Inherited
Devuelve el valor simple del objeto especificado.
Object
Métodos protegidos
 MétodoDefinido por
  
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
Información sobre propiedades

tuples

propiedad
tuples:Array  [solo lectura]

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

The tuples contained by this set instance, as an Array of IOLAPTuple instances.



Implementación
    public function get tuples():Array
Información sobre constructores

OLAPSet

()Información sobre
public function OLAPSet()

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Constructor

Información sobre métodos

addElement

()método
public function addElement(e:IOLAPElement):void

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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.

Parámetros

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

()método 
public function addElements(members:IList):void

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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.

Parámetros

members:IList — The members to add, as a list of IOLAPMember instances. A new tuple is created for each member.

addTuple

()método 
public function addTuple(tuple:mx.olap:IOLAPTuple):void

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Adds a new tuple to the set.

Parámetros

tuple:mx.olap:IOLAPTuple — The tuple to add.

compareMembers

()método 
protected function compareMembers(m1:IOLAPMember, m2:IOLAPMember):int

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Returns information about the relative location of two members in the set.

Parámetros

m1:IOLAPMember — The first member.
 
m2:IOLAPMember — The second member.

Valor devuelto
int — The following:
  • 0 if the members are at the same level
  • 1 if m2 is higher in the hierarchy than m1
  • -1 if m1 is higher in the hierarchy than m2

crossJoin

()método 
public function crossJoin(input:IOLAPSet):IOLAPSet

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Returns a new IOLAPSet instance that contains a crossjoin of this IOLAPSet instance and input.

Parámetros

input:IOLAPSet — An IOLAPSet instance.

Valor devuelto
IOLAPSet — An IOLAPSet instance that contains a crossjoin of this IOLAPSet instance and input.

findCommonHierarchy

()método 
protected function findCommonHierarchy(t1:mx.olap:OLAPTuple, t2:mx.olap:OLAPTuple):IOLAPHierarchy

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Returns the common IOLAPHierarchy instance for two tuples, or null if the tuples do not share a hierarchy.

Parámetros

t1:mx.olap:OLAPTuple — The first tuple.
 
t2:mx.olap:OLAPTuple — The second tuple.

Valor devuelto
IOLAPHierarchy — The common IOLAPHierarchy instance for the two tuples, or null if the tuples do not share a hierarchy.

hierarchize

()método 
public function hierarchize(post:Boolean = false):IOLAPSet

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Returns a new IOLAPSet that is hierarchized version of this set.

Parámetros

post:Boolean (default = false) — If true indicates that children should precede parents. By default, parents precede children.

Valor devuelto
IOLAPSet — A new IOLAPSet that is hierarchized version of this set.

sortTuple

()método 
protected function sortTuple(t1:mx.olap:OLAPTuple, t2:mx.olap:OLAPTuple):int

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Returns information about the relative location of two tuples in the set.

Parámetros

t1:mx.olap:OLAPTuple — The first tuple.
 
t2:mx.olap:OLAPTuple — The second tuple.

Valor devuelto
int — The following:
  • 0 if the tuples are at the same level
  • 1 if t2 is higher than t1
  • -1 if t1 is higher than t2

union

()método 
public function union(secondSet:IOLAPSet):IOLAPSet

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Returns a new IOLAPSet instance that contains a union of this IOLAPSet instance and input.

Parámetros

secondSet:IOLAPSet — An IOLAPSet instance.

Valor devuelto
IOLAPSet — An IOLAPSet instance that contains a union of this IOLAPSet instance and input.




[ X ]¿Por qué hay texto en inglés?
Cierto contenido de la Referencia de ActionScript 3.0 se muestra en inglés

No todo el contenido de la Referencia de ActionScript 3.0 se traduce a todos los idiomas. Si un elemento del lenguaje no se traduce, aparecerá en inglés. Por ejemplo, la clase ga.controls.HelpBox no está traducida en ningún idioma. Por lo tanto, en la versión en español de la referencia, la clase ga.controls.HelpBox aparecerá en inglés.