| Constructor and Description |
|---|
MondrianSchema(mondrian.rolap.RolapConnection conn,
mondrian.rolap.RolapCube cube) |
| Modifier and Type | Method and Description |
|---|---|
protected MondrianAttribute |
createAttribute(MondrianTable table,
List<Attribute> ancestors,
mondrian.rolap.RolapStar.Column column,
double distinctValueCount)
createAttribute is protected so that extenders of MondrianSchema may modify
certain characteristics of the attribute class, such as getDataType(), etc
|
protected MondrianMeasure |
createMeasure(MondrianTable table,
mondrian.rolap.RolapStar.Measure measure)
Creates a measure.
|
String |
generateAggregateSql(Aggregate aggregate,
List<String> columnNameList) |
List<? extends Attribute> |
getAttributes() |
DatabaseMetaData |
getDatabaseMetaData() |
Dialect |
getDialect() |
List<MondrianDimension> |
getDimensions() |
List<Measure> |
getMeasures() |
mondrian.olap.Connection |
getRolapConnection() |
mondrian.rolap.RolapCube |
getRolapCube() |
StatisticsProvider |
getStatisticsProvider() |
List<MondrianTable> |
getTables() |
public MondrianSchema(mondrian.rolap.RolapConnection conn,
mondrian.rolap.RolapCube cube)
public mondrian.olap.Connection getRolapConnection()
public DatabaseMetaData getDatabaseMetaData() throws SQLException
SQLExceptionprotected MondrianAttribute createAttribute(MondrianTable table, List<Attribute> ancestors, mondrian.rolap.RolapStar.Column column, double distinctValueCount)
table - mondrian table parentcolumn - mondrian columndistinctValueCount - number of values in the attributeprotected MondrianMeasure createMeasure(MondrianTable table, mondrian.rolap.RolapStar.Measure measure)
This method is protected so that extenders of MondrianSchema may modify certain characteristics of the measure class, such as getDataType(), etc
table - mondrian table parentpublic StatisticsProvider getStatisticsProvider()
getStatisticsProvider in interface Schemapublic List<MondrianTable> getTables()
public List<Measure> getMeasures()
getMeasures in interface Schemapublic List<MondrianDimension> getDimensions()
getDimensions in interface Schemapublic List<? extends Attribute> getAttributes()
getAttributes in interface Schemapublic Dialect getDialect()
getDialect in interface Schemapublic String generateAggregateSql(Aggregate aggregate, List<String> columnNameList)
generateAggregateSql in interface Schemapublic mondrian.rolap.RolapCube getRolapCube()
Copyright © 2006–2016 Julian Hyde. All rights reserved.