Package mondrian.olap

Interface Dimension

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

public interface Dimension extends OlapElement, Annotated
A Dimension represents a dimension of a cube.
Author:
jhyde, 1 March, 1999
  • Field Details

  • Method Details

    • 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