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
aggregator
defines 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 boolean
equals(Object o)
RolapAggregator
getAggregator()
String
getCubeName()
int
hashCode()
void
print(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:
equals
in classRolapStar.Column
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classRolapStar.Column
-
print
public void print(PrintWriter pw, String prefix)
Description copied from class:RolapStar.Column
Prints this column.- Overrides:
print
in classRolapStar.Column
- Parameters:
pw
- Print writerprefix
- Prefix to print first, such as spaces for indentation
-
getCubeName
public String getCubeName()
-
-