Package mondrian.rolap.aggmatcher
Class ExplicitRules.TableDef.Measure
- java.lang.Object
-
- mondrian.rolap.aggmatcher.ExplicitRules.TableDef.Measure
-
- Enclosing class:
- ExplicitRules.TableDef
class ExplicitRules.TableDef.Measure extends Object
This class is used to map from a measure's symbolic name, [Measures].[Unit Sales] to the aggregate table's column name, UNIT_SALES_SUM.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetColumnName()Get the aggregate table column name.StringgetName()Get the symbolic name, the measure name, i.e., [Measures].[Unit Sales].RolapStar.MeasuregetRolapStarMeasure()Get the RolapStar.Measure associated with this symbolic name.StringgetSymbolicName()Get the symbolic name, the measure name, i.e., [Unit Sales].voidprint(PrintWriter pw, String prefix)StringtoString()voidvalidate(MessageRecorder msgRecorder)Validates a measure's name.
-
-
-
Method Detail
-
getName
public String getName()
Get the symbolic name, the measure name, i.e., [Measures].[Unit Sales].
-
getSymbolicName
public String getSymbolicName()
Get the symbolic name, the measure name, i.e., [Unit Sales].
-
getColumnName
public String getColumnName()
Get the aggregate table column name.
-
getRolapStarMeasure
public RolapStar.Measure getRolapStarMeasure()
Get the RolapStar.Measure associated with this symbolic name.
-
validate
public void validate(MessageRecorder msgRecorder)
Validates a measure's name.The measure name must be of the form
[Measures].[measure name]This method checks that is of length 2, starts with "Measures" and the "measure name" exists.
-
print
public void print(PrintWriter pw, String prefix)
-
-