Class PostgresqlSqlDialect
- java.lang.Object
-
- org.apache.calcite.sql.SqlDialect
-
- org.apache.calcite.sql.dialect.PostgresqlSqlDialect
-
- com.amazonaws.athena.connectors.postgresql.PostgresqlSqlDialect
-
public class PostgresqlSqlDialect extends org.apache.calcite.sql.dialect.PostgresqlSqlDialectPostgreSQL-specific SQL dialect with catalog casing filter support. Uses double-quote (") for identifier quoting.
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.calcite.sql.SqlDialectDEFAULT
-
Constructor Summary
Constructors Constructor Description PostgresqlSqlDialect(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.dialect.PostgresqlSqlDialect
getCastSpec, requiresAliasForFromItems, rewriteMaxMinExpr, rewriteSingleValueExpr, supportsCharSet, supportsFunction, supportsGroupByLiteral, supportsImplicitTypeCoercion, supportsNestedAggregations, unparseCall, unparseSqlSetOption
-
Methods inherited from class org.apache.calcite.sql.SqlDialect
allowsAs, configureParser, configureParser, containsNonAscii, create, defaultNullDirection, emulateJoinTypeForCrossJoin, emulateNullDirection, emulateNullDirectionWithIsNull, getCalendarPolicy, getConformance, getDatabaseProduct, getFormatModel, getNullCollation, getProduct, getQuotedCasing, getQuoting, getSingleRowTableName, getTypeSystem, getUnquotedCasing, hasImplicitTableAlias, identifierNeedsQuote, isCaseSensitive, prepareUnparse, quoteIdentifier, quoteIdentifier, quoteStringLiteral, quoteStringLiteral, quoteStringLiteralUnicode, quoteTimestampLiteral, rewriteMaxMin, supportBooleanCaseWhen, supportsAggregateFunction, supportsAggregateFunctionFilter, supportsAliasedValues, supportsApproxCountDistinct, supportsDataType, supportsGroupByWithCube, supportsGroupByWithRollup, supportsJoinType, supportsOffsetFetch, supportsTimestampPrecision, supportsWindowFunctions, unparseBoolLiteral, unparseDateTimeLiteral, unparseFetchUsingAnsi, unparseFetchUsingLimit, unparseLimit, unparseNumericLiteral, unparseOffset, unparseOffsetFetch, unparseSqlDatetimeArithmetic, unparseSqlIntervalLiteral, unparseSqlIntervalQualifier, unparseTableScanHints, unparseTopN, unquoteStringLiteral
-
-
-
-
Method Detail
-
quoteIdentifier
public StringBuilder quoteIdentifier(StringBuilder buf, String identifier)
- Overrides:
quoteIdentifierin classorg.apache.calcite.sql.SqlDialect
-
-