Package mondrian.olap
Interface Dimension
- All Superinterfaces:
Annotated,OlapElement
- All Known Implementing Classes:
DimensionBase,RolapCubeDimension
A
Dimension represents a dimension of a cube.- Author:
- jhyde, 1 March, 1999
-
Nested Class Summary
Nested classes/interfaces inherited from interface mondrian.olap.OlapElement
OlapElement.LocalizedProperty -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the type of this dimension (DimensionType.StandardDimensionorDimensionType.TimeDimensionReturns an array of the hierarchies which belong to this dimension.Returns the schema this dimension belongs to.booleanReturns whether the dimension should be considered as a "high cardinality" or "low cardinality" according to cube definition.booleanReturns whether this is the[Measures]dimension.Methods inherited from interface mondrian.olap.Annotated
getAnnotationMapMethods inherited from interface mondrian.olap.OlapElement
getCaption, getDescription, getDimension, getHierarchy, getLocalized, getName, getQualifiedName, getUniqueName, isVisible, lookupChild
-
Field Details
-
MEASURES_UNIQUE_NAME
- See Also:
-
MEASURES_NAME
- See Also:
-
-
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.StandardDimensionorDimensionType.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
-