GetCube

Syntax

GetCubeResult GetCube(CubeId tCube, GetCubeArg tArg)

Parameters

tCube. Opened cube instance moniker.

tArg. Parameters of metadata getting.

Description

The GetCube operation gets cube metadata.

Comments

The operation enables the user to the information about cube display versions and dimensions, controlling dimension parameters, source cubes and dimension fixation parameters on working with cube view, settings of aggregation by dimensions. To execute the operation, in the tCube parameter specify the opened cube instance moniker, and in the tArg parameter specify parameters that determine how the information is obtained. The moniker can be obtained on executing the OpenCube operation. In the tArg.pattern field specify a pattern to get information on the cube structure, the tArg.data ortArg.matrix field can be used to specify parameters, according to which the cube data is obtained. The result of the operation is the requested data and metadata.

Example

Various methods of using this operation are given in the following examples:

Example name
Getting Information about Cube Structure
Getting Matrix with Cube Data
Getting Cube data as Table

See also:

Working with Cubes