Package 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
aggregatordefines how it is to be rolled up.
-
-
Field Summary
-
Fields inherited from class mondrian.rolap.RolapStar.Column
COMPARATOR
-
-
Constructor Summary
Constructors Constructor Description Measure(String name, String cubeName, RolapAggregator aggregator, RolapStar.Table table, MondrianDef.Expression expression, Dialect.Datatype datatype)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)RolapAggregatorgetAggregator()StringgetCubeName()inthashCode()voidprint(PrintWriter pw, String prefix)Prints this column.-
Methods inherited from class mondrian.rolap.RolapStar.Column
createInExpr, generateExprString, getBitPosition, getCardinality, getDatatype, getDatatypeString, getExpression, getInternalType, getName, getNameColumn, getParentColumn, getSqlQuery, getStar, getTable, getUsagePrefix, isNameColumn, toString
-
-
-
-
Constructor Detail
-
Measure
public Measure(String name, String cubeName, RolapAggregator aggregator, RolapStar.Table table, MondrianDef.Expression expression, Dialect.Datatype datatype)
-
-
Method Detail
-
getAggregator
public RolapAggregator getAggregator()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classRolapStar.Column
-
hashCode
public int hashCode()
- Overrides:
hashCodein classRolapStar.Column
-
print
public void print(PrintWriter pw, String prefix)
Description copied from class:RolapStar.ColumnPrints this column.- Overrides:
printin classRolapStar.Column- Parameters:
pw- Print writerprefix- Prefix to print first, such as spaces for indentation
-
getCubeName
public String getCubeName()
-
-