public class RolapCubeDimension extends DimensionBase
OlapElement.LocalizedProperty
description, dimensionType, hierarchies, highCardinality, name, uniqueName
caption, visible
MEASURES_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 |
---|---|
protected int |
computeHashCode()
Computes this object's hash code.
|
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, lookupChild
clone, equals, getLocalized, hashCode, isVisible, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getLocalized, isVisible
public 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()
Dimension
public int getOrdinal()
public boolean equals(Object o)
public String getCaption()
OlapElementBase
getCaption
in interface OlapElement
getCaption
in class OlapElementBase
public void setCaption(String caption)
OlapElementBase
setCaption
in class OlapElementBase
public DimensionType getDimensionType()
Dimension
DimensionType.StandardDimension
or
DimensionType.TimeDimension
getDimensionType
in interface Dimension
getDimensionType
in class DimensionBase
protected org.apache.log4j.Logger getLogger()
getLogger
in class OlapElementBase
public Hierarchy getHierarchy()
In this case, the expression is a dimension, so the hierarchy is the dimension's default hierarchy (its first).
getHierarchy
in interface OlapElement
getHierarchy
in class DimensionBase
public Map<String,Annotation> getAnnotationMap()
Annotated
The map may be empty, never null.
protected int computeHashCode()
OlapElementBase
computeHashCode
in class OlapElementBase
Copyright © 2020 Hitachi Vantara. All rights reserved.