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 java.lang.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.
-
-
Constructor Summary
Constructors Constructor Description Measure(java.lang.String name, java.lang.String columnName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getColumnName()
Get the aggregate table column name.java.lang.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.java.lang.String
getSymbolicName()
Get the symbolic name, the measure name, i.e., [Unit Sales].void
print(java.io.PrintWriter pw, java.lang.String prefix)
java.lang.String
toString()
void
validate(MessageRecorder msgRecorder)
Validates a measure's name.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the symbolic name, the measure name, i.e., [Measures].[Unit Sales].
-
getSymbolicName
public java.lang.String getSymbolicName()
Get the symbolic name, the measure name, i.e., [Unit Sales].
-
getColumnName
public java.lang.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.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
print
public void print(java.io.PrintWriter pw, java.lang.String prefix)
-
-