Class SqlDialectFactoryImpl

java.lang.Object
org.apache.calcite.sql.SqlDialectFactoryImpl
All Implemented Interfaces:
SqlDialectFactory

public class SqlDialectFactoryImpl extends Object implements SqlDialectFactory
The default implementation of a SqlDialectFactory.
  • Field Details

  • Constructor Details

    • SqlDialectFactoryImpl

      public SqlDialectFactoryImpl()
  • Method Details

    • create

      public SqlDialect create(DatabaseMetaData databaseMetaData)
      Description copied from interface: SqlDialectFactory
      Creates a SqlDialect from a DatabaseMetaData.

      Does not maintain a reference to the DatabaseMetaData -- or, more importantly, to its Connection -- after this call has returned.

      Specified by:
      create in interface SqlDialectFactory
      Parameters:
      databaseMetaData - used to determine which dialect of SQL to generate