Package org.apache.calcite.sql
Interface SqlDialect.Context
- Enclosing class:
SqlDialect
public static interface SqlDialect.Context
Information for creating a dialect.
It is immutable; to "set" a property, call one of the "with" methods, which returns a new context with the desired property value.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
@Nullable String
@Nullable String
@Nullable String
@Nullable String
org.apache.calcite.avatica.util.Casing
org.apache.calcite.avatica.util.Casing
withCaseSensitive
(boolean caseSensitive) withConformance
(SqlConformance conformance) withDatabaseMajorVersion
(int databaseMajorVersion) withDatabaseMinorVersion
(int databaseMinorVersion) withDatabaseProduct
(SqlDialect.DatabaseProduct databaseProduct) withDatabaseProductName
(String databaseProductName) withDatabaseVersion
(String databaseVersion) withDataTypeSystem
(RelDataTypeSystem dataTypeSystem) withIdentifierEscapedQuoteString
(@Nullable String identifierEscapedQuoteString) withIdentifierQuoteString
(@Nullable String identifierQuoteString) withJethroInfo
(JethroDataSqlDialect.JethroInfo jethroInfo) withLiteralEscapedQuoteString
(String literalEscapedQuoteString) withLiteralQuoteString
(String literalQuoteString) withNullCollation
(NullCollation nullCollation) withQuotedCasing
(org.apache.calcite.avatica.util.Casing unquotedCasing) withUnquotedCasing
(org.apache.calcite.avatica.util.Casing unquotedCasing)
-
Method Details
-
databaseProduct
SqlDialect.DatabaseProduct databaseProduct() -
withDatabaseProduct
-
databaseProductName
@Nullable String databaseProductName() -
withDatabaseProductName
-
databaseVersion
@Nullable String databaseVersion() -
withDatabaseVersion
-
databaseMajorVersion
int databaseMajorVersion() -
withDatabaseMajorVersion
-
databaseMinorVersion
int databaseMinorVersion() -
withDatabaseMinorVersion
-
literalQuoteString
String literalQuoteString() -
withLiteralQuoteString
-
literalEscapedQuoteString
String literalEscapedQuoteString() -
withLiteralEscapedQuoteString
-
identifierQuoteString
@Nullable String identifierQuoteString() -
withIdentifierQuoteString
-
identifierEscapedQuoteString
@Nullable String identifierEscapedQuoteString() -
withIdentifierEscapedQuoteString
-
unquotedCasing
org.apache.calcite.avatica.util.Casing unquotedCasing() -
withUnquotedCasing
-
quotedCasing
org.apache.calcite.avatica.util.Casing quotedCasing() -
withQuotedCasing
-
caseSensitive
boolean caseSensitive() -
withCaseSensitive
-
conformance
SqlConformance conformance() -
withConformance
-
nullCollation
NullCollation nullCollation() -
withNullCollation
-
dataTypeSystem
RelDataTypeSystem dataTypeSystem() -
withDataTypeSystem
-
jethroInfo
JethroDataSqlDialect.JethroInfo jethroInfo() -
withJethroInfo
-