public interface Dimension extends MetadataElement
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.
| Modifier and Type | Interface and Description |
|---|---|
static class |
Dimension.Type
Enumeration of the types of a
Dimension. |
| Modifier and Type | Method and Description |
|---|---|
Hierarchy |
getDefaultHierarchy()
Returns the default
Hierarchy of this Dimension. |
Dimension.Type |
getDimensionType()
Returns the type of this Dimension.
|
NamedList<Hierarchy> |
getHierarchies()
Returns the hierarchies in this Dimension.
|
getCaption, getDescription, getName, getUniqueName, isVisibleNamedList<Hierarchy> getHierarchies()
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.
OlapDatabaseMetaData.getHierarchies(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)Dimension.Type getDimensionType() throws OlapException
OlapException - if database error occursHierarchy getDefaultHierarchy()
Hierarchy of this Dimension.