Package mondrian.olap
Interface Hierarchy
- All Superinterfaces:
Annotated,OlapElement
- All Known Implementing Classes:
HierarchyBase,RolapCubeHierarchy,RolapHierarchy
A
Hierarchy is a set of members, organized into levels.-
Nested Class Summary
Nested classes/interfaces inherited from interface mondrian.olap.OlapElement
OlapElement.LocalizedProperty -
Method Summary
Modifier and TypeMethodDescriptioncreateMember(Member parent, Level level, String name, Formula formula) Creates a member of this hierarchy.Returns the "All" member of this hierarchy.Returns the default member of this hierarchy.Returns the dimension this hierarchy belongs to.Level[]Returns the levels in this hierarchy.Returns a special member representing the "null" value.Returns the unique name of this hierarchy, always including the dimension name, e.g.booleanhasAll()Methods inherited from interface mondrian.olap.Annotated
getAnnotationMapMethods inherited from interface mondrian.olap.OlapElement
getCaption, getDescription, getHierarchy, getLocalized, getName, getQualifiedName, getUniqueName, isVisible, lookupChild
-
Method Details
-
getDimension
Dimension getDimension()Returns the dimension this hierarchy belongs to.- Specified by:
getDimensionin interfaceOlapElement
-
getLevels
Level[] getLevels()Returns the levels in this hierarchy.If a hierarchy is subject to access-control, some of the levels may not be visible; use
SchemaReader.getHierarchyLevels(mondrian.olap.Hierarchy)instead. -
getDefaultMember
Member getDefaultMember()Returns the default member of this hierarchy.If a hierarchy is subject to access-control, the default member may not be visible, so use
SchemaReader.getHierarchyDefaultMember(mondrian.olap.Hierarchy). -
getAllMember
Member getAllMember()Returns the "All" member of this hierarchy. -
getNullMember
Member getNullMember()Returns a special member representing the "null" value. This never occurs on an axis, but may occur if functions such asLead,NextMemberandParentMemberwalk off the end of the hierarchy. -
hasAll
boolean hasAll() -
createMember
Creates a member of this hierarchy. If this is the measures hierarchy, a calculated member is created, andformulamust not be null. -
getUniqueNameSsas
String getUniqueNameSsas()Returns the unique name of this hierarchy, always including the dimension name, e.g. "[Time].[Time]", regardless of whetherMondrianProperties.SsasCompatibleNamingis enabled.- Returns:
- Unique name of hierarchy.
-
getDisplayFolder
String getDisplayFolder()
-