Interface JdbcDialect

All Known Implementing Classes:
ClickhouseJdbcDialect, DefaultJdbcDialect

public interface JdbcDialect
Interface for different implementations of databases connected using the JdbcStoragePlugin.
  • Method Summary

    Modifier and Type
    Method
    Description
    generateSql(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.rel.RelNode input)
    Generate sql from relational expressions.
    void
    registerSchemas(SchemaConfig config, org.apache.calcite.schema.SchemaPlus parent)
    Register the schemas provided by this JdbcDialect implementation under the given parent schema.
  • Method Details

    • registerSchemas

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

      String generateSql(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.rel.RelNode input)
      Generate sql from relational expressions.
      Parameters:
      cluster - An environment for related relational expressions.
      input - Relational expressions.