public class RolapCubeLevel extends RolapLevel
RolapLevel.HideMemberCondition
OlapElement.LocalizedProperty
Modifier and Type | Field and Description |
---|---|
protected mondrian.rolap.RolapCubeLevel.LevelReader |
levelReader |
captionExp, keyExp, nameExp, ordinalExp, parentExp, properties, xmlClosure
approxRowCount, depth, description, hierarchy, levelType, memberFormatter, name, uniqueName
caption, visible
Constructor and Description |
---|
RolapCubeLevel(RolapLevel level,
RolapCubeHierarchy cubeHierarchy) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(RolapCubeLevel level) |
RolapStar.Column |
getBaseStarKeyColumn(RolapCube baseCube)
this method returns the RolapStar.Column if non-virtual,
if virtual, find the base cube level and return it's
column
|
String |
getCaption()
Returns the display name of this catalog element.
|
RolapCubeLevel |
getChildLevel() |
RolapCubeLevel |
getClosedPeer() |
RolapCube |
getCube()
Returns the (non virtual) cube this level belongs to.
|
RolapCubeDimension |
getDimension()
Returns the dimension of a this expression, or null if no dimension is
defined.
|
RolapCubeHierarchy |
getHierarchy() |
MemberFormatter |
getMemberFormatter()
Returns the object that is used to format members of this level.
|
RolapCubeLevel |
getParentLevel() |
RolapLevel |
getRolapLevel()
Returns the underlying level.
|
RolapStar.Column |
getStarKeyColumn()
This is the RolapStar.Column that is related to this RolapCubeLevel
|
void |
setCaption(String caption)
Sets the display name of this catalog element.
|
void |
setStarKeyColumn(RolapStar.Column column) |
areMembersUnique, getAnnotationMap, getApproxRowCount, getCaptionExp, getDatatype, getInheritedProperties, getInternalType, getKeyExp, getLogger, getNameExp, getOrdinalExp, getProperties, getTableAlias, hasCaptionColumn, hasOrdinalExp, isAll, isParentChild, isSimple, isUnique, lookupChild, lookupChild, lookupLevel
getDepth, getDescription, getLevelType, getName, getQualifiedName, getUniqueName, isMeasure, setApproxRowCount
clone, computeHashCode, equals, equals, getLocalized, hashCode, isVisible, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getLocalized, isVisible
public RolapCubeLevel(RolapLevel level, RolapCubeHierarchy cubeHierarchy)
public void setStarKeyColumn(RolapStar.Column column)
public RolapStar.Column getStarKeyColumn()
public RolapStar.Column getBaseStarKeyColumn(RolapCube baseCube)
baseCube
- the base cube for the specificed virtual levelpublic final RolapCube getCube()
public final RolapCubeDimension getDimension()
OlapElement
Example 1:
has dimension[Sales].children
[Sales]
.
Example 2:
has dimension [Promotion Media].order(except([Promotion Media].[Media Type].members, {[Promotion Media].[Media Type].[No Media]}), [Measures].[Unit Sales], DESC)
Example 3:
has no dimension (well, actually it is [Product] x [Gender], but we can't represent that, so we return null);CrossJoin([Product].[Product Department].members, [Gender].members)
getDimension
in interface OlapElement
getDimension
in class LevelBase
public final RolapCubeHierarchy getHierarchy()
getHierarchy
in interface Level
getHierarchy
in interface OlapElement
getHierarchy
in class RolapLevel
public final RolapCubeLevel getChildLevel()
getChildLevel
in interface Level
getChildLevel
in class LevelBase
public final RolapCubeLevel getParentLevel()
getParentLevel
in interface Level
getParentLevel
in class LevelBase
public String getCaption()
OlapElementBase
getCaption
in interface OlapElement
getCaption
in class OlapElementBase
public void setCaption(String caption)
OlapElementBase
setCaption
in class OlapElementBase
public RolapLevel getRolapLevel()
public boolean equals(RolapCubeLevel level)
public RolapCubeLevel getClosedPeer()
getClosedPeer
in class RolapLevel
public MemberFormatter getMemberFormatter()
Level
getMemberFormatter
in interface Level
getMemberFormatter
in class LevelBase
Copyright © 2018 Hitachi Vantara. All rights reserved.