public interface Level extends OlapElement, Annotated
Level is a group of Members in a Hierarchy,
all with the same attributes and at the same depth in the hierarchy.OlapElement.LocalizedProperty| Modifier and Type | Method and Description |
|---|---|
boolean |
areMembersUnique() |
int |
getApproxRowCount()
Returns the approximate number of members in this level, or
Integer.MIN_VALUE if no approximation is known. |
Level |
getChildLevel() |
int |
getDepth()
Returns the depth of this level.
|
Hierarchy |
getHierarchy() |
Property[] |
getInheritedProperties()
Returns properties defined against this level and parent levels.
|
LevelType |
getLevelType() |
MemberFormatter |
getMemberFormatter()
Returns the object that is used to format members of this level.
|
Level |
getParentLevel() |
Property[] |
getProperties()
Returns properties defined against this level.
|
boolean |
isAll() |
getCaption, getDescription, getDimension, getLocalized, getName, getQualifiedName, getUniqueName, isVisible, lookupChildgetAnnotationMapint getDepth()
Note #1: In an access-controlled context, the first visible level of
a hierarchy (as returned by SchemaReader.getHierarchyLevels(mondrian.olap.Hierarchy)) may
not have a depth of 0.
Note #2: In a parent-child hierarchy, the depth of a member (as
returned by SchemaReader.getMemberDepth(mondrian.olap.Member)) may not be the same as
the depth of its level.
Hierarchy getHierarchy()
getHierarchy in interface OlapElementLevel getChildLevel()
Level getParentLevel()
boolean isAll()
boolean areMembersUnique()
LevelType getLevelType()
Property[] getProperties()
Property[] getInheritedProperties()
MemberFormatter getMemberFormatter()
int getApproxRowCount()
Integer.MIN_VALUE if no approximation is known.Copyright © 2021 Hitachi Vantara. All rights reserved.