public class AggStar.FactTable.Measure extends AggStar.Table.Column
| Modifier and Type | Method and Description |
|---|---|
String |
generateExprString(SqlQuery query)
Generates a SQL expression, which typically this looks like
this:
tableName.columnName. |
String |
generateRollupString(SqlQuery query) |
RolapAggregator |
getAggregator()
Get this Measure's RolapAggregator.
|
BitKey |
getRollableLevelBitKey()
Returns a
BitKey of the levels which can be
safely rolled up. |
boolean |
isDistinct() |
void |
print(PrintWriter pw,
String prefix) |
getBitPosition, getDatatype, getExpression, getInternalType, getName, getSqlQuery, getTable, toStringpublic boolean isDistinct()
public RolapAggregator getAggregator()
public BitKey getRollableLevelBitKey()
BitKey of the levels which can be
safely rolled up. (For distinct-count measures, most can't.)public void print(PrintWriter pw, String prefix)
print in class AggStar.Table.Columnpublic String generateExprString(SqlQuery query)
AggStar.Table.ColumntableName.columnName.generateExprString in class AggStar.Table.ColumnCopyright © 2021 Hitachi Vantara. All rights reserved.