Package org.apache.calcite.materialize
Class TileSuggester.StatisticsProviderImpl
- java.lang.Object
-
- org.apache.calcite.materialize.TileSuggester.StatisticsProviderImpl
-
- All Implemented Interfaces:
org.pentaho.aggdes.model.StatisticsProvider
- Enclosing class:
- TileSuggester
private static class TileSuggester.StatisticsProviderImpl extends java.lang.Object implements org.pentaho.aggdes.model.StatisticsProvider
Implementation ofStatisticsProvider
that asks the lattice.
-
-
Constructor Summary
Constructors Constructor Description StatisticsProviderImpl(Lattice lattice)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getFactRowCount()
double
getLoadTime(java.util.List<org.pentaho.aggdes.model.Attribute> attributes)
double
getRowCount(java.util.List<org.pentaho.aggdes.model.Attribute> attributes)
double
getSpace(java.util.List<org.pentaho.aggdes.model.Attribute> attributes)
-
-
-
Field Detail
-
lattice
private final Lattice lattice
-
-
Constructor Detail
-
StatisticsProviderImpl
StatisticsProviderImpl(Lattice lattice)
-
-
Method Detail
-
getFactRowCount
public double getFactRowCount()
- Specified by:
getFactRowCount
in interfaceorg.pentaho.aggdes.model.StatisticsProvider
-
getRowCount
public double getRowCount(java.util.List<org.pentaho.aggdes.model.Attribute> attributes)
- Specified by:
getRowCount
in interfaceorg.pentaho.aggdes.model.StatisticsProvider
-
getSpace
public double getSpace(java.util.List<org.pentaho.aggdes.model.Attribute> attributes)
- Specified by:
getSpace
in interfaceorg.pentaho.aggdes.model.StatisticsProvider
-
getLoadTime
public double getLoadTime(java.util.List<org.pentaho.aggdes.model.Attribute> attributes)
- Specified by:
getLoadTime
in interfaceorg.pentaho.aggdes.model.StatisticsProvider
-
-