mondrian.rolap
Class RolapStar.Measure
java.lang.Object
mondrian.rolap.RolapStar.Column
mondrian.rolap.RolapStar.Measure
- Enclosing class:
- RolapStar
public static class RolapStar.Measure
- extends RolapStar.Column
Definition of a measure in a star schema.
A measure is basically just a column; except that its
aggregator
defines how it is to be rolled up.
-
-
Methods inherited from class mondrian.rolap.RolapStar.Column |
createInExpr, generateExprString, getBitPosition, getCardinality, getDatatype, getDatatypeString, getExpression, getName, getNameColumn, getParentColumn, getSqlQuery, getStar, getTable, getUsagePrefix, isNameColumn, toString |
RolapStar.Measure
public RolapStar.Measure(String name,
String cubeName,
RolapAggregator aggregator,
RolapStar.Table table,
MondrianDef.Expression expression,
SqlQuery.Datatype datatype)
getAggregator
public RolapAggregator getAggregator()
equals
public boolean equals(Object o)
- Overrides:
equals
in class RolapStar.Column
hashCode
public int hashCode()
- Overrides:
hashCode
in class RolapStar.Column
print
public void print(PrintWriter pw,
String prefix)
- Description copied from class:
RolapStar.Column
- Prints this column.
- Overrides:
print
in class RolapStar.Column
- Parameters:
pw
- Print writerprefix
- Prefix to print first, such as spaces for indentation
getCubeName
public String getCubeName()