Package org.apache.drill.exec.store.jdbc
Class DefaultJdbcDialect
java.lang.Object
org.apache.drill.exec.store.jdbc.DefaultJdbcDialect
- All Implemented Interfaces:
JdbcDialect
-
Constructor Summary
ConstructorDescriptionDefaultJdbcDialect
(JdbcStoragePlugin plugin, org.apache.calcite.sql.SqlDialect dialect) -
Method Summary
Modifier and TypeMethodDescriptiongenerateSql
(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.
-
Constructor Details
-
DefaultJdbcDialect
-
-
Method Details
-
registerSchemas
Description copied from interface:JdbcDialect
Register the schemas provided by this JdbcDialect implementation under the given parent schema.- Specified by:
registerSchemas
in interfaceJdbcDialect
- 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 interfaceJdbcDialect
- Parameters:
cluster
- An environment for related relational expressions.input
- Relational expressions.
-