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 String
getColumnName()
Get the aggregate table column name.String
getName()
Get the symbolic name, the measure name, i.e., [Measures].[Unit Sales].RolapStar.Measure
getRolapStarMeasure()
Get the RolapStar.Measure associated with this symbolic name.String
getSymbolicName()
Get the symbolic name, the measure name, i.e., [Unit Sales].void
print(PrintWriter pw, String prefix)
String
toString()
void
validate(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)
-
-