Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
OLAPSchema

Package | mx.olap
Class | public class OLAPSchema
Inheritance | OLAPSchema Object
Implements | IOLAPSchema

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The OLAPSchema class represents an OLAP cube or cubes.

MXML Syntax Show MXML Syntax
Hide MXML Syntax

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

      <mx:OLAPSchema
        Properties
           cubeArray=""
      />

Default MXML Property `cubeArray`

See also

mx.olap.IOLAPSchema
mx.olap.OLAPCube

Public Properties

| Property | Defined By
--- | --- | ---
|  | cubeArray : Array [write-only] Lets you set the cubes of a schema by passing an Array of IOLAPCube instances. | OLAPSchema
|  | cubes : IList All the cubes known by this schema, as a list of IOLAPCube instances. | OLAPSchema

Public Methods

| Method | Defined By
--- | --- | ---
|  | createCube(name:String):IOLAPCube Creates an OLAP cube from the schema. | OLAPSchema
|  | getCube(name:String):IOLAPCube Returns a cube specified by name. | OLAPSchema

Property Detail

cubeArray | property

`cubeArray:Array` [write-only]

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Lets you set the cubes of a schema by passing an Array of IOLAPCube instances.

Implementation
`public function set cubeArray(value:Array):void`

cubes | property |

`cubes:IList`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

All the cubes known by this schema, as a list of IOLAPCube instances. The returned list might represent remote data and therefore can throw an ItemPendingError.

Implementation
`public function get cubes():IList`
`public function set cubes(value:IList):void`
Method Detail

createCube | () | method

`public function createCube(name:String):IOLAPCube`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Creates an OLAP cube from the schema.

Parameters

| `name:String` — The name of the cube.

Returns

| `IOLAPCube` — The IOLAPCube instance.

getCube | () | method |

`public function getCube(name:String):IOLAPCube`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Returns a cube specified by name.

Parameters

| `name:String` — The name of the cube.

Returns

| `IOLAPCube` — The IOLAPCube instance, or null if one is not found.

Wed Nov 15 2017, 09:50 AM +01:00