Package org.olap4j.metadata
Interface Dimension
- All Superinterfaces:
MetadataElement
An organized hierarchy of categories, known as levels, that describes data
in a cube.
A Dimension typically describes a similar set of members upon which the user wants to base an analysis.
A Dimension must have at least one Hierarchy, and may have more than one, but most have exactly one Hierarchy.
- Since:
- Aug 22, 2006
- Author:
- jhyde
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Enumeration of the types of aDimension
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the defaultHierarchy
of this Dimension.Returns the type of this Dimension.Returns the hierarchies in this Dimension.Methods inherited from interface org.olap4j.metadata.MetadataElement
getCaption, getDescription, getName, getUniqueName, isVisible
-
Method Details
-
getHierarchies
Returns the hierarchies in this Dimension.Many dimensions have only one Hierarchy, whose name is the same as the Dimension.
The caller should assume that the list is immutable; if the caller modifies the list, behavior is undefined.
- Returns:
- hierarchies in this dimension
- See Also:
-
getDimensionType
Returns the type of this Dimension.- Returns:
- dimension type
- Throws:
OlapException
- if database error occurs
-
getDefaultHierarchy
Hierarchy getDefaultHierarchy()Returns the defaultHierarchy
of this Dimension.- Returns:
- default hierarchy
-