public class RolapCubeDimension extends DimensionBase
OlapElement.LocalizedPropertydescription, dimensionType, hierarchies, highCardinality, name, uniqueNamecaption, visibleMEASURES_NAME, MEASURES_UNIQUE_NAME| Constructor and Description | 
|---|
RolapCubeDimension(RolapCube cube,
                  mondrian.rolap.RolapDimension rolapDim,
                  MondrianDef.CubeDimension cubeDim,
                  String name,
                  int cubeOrdinal,
                  List<RolapHierarchy> hierarchyList,
                  boolean highCardinality)
Creates a RolapCubeDimension. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
Map<String,Annotation> | 
getAnnotationMap()
Returns a list of annotations. 
 | 
String | 
getCaption()
Returns the display name of this catalog element. 
 | 
RolapCube | 
getCube()  | 
DimensionType | 
getDimensionType()
Returns the type of this dimension
 ( 
DimensionType.StandardDimension or
 DimensionType.TimeDimension | 
Hierarchy | 
getHierarchy()
Returns the hierarchy of an expression. 
 | 
protected org.apache.log4j.Logger | 
getLogger()  | 
int | 
getOrdinal()  | 
Schema | 
getSchema()
Returns the schema this dimension belongs to. 
 | 
void | 
setCaption(String caption)
Sets the display name of this catalog element. 
 | 
getDescription, getDimension, getHierarchies, getName, getQualifiedName, getUniqueName, isHighCardinality, isMeasures, lookupChildclone, computeHashCode, equals, getLocalized, hashCode, isVisible, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetLocalized, isVisiblepublic RolapCubeDimension(RolapCube cube, mondrian.rolap.RolapDimension rolapDim, MondrianDef.CubeDimension cubeDim, String name, int cubeOrdinal, List<RolapHierarchy> hierarchyList, boolean highCardinality)
cube - CuberolapDim - Dimension wrapped by this dimensioncubeDim - XML element definitionname - Name of dimensioncubeOrdinal - Ordinal of dimension within cubehierarchyList - List of hierarchies in cubehighCardinality - Whether high cardinality dimensionpublic RolapCube getCube()
public Schema getSchema()
Dimensionpublic int getOrdinal()
public boolean equals(Object o)
equals in class OlapElementBasepublic String getCaption()
OlapElementBasegetCaption in interface OlapElementgetCaption in class OlapElementBasepublic void setCaption(String caption)
OlapElementBasesetCaption in class OlapElementBasepublic DimensionType getDimensionType()
DimensionDimensionType.StandardDimension or
 DimensionType.TimeDimensiongetDimensionType in interface DimensiongetDimensionType in class DimensionBaseprotected org.apache.log4j.Logger getLogger()
getLogger in class OlapElementBasepublic Hierarchy getHierarchy()
In this case, the expression is a dimension, so the hierarchy is the dimension's default hierarchy (its first).
getHierarchy in interface OlapElementgetHierarchy in class DimensionBasepublic Map<String,Annotation> getAnnotationMap()
AnnotatedThe map may be empty, never null.
Copyright © 2017 Hitachi Vantara. All rights reserved.