Class ClickhouseJdbcDialect

java.lang.Object
org.apache.drill.exec.store.jdbc.clickhouse.ClickhouseJdbcDialect
All Implemented Interfaces:
JdbcDialect

public class ClickhouseJdbcDialect extends Object implements JdbcDialect
  • Constructor Details

    • ClickhouseJdbcDialect

      public ClickhouseJdbcDialect(JdbcStoragePlugin plugin, org.apache.calcite.sql.SqlDialect dialect)
  • Method Details

    • registerSchemas

      public void registerSchemas(SchemaConfig config, org.apache.calcite.schema.SchemaPlus parent)
      Description copied from interface: JdbcDialect
      Register the schemas provided by this JdbcDialect implementation under the given parent schema.
      Specified by:
      registerSchemas in interface JdbcDialect
      Parameters:
      config - Configuration for schema objects.
      parent - Reference to parent schema.
    • generateSql

      public String generateSql(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.rel.RelNode input)
      Description copied from interface: JdbcDialect
      Generate sql from relational expressions.
      Specified by:
      generateSql in interface JdbcDialect
      Parameters:
      cluster - An environment for related relational expressions.
      input - Relational expressions.