Class JdbcCasingSqlDialect
- java.lang.Object
-
- org.apache.calcite.sql.SqlDialect
-
- com.amazonaws.athena.connectors.jdbc.manager.JdbcCasingSqlDialect
-
- Direct Known Subclasses:
MysqlSqlDialect,OracleSqlDialect,PostgresqlSqlDialect,SqlServerDialect
public abstract class JdbcCasingSqlDialect extends org.apache.calcite.sql.SqlDialectAbstract SQL dialect that applies catalog casing (uppercase) to quoted identifiers when the catalog casing filter is enabled. Subclasses provide database-specific quoting characters.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJdbcCasingSqlDialect(org.apache.calcite.sql.SqlDialect.DatabaseProduct product, String quoteString, boolean catalogCasingFilter)protectedJdbcCasingSqlDialect(org.apache.calcite.sql.SqlDialect.DatabaseProduct product, String openQuote, String closeQuote, boolean catalogCasingFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderquoteIdentifier(StringBuilder buf, String identifier)-
Methods inherited from class org.apache.calcite.sql.SqlDialect
allowsAs, configureParser, configureParser, containsNonAscii, create, defaultNullDirection, emulateJoinTypeForCrossJoin, emulateNullDirection, emulateNullDirectionWithIsNull, getCalendarPolicy, getCastSpec, getConformance, getDatabaseProduct, getFormatModel, getNullCollation, getProduct, getQuotedCasing, getQuoting, getSingleRowTableName, getTypeSystem, getUnquotedCasing, hasImplicitTableAlias, identifierNeedsQuote, isCaseSensitive, prepareUnparse, quoteIdentifier, quoteIdentifier, quoteStringLiteral, quoteStringLiteral, quoteStringLiteralUnicode, quoteTimestampLiteral, requiresAliasForFromItems, rewriteMaxMin, rewriteMaxMinExpr, rewriteSingleValueExpr, supportBooleanCaseWhen, supportsAggregateFunction, supportsAggregateFunctionFilter, supportsAliasedValues, supportsApproxCountDistinct, supportsCharSet, supportsDataType, supportsFunction, supportsGroupByLiteral, supportsGroupByWithCube, supportsGroupByWithRollup, supportsImplicitTypeCoercion, supportsJoinType, supportsNestedAggregations, supportsOffsetFetch, supportsTimestampPrecision, supportsWindowFunctions, unparseBoolLiteral, unparseCall, unparseDateTimeLiteral, unparseFetchUsingAnsi, unparseFetchUsingLimit, unparseLimit, unparseNumericLiteral, unparseOffset, unparseOffsetFetch, unparseSqlDatetimeArithmetic, unparseSqlIntervalLiteral, unparseSqlIntervalQualifier, unparseSqlSetOption, unparseTableScanHints, unparseTopN, unquoteStringLiteral
-
-
-
-
Constructor Detail
-
JdbcCasingSqlDialect
protected JdbcCasingSqlDialect(org.apache.calcite.sql.SqlDialect.DatabaseProduct product, String quoteString, boolean catalogCasingFilter)
-
-
Method Detail
-
quoteIdentifier
public StringBuilder quoteIdentifier(StringBuilder buf, String identifier)
- Overrides:
quoteIdentifierin classorg.apache.calcite.sql.SqlDialect
-
-