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
StatisticsProvider
s, 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 long
getColumnCardinality(MondrianDef.Relation relation, MondrianDef.Expression expression, long approxCardinality)
int
getColumnCardinality2(DataSource dataSource, Dialect dialect, String catalog, String schema, String table, String column)
long
getRelationCardinality(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)
-
-