Package org.apache.calcite.materialize
Class TileSuggester.AttributeImpl
- java.lang.Object
-
- org.apache.calcite.materialize.TileSuggester.AttributeImpl
-
- All Implemented Interfaces:
org.pentaho.aggdes.model.Attribute
- Enclosing class:
- TileSuggester
private static class TileSuggester.AttributeImpl extends java.lang.Object implements org.pentaho.aggdes.model.Attribute
Implementation ofAttribute
based on aLattice.Column
.
-
-
Field Summary
Fields Modifier and Type Field Description private Lattice.Column
column
private TileSuggester.TableImpl
table
-
Constructor Summary
Constructors Modifier Constructor Description private
AttributeImpl(Lattice.Column column, TileSuggester.TableImpl table)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
estimateSpace()
java.util.List<org.pentaho.aggdes.model.Attribute>
getAncestorAttributes()
java.lang.String
getCandidateColumnName()
java.lang.String
getDatatype(org.pentaho.aggdes.model.Dialect dialect)
java.lang.String
getLabel()
org.pentaho.aggdes.model.Table
getTable()
java.lang.String
toString()
-
-
-
Field Detail
-
column
private final Lattice.Column column
-
table
private final TileSuggester.TableImpl table
-
-
Constructor Detail
-
AttributeImpl
private AttributeImpl(Lattice.Column column, TileSuggester.TableImpl table)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interfaceorg.pentaho.aggdes.model.Attribute
-
getTable
public org.pentaho.aggdes.model.Table getTable()
- Specified by:
getTable
in interfaceorg.pentaho.aggdes.model.Attribute
-
estimateSpace
public double estimateSpace()
- Specified by:
estimateSpace
in interfaceorg.pentaho.aggdes.model.Attribute
-
getCandidateColumnName
public java.lang.String getCandidateColumnName()
- Specified by:
getCandidateColumnName
in interfaceorg.pentaho.aggdes.model.Attribute
-
getDatatype
public java.lang.String getDatatype(org.pentaho.aggdes.model.Dialect dialect)
- Specified by:
getDatatype
in interfaceorg.pentaho.aggdes.model.Attribute
-
getAncestorAttributes
public java.util.List<org.pentaho.aggdes.model.Attribute> getAncestorAttributes()
- Specified by:
getAncestorAttributes
in interfaceorg.pentaho.aggdes.model.Attribute
-
-