Package mondrian.rolap.aggmatcher
Class AggStar.Table.Column
- java.lang.Object
-
- mondrian.rolap.aggmatcher.AggStar.Table.Column
-
- Direct Known Subclasses:
AggStar.FactTable.Measure,AggStar.Table.Level
- Enclosing class:
- AggStar.Table
public class AggStar.Table.Column extends Object
Base class for Level and Measure classes
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedColumn(String name, MondrianDef.Expression expression, Dialect.Datatype datatype, int bitPosition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgenerateExprString(SqlQuery query)Generates a SQL expression, which typically this looks like this:tableName.columnName.intgetBitPosition()Get the bit possition associted with this column.Dialect.DatatypegetDatatype()Returns the datatype of this column.MondrianDef.ExpressiongetExpression()SqlStatement.TypegetInternalType()StringgetName()Get the name of the column (this is the name in the database).SqlQuerygetSqlQuery()AggStar.TablegetTable()Get the enclosing AggStar.Table.voidprint(PrintWriter pw, String prefix)StringtoString()
-
-
-
Constructor Detail
-
Column
protected Column(String name, MondrianDef.Expression expression, Dialect.Datatype datatype, int bitPosition)
-
-
Method Detail
-
getName
public String getName()
Get the name of the column (this is the name in the database).
-
getTable
public AggStar.Table getTable()
Get the enclosing AggStar.Table.
-
getBitPosition
public int getBitPosition()
Get the bit possition associted with this column. This has the same value as this column's RolapStar.Column.
-
getDatatype
public Dialect.Datatype getDatatype()
Returns the datatype of this column.
-
getSqlQuery
public SqlQuery getSqlQuery()
-
getExpression
public MondrianDef.Expression getExpression()
-
generateExprString
public String generateExprString(SqlQuery query)
Generates a SQL expression, which typically this looks like this:tableName.columnName.
-
print
public void print(PrintWriter pw, String prefix)
-
getInternalType
public SqlStatement.Type getInternalType()
-
-