Package mondrian.olap
Interface Dimension
-
- All Superinterfaces:
Annotated,OlapElement
- All Known Implementing Classes:
DimensionBase,RolapCubeDimension
public interface Dimension extends OlapElement, Annotated
ADimensionrepresents 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 Modifier and Type Field Description static StringMEASURES_NAMEstatic StringMEASURES_UNIQUE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DimensionTypegetDimensionType()Returns the type of this dimension (DimensionType.StandardDimensionorDimensionType.TimeDimensionHierarchy[]getHierarchies()Returns an array of the hierarchies which belong to this dimension.SchemagetSchema()Returns the schema this dimension belongs to.booleanisHighCardinality()Returns whether the dimension should be considered as a "high cardinality" or "low cardinality" according to cube definition.booleanisMeasures()Returns whether this is the[Measures]dimension.-
Methods inherited from interface mondrian.olap.Annotated
getAnnotationMap
-
Methods inherited from interface mondrian.olap.OlapElement
getCaption, getDescription, getDimension, getHierarchy, getLocalized, getName, getQualifiedName, getUniqueName, isVisible, lookupChild
-
-
-
-
Field Detail
-
MEASURES_UNIQUE_NAME
static final String MEASURES_UNIQUE_NAME
- See Also:
- Constant Field Values
-
MEASURES_NAME
static final 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.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
-
-