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 protected
Column(String name, MondrianDef.Expression expression, Dialect.Datatype datatype, int bitPosition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
generateExprString(SqlQuery query)
Generates a SQL expression, which typically this looks like this:tableName.columnName
.int
getBitPosition()
Get the bit possition associted with this column.Dialect.Datatype
getDatatype()
Returns the datatype of this column.MondrianDef.Expression
getExpression()
SqlStatement.Type
getInternalType()
String
getName()
Get the name of the column (this is the name in the database).SqlQuery
getSqlQuery()
AggStar.Table
getTable()
Get the enclosing AggStar.Table.void
print(PrintWriter pw, String prefix)
String
toString()
-
-
-
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()
-
-