public class JdbcSchema.Table.Column.Usage extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
collapsed |
MondrianDef.Expression |
joinExp |
RolapLevel |
level |
String |
levelColumnName |
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).
|
Constructor and Description |
---|
JdbcSchema.Table.Column.Usage(JdbcSchema.UsageType usageType)
Creates a Usage.
|
Modifier and Type | Method and Description |
---|---|
RolapAggregator |
getAggregator()
Returns the aggregator associated with this usage (if its a
measure usage, otherwise null).
|
JdbcSchema.Table.Column |
getColumn()
Returns the column with which this usage is associated.
|
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() |
public RolapStar.Measure rMeasure
public MondrianDef.Relation relation
public MondrianDef.Expression joinExp
public String levelColumnName
public RolapStar.Column rColumn
public boolean collapsed
public RolapLevel level
public RolapStar.Table rTable
public String rightJoinConditionColumnName
public String usagePrefix
JdbcSchema.Table.Column.Usage(JdbcSchema.UsageType usageType)
usageType
- Usage typepublic JdbcSchema.Table.Column getColumn()
public JdbcSchema.UsageType getUsageType()
public void setSymbolicName(String symbolicName)
symbolicName
- Symbolic namepublic String getSymbolicName()
public void setAggregator(RolapAggregator aggregator)
aggregator
- Aggregatorpublic RolapAggregator getAggregator()
public void print(PrintWriter pw, String prefix)