Package mondrian.rolap.aggmatcher
Class JdbcSchema.Table.Column.Usage
- java.lang.Object
-
- mondrian.rolap.aggmatcher.JdbcSchema.Table.Column.Usage
-
- Enclosing class:
- JdbcSchema.Table.Column
public class JdbcSchema.Table.Column.Usage extends Object
A usage of a column.
-
-
Field Summary
Fields Modifier and Type Field Description JdbcSchema.Table.Column
captionColumn
boolean
collapsed
MondrianDef.Expression
joinExp
RolapLevel
level
String
levelColumnName
JdbcSchema.Table.Column
ordinalColumn
Map<String,JdbcSchema.Table.Column>
properties
RolapStar.Column
rColumn
MondrianDef.Relation
relation
String
rightJoinConditionColumnName
RolapStar.Measure
rMeasure
RolapStar.Table
rTable
String
usagePrefix
The prefix (possibly null) to use during aggregate table generation (See AggGen).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RolapAggregator
getAggregator()
Returns the aggregator associated with this usage (if its a measure usage, otherwise null).MondrianDef.Expression
getCaptionExp()
JdbcSchema.Table.Column
getColumn()
Returns the column with which this usage is associated.MondrianDef.Expression
getOrdinalExp()
Map<String,MondrianDef.Expression>
getProperties()
String
getSymbolicName()
Returns the usage's symbolic name.JdbcSchema.UsageType
getUsageType()
Returns the column usage type.void
print(PrintWriter pw, String prefix)
void
setAggregator(RolapAggregator aggregator)
Sets the aggregator associated with this usage (if it is a measure usage).void
setSymbolicName(String symbolicName)
Sets the symbolic (logical) name associated with this usage.String
toString()
-
-
-
Field Detail
-
rMeasure
public RolapStar.Measure rMeasure
-
relation
public MondrianDef.Relation relation
-
joinExp
public MondrianDef.Expression joinExp
-
levelColumnName
public String levelColumnName
-
rColumn
public RolapStar.Column rColumn
-
ordinalColumn
public JdbcSchema.Table.Column ordinalColumn
-
captionColumn
public JdbcSchema.Table.Column captionColumn
-
properties
public Map<String,JdbcSchema.Table.Column> properties
-
collapsed
public boolean collapsed
-
level
public RolapLevel level
-
rTable
public RolapStar.Table rTable
-
rightJoinConditionColumnName
public String rightJoinConditionColumnName
-
usagePrefix
public String usagePrefix
The prefix (possibly null) to use during aggregate table generation (See AggGen).
-
-
Method Detail
-
getColumn
public JdbcSchema.Table.Column getColumn()
Returns the column with which this usage is associated.- Returns:
- the usage's column.
-
getUsageType
public JdbcSchema.UsageType getUsageType()
Returns the column usage type.
-
setSymbolicName
public void setSymbolicName(String symbolicName)
Sets the symbolic (logical) name associated with this usage. For example, this might be the measure's name.- Parameters:
symbolicName
- Symbolic name
-
getSymbolicName
public String getSymbolicName()
Returns the usage's symbolic name.
-
getOrdinalExp
public MondrianDef.Expression getOrdinalExp()
-
getCaptionExp
public MondrianDef.Expression getCaptionExp()
-
getProperties
public Map<String,MondrianDef.Expression> getProperties()
-
setAggregator
public void setAggregator(RolapAggregator aggregator)
Sets the aggregator associated with this usage (if it is a measure usage).- Parameters:
aggregator
- Aggregator
-
getAggregator
public RolapAggregator getAggregator()
Returns the aggregator associated with this usage (if its a measure usage, otherwise null).
-
print
public void print(PrintWriter pw, String prefix)
-
-