mondrian.olap
Interface Dimension

All Superinterfaces:
OlapElement
All Known Implementing Classes:
DimensionBase, RolapCubeDimension, RolapDimension

public interface Dimension
extends OlapElement

A Dimension represents a dimension of a cube.


Field Summary
static java.lang.String MEASURES_NAME
           
static java.lang.String MEASURES_UNIQUE_NAME
           
 
Method Summary
 DimensionType getDimensionType()
          Returns the type of this dimension (DimensionType.StandardDimension or DimensionType.TimeDimension
 Hierarchy[] getHierarchies()
          Returns an array of the hierarchies which belong to this dimension.
 Schema getSchema()
          Returns the schema this dimension belongs to.
 boolean isHighCardinality()
          Returns whether the dimension should be considered as a "high cardinality" or "low cardinality" according to cube definition.
 boolean isMeasures()
          Returns whether this is the [Measures] dimension.
 
Methods inherited from interface mondrian.olap.OlapElement
getCaption, getDescription, getDimension, getHierarchy, getName, getQualifiedName, getUniqueName, lookupChild
 

Field Detail

MEASURES_UNIQUE_NAME

static final java.lang.String MEASURES_UNIQUE_NAME
See Also:
Constant Field Values

MEASURES_NAME

static final java.lang.String MEASURES_NAME
See Also:
Constant Field Values
Method Detail

getHierarchies

Hierarchy[] getHierarchies()
Returns an array of the hierarchies which belong to this dimension.


isMeasures

boolean isMeasures()
Returns whether this is the [Measures] dimension.


getDimensionType

DimensionType getDimensionType()
Returns the type of this dimension (DimensionType.StandardDimension or DimensionType.TimeDimension


getSchema

Schema getSchema()
Returns the schema this dimension belongs to.


isHighCardinality

boolean isHighCardinality()
Returns whether the dimension should be considered as a "high cardinality" or "low cardinality" according to cube definition. Mondrian tends to evaluate high cardinality dimensions using iterators rather than lists, avoiding instantiating the dimension in memory.

Returns:
whether this dimension is high-cardinality

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads