Package org.apache.calcite.materialize
Class TileSuggester.SchemaImpl
- java.lang.Object
-
- org.apache.calcite.materialize.TileSuggester.SchemaImpl
-
- All Implemented Interfaces:
org.pentaho.aggdes.model.Schema
- Enclosing class:
- TileSuggester
private static class TileSuggester.SchemaImpl extends java.lang.Object implements org.pentaho.aggdes.model.Schema
Implementation ofSchema
based on aLattice
.
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.common.collect.ImmutableList<TileSuggester.AttributeImpl>
attributes
private org.pentaho.aggdes.model.StatisticsProvider
statisticsProvider
private TileSuggester.TableImpl
table
-
Constructor Summary
Constructors Constructor Description SchemaImpl(Lattice lattice, org.pentaho.aggdes.model.StatisticsProvider statisticsProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generateAggregateSql(org.pentaho.aggdes.model.Aggregate aggregate, java.util.List<java.lang.String> columnNameList)
java.util.List<? extends org.pentaho.aggdes.model.Attribute>
getAttributes()
org.pentaho.aggdes.model.Dialect
getDialect()
java.util.List<? extends org.pentaho.aggdes.model.Dimension>
getDimensions()
java.util.List<org.pentaho.aggdes.model.Measure>
getMeasures()
org.pentaho.aggdes.model.StatisticsProvider
getStatisticsProvider()
java.util.List<? extends org.pentaho.aggdes.model.Table>
getTables()
-
-
-
Field Detail
-
statisticsProvider
private final org.pentaho.aggdes.model.StatisticsProvider statisticsProvider
-
table
private final TileSuggester.TableImpl table
-
attributes
private final com.google.common.collect.ImmutableList<TileSuggester.AttributeImpl> attributes
-
-
Constructor Detail
-
SchemaImpl
SchemaImpl(Lattice lattice, org.pentaho.aggdes.model.StatisticsProvider statisticsProvider)
-
-
Method Detail
-
getTables
public java.util.List<? extends org.pentaho.aggdes.model.Table> getTables()
- Specified by:
getTables
in interfaceorg.pentaho.aggdes.model.Schema
-
getMeasures
public java.util.List<org.pentaho.aggdes.model.Measure> getMeasures()
- Specified by:
getMeasures
in interfaceorg.pentaho.aggdes.model.Schema
-
getDimensions
public java.util.List<? extends org.pentaho.aggdes.model.Dimension> getDimensions()
- Specified by:
getDimensions
in interfaceorg.pentaho.aggdes.model.Schema
-
getAttributes
public java.util.List<? extends org.pentaho.aggdes.model.Attribute> getAttributes()
- Specified by:
getAttributes
in interfaceorg.pentaho.aggdes.model.Schema
-
getStatisticsProvider
public org.pentaho.aggdes.model.StatisticsProvider getStatisticsProvider()
- Specified by:
getStatisticsProvider
in interfaceorg.pentaho.aggdes.model.Schema
-
getDialect
public org.pentaho.aggdes.model.Dialect getDialect()
- Specified by:
getDialect
in interfaceorg.pentaho.aggdes.model.Schema
-
generateAggregateSql
public java.lang.String generateAggregateSql(org.pentaho.aggdes.model.Aggregate aggregate, java.util.List<java.lang.String> columnNameList)
- Specified by:
generateAggregateSql
in interfaceorg.pentaho.aggdes.model.Schema
-
-