Package mondrian.rolap
Class RolapStar.Measure
java.lang.Object
mondrian.rolap.RolapStar.Column
mondrian.rolap.RolapStar.Measure
- Enclosing class:
- RolapStar
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
ConstructorsConstructorDescriptionMeasure(String name, String cubeName, RolapAggregator aggregator, RolapStar.Table table, MondrianDef.Expression expression, Dialect.Datatype datatype) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()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 Details
-
Measure
public Measure(String name, String cubeName, RolapAggregator aggregator, RolapStar.Table table, MondrianDef.Expression expression, Dialect.Datatype datatype)
-
-
Method Details
-
getAggregator
-
equals
- Overrides:
equalsin classRolapStar.Column
-
hashCode
public int hashCode()- Overrides:
hashCodein classRolapStar.Column
-
print
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
-