public interface Hierarchy extends OlapElement, Annotated
Hierarchy
is a set of members, organized into levels.OlapElement.LocalizedProperty
Modifier and Type | Method and Description |
---|---|
Member |
createMember(Member parent,
Level level,
String name,
Formula formula)
Creates a member of this hierarchy.
|
Member |
getAllMember()
Returns the "All" member of this hierarchy.
|
Member |
getDefaultMember()
Returns the default member of this hierarchy.
|
Dimension |
getDimension()
Returns the dimension this hierarchy belongs to.
|
Level[] |
getLevels()
Returns the levels in this hierarchy.
|
Member |
getNullMember()
Returns a special member representing the "null" value.
|
String |
getUniqueNameSsas()
Deprecated.
Will be removed in mondrian-4.0, when
OlapElement.getUniqueName() will have this behavior. |
boolean |
hasAll() |
getCaption, getDescription, getHierarchy, getLocalized, getName, getQualifiedName, getUniqueName, isVisible, lookupChild
getAnnotationMap
Dimension getDimension()
getDimension
in interface OlapElement
Level[] getLevels()
If a hierarchy is subject to access-control, some of the levels may
not be visible; use SchemaReader.getHierarchyLevels(mondrian.olap.Hierarchy)
instead.
Member getDefaultMember()
If a hierarchy is subject to access-control, the default member may
not be visible, so use SchemaReader.getHierarchyDefaultMember(mondrian.olap.Hierarchy)
.
Member getAllMember()
Member getNullMember()
Lead
,
NextMember
and ParentMember
walk off the end
of the hierarchy.boolean hasAll()
Member createMember(Member parent, Level level, String name, Formula formula)
formula
must not be null.String getUniqueNameSsas()
OlapElement.getUniqueName()
will have this behavior.MondrianProperties.SsasCompatibleNaming
is enabled.Copyright © 2020 Hitachi Vantara. All rights reserved.