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 Details

  • Method Details

    • getRowSignature

      public RowSignature getRowSignature()
    • getDataSource

      public abstract DataSource getDataSource()
    • isJoinable

      public abstract boolean isJoinable()
    • isBroadcast

      public abstract boolean isBroadcast()
    • getJdbcTableType

      public org.apache.calcite.schema.Schema.TableType getJdbcTableType()
      Specified by:
      getJdbcTableType in interface org.apache.calcite.schema.Table
    • getStatistic

      public org.apache.calcite.schema.Statistic getStatistic()
      Specified by:
      getStatistic in interface org.apache.calcite.schema.Table
    • getRowType

      public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
      Specified by:
      getRowType in interface org.apache.calcite.schema.Table
    • isRolledUp

      public boolean isRolledUp(String column)
      Specified by:
      isRolledUp in interface org.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:
      rolledUpColumnValidInsideAgg in interface org.apache.calcite.schema.Table
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object