Package org.apache.calcite.materialize
Class TileSuggester
- java.lang.Object
-
- org.apache.calcite.materialize.TileSuggester
-
public class TileSuggester extends java.lang.Object
Algorithm that suggests a set of initial tiles (materialized aggregate views) for a given lattice.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
TileSuggester.AttributeImpl
Implementation ofAttribute
based on aLattice.Column
.private static class
TileSuggester.SchemaImpl
Implementation ofSchema
based on aLattice
.private static class
TileSuggester.StatisticsProviderImpl
Implementation ofStatisticsProvider
that asks the lattice.private static class
TileSuggester.TableImpl
Implementation ofTable
based on aLattice
.
-
Constructor Summary
Constructors Constructor Description TileSuggester(Lattice lattice)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Iterable<? extends Lattice.Tile>
tiles()
private Lattice.Tile
toTile(org.pentaho.aggdes.model.Aggregate aggregate)
-
-
-
Field Detail
-
lattice
private final Lattice lattice
-
-
Constructor Detail
-
TileSuggester
public TileSuggester(Lattice lattice)
-
-
Method Detail
-
tiles
public java.lang.Iterable<? extends Lattice.Tile> tiles()
-
toTile
private Lattice.Tile toTile(org.pentaho.aggdes.model.Aggregate aggregate)
-
-