org.olap4j
Interface CellSetAxisMetaData


public interface CellSetAxisMetaData

Description of structure of a particular axis of an CellSet.

For example, in the MDX statement

 SELECT
   {[Measures].Members} ON COLUMNS,
   CrossJoin([Store].Members, [Gender].Children)
   DIMENSION PROPERTIES
      MEMBER_ORDINAL,
      MEMBER_UNIQUE_NAME,
      DISPLAY_INFO ON ROWS
 FROM [Sales]
 

the ROWS axis is described by the following metadata:

Attribute Value
hierarchies {[Store], [Gender]}
properties {MEMBER_ORDINAL, MEMBER_UNIQUE_NAME, DISPLAY_INFO}

Since:
Oct 23, 2006
Version:
$Id: CellSetAxisMetaData.java 229 2009-05-08 19:11:29Z jhyde $
Author:
jhyde

Method Summary
 Axis getAxisOrdinal()
          Returns the definition of the axis.
 java.util.List<Hierarchy> getHierarchies()
          Returns the hierarchies which are mapped onto this axis.
 java.util.List<Property> getProperties()
          Returns the member properties which are returned on this axis.
 

Method Detail

getAxisOrdinal

Axis getAxisOrdinal()
Returns the definition of the axis. Typical values are (Axis.FILTER, Axis.COLUMNS, Axis.ROWS, and so forth.)

Returns:
the Axis

getHierarchies

java.util.List<Hierarchy> getHierarchies()
Returns the hierarchies which are mapped onto this axis.

Returns:
list of hierarchies on this Axis

getProperties

java.util.List<Property> getProperties()
Returns the member properties which are returned on this axis.

This method does not return a NamedList because the names of the properties are not necessarily unique; for example, there might be two hierarchies on the axis, each of which returns the DISPLAY_INFO property.

Returns:
list of member properties on this Axis

SourceForge.net_Logo