Package org.apache.calcite.sql
Class SqlDialectFactoryImpl
java.lang.Object
org.apache.calcite.sql.SqlDialectFactoryImpl
- All Implemented Interfaces:
SqlDialectFactory
The default implementation of a
SqlDialectFactory
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(DatabaseMetaData databaseMetaData) Creates aSqlDialect
from a DatabaseMetaData.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
SqlDialectFactoryImpl
public SqlDialectFactoryImpl()
-
-
Method Details
-
create
Description copied from interface:SqlDialectFactory
Creates aSqlDialect
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 interfaceSqlDialectFactory
- Parameters:
databaseMetaData
- used to determine which dialect of SQL to generate
-