public class RolapCubeLevel extends RolapLevel
| Modifier and Type | Class and Description | 
|---|---|
(package private) static class  | 
RolapCubeLevel.AllLevelReaderImpl
Level reader for the level which contains the 'all' member. 
 | 
(package private) static interface  | 
RolapCubeLevel.LevelReader
Encapsulation of the difference between levels in terms of how
 constraints are generated. 
 | 
(package private) static class  | 
RolapCubeLevel.NullLevelReader
Level reader for the level which contains the null member. 
 | 
(package private) static class  | 
RolapCubeLevel.ParentChildLevelReaderImpl
Level reader for a parent-child level which has a closed peer level. 
 | 
(package private) static class  | 
RolapCubeLevel.RegularLevelReader
Level reader for a regular level. 
 | 
RolapLevel.HideMemberConditionOlapElement.LocalizedProperty| Modifier and Type | Field and Description | 
|---|---|
protected RolapCubeLevel.LevelReader | 
levelReader  | 
captionExp, FLAG_ALL, FLAG_UNIQUE, keyExp, nameExp, ordinalExp, parentExp, properties, xmlClosureapproxRowCount, depth, description, hierarchy, levelType, memberFormatter, name, uniqueNamecaption, 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()  | 
(package private) RolapCubeLevel.LevelReader | 
getLevelReader()  | 
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 
 | 
(package private) boolean | 
hasClosedPeer()
Returns true when the level is part of a parent/child hierarchy and has
 an equivalent closed level. 
 | 
(package private) void | 
init(MondrianDef.CubeDimension xmlDimension)  | 
void | 
setCaption(String caption)
Sets the display name of this catalog element. 
 | 
void | 
setStarKeyColumn(RolapStar.Column column)  | 
areMembersUnique, getAnnotationMap, getApproxRowCount, getCaptionExp, getDatatype, getFlags, getHideMemberCondition, getInheritedProperties, getInternalType, getKeyExp, getLogger, getNameExp, getNullParentValue, getOrdinalExp, getParentExp, getProperties, getTableAlias, getTableName, hasCaptionColumn, isAll, isParentChild, isSimple, isUnique, lookupChild, lookupChild, lookupLevelgetDepth, getDescription, getLevelType, getName, getQualifiedName, getUniqueName, isMeasure, setApproxRowCountclone, computeHashCode, equals, equals, getLocalized, hashCode, isVisible, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetLocalized, isVisibleprotected RolapCubeLevel.LevelReader levelReader
public RolapCubeLevel(RolapLevel level, RolapCubeHierarchy cubeHierarchy)
void init(MondrianDef.CubeDimension xmlDimension)
init in class RolapLevelpublic void setStarKeyColumn(RolapStar.Column column)
public RolapStar.Column getStarKeyColumn()
RolapCubeLevel.LevelReader getLevelReader()
public RolapStar.Column getBaseStarKeyColumn(RolapCube baseCube)
baseCube - the base cube for the specificed virtual levelpublic final RolapCube getCube()
public final RolapCubeDimension getDimension()
OlapElementExample 1:
has dimension[Sales].children
[Sales].
 Example 2:
 order(except([Promotion Media].[Media Type].members,
              {[Promotion Media].[Media Type].[No Media]}),
       [Measures].[Unit Sales], DESC)
 
 has dimension [Promotion Media].
 Example 3:
 CrossJoin([Product].[Product Department].members,
           [Gender].members)
 
 has no dimension (well, actually it is [Product] x [Gender], but we
 can't represent that, so we return null);getDimension in interface OlapElementgetDimension in class LevelBasepublic final RolapCubeHierarchy getHierarchy()
getHierarchy in interface LevelgetHierarchy in interface OlapElementgetHierarchy in class RolapLevelpublic final RolapCubeLevel getChildLevel()
getChildLevel in interface LevelgetChildLevel in class LevelBasepublic final RolapCubeLevel getParentLevel()
getParentLevel in interface LevelgetParentLevel in class LevelBasepublic String getCaption()
OlapElementBasegetCaption in interface OlapElementgetCaption in class OlapElementBasepublic void setCaption(String caption)
OlapElementBasesetCaption in class OlapElementBasepublic RolapLevel getRolapLevel()
public boolean equals(RolapCubeLevel level)
boolean hasClosedPeer()
RolapLevelhasClosedPeer in class RolapLevelpublic RolapCubeLevel getClosedPeer()
getClosedPeer in class RolapLevelpublic MemberFormatter getMemberFormatter()
LevelgetMemberFormatter in interface LevelgetMemberFormatter in class LevelBase