Package mondrian.rolap
Class RolapStatisticsCache
- java.lang.Object
-
- mondrian.rolap.RolapStatisticsCache
-
public class RolapStatisticsCache extends Object
Provides and caches statistics.Wrapper around a chain of
StatisticsProviders, followed by a cache to store the results.
-
-
Constructor Summary
Constructors Constructor Description RolapStatisticsCache(RolapStar star)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetColumnCardinality(MondrianDef.Relation relation, MondrianDef.Expression expression, long approxCardinality)intgetColumnCardinality2(DataSource dataSource, Dialect dialect, String catalog, String schema, String table, String column)longgetRelationCardinality(MondrianDef.Relation relation, String alias, long approxRowCount)
-
-
-
Constructor Detail
-
RolapStatisticsCache
public RolapStatisticsCache(RolapStar star)
-
-
Method Detail
-
getRelationCardinality
public long getRelationCardinality(MondrianDef.Relation relation, String alias, long approxRowCount)
-
getColumnCardinality
public long getColumnCardinality(MondrianDef.Relation relation, MondrianDef.Expression expression, long approxCardinality)
-
-