Class DruidTable
java.lang.Object
org.apache.druid.sql.calcite.table.DruidTable
- All Implemented Interfaces:
org.apache.calcite.schema.Table,org.apache.calcite.schema.TranslatableTable
- Direct Known Subclasses:
DatasourceTable,ExternalTable,InlineTable,LookupTable
public abstract class DruidTable
extends Object
implements org.apache.calcite.schema.TranslatableTable
Abstract base class for the various kinds of tables which Druid supports.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract DataSourceorg.apache.calcite.schema.Schema.TableTypeorg.apache.calcite.rel.type.RelDataTypegetRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) org.apache.calcite.schema.StatisticinthashCode()abstract booleanabstract booleanbooleanisRolledUp(String column) booleanrolledUpColumnValidInsideAgg(String column, org.apache.calcite.sql.SqlCall call, org.apache.calcite.sql.SqlNode parent, org.apache.calcite.config.CalciteConnectionConfig config) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.calcite.schema.TranslatableTable
toRel
-
Constructor Details
-
DruidTable
-
-
Method Details
-
getRowSignature
-
getDataSource
-
isJoinable
public abstract boolean isJoinable() -
isBroadcast
public abstract boolean isBroadcast() -
getJdbcTableType
public org.apache.calcite.schema.Schema.TableType getJdbcTableType()- Specified by:
getJdbcTableTypein interfaceorg.apache.calcite.schema.Table
-
getStatistic
public org.apache.calcite.schema.Statistic getStatistic()- Specified by:
getStatisticin interfaceorg.apache.calcite.schema.Table
-
getRowType
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) - Specified by:
getRowTypein interfaceorg.apache.calcite.schema.Table
-
isRolledUp
- Specified by:
isRolledUpin interfaceorg.apache.calcite.schema.Table
-
rolledUpColumnValidInsideAgg
public boolean rolledUpColumnValidInsideAgg(String column, org.apache.calcite.sql.SqlCall call, org.apache.calcite.sql.SqlNode parent, org.apache.calcite.config.CalciteConnectionConfig config) - Specified by:
rolledUpColumnValidInsideAggin interfaceorg.apache.calcite.schema.Table
-
equals
-
hashCode
public int hashCode() -
toString
-