Package ai.dat.adapter.mysql
Class DatMysqlSqlDialect
java.lang.Object
org.apache.calcite.sql.SqlDialect
org.apache.calcite.sql.dialect.MysqlSqlDialect
ai.dat.adapter.mysql.DatMysqlSqlDialect
public class DatMysqlSqlDialect
extends org.apache.calcite.sql.dialect.MysqlSqlDialect
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.sql.SqlDialect
org.apache.calcite.sql.SqlDialect.CalendarPolicy, org.apache.calcite.sql.SqlDialect.Context, org.apache.calcite.sql.SqlDialect.DatabaseProduct, org.apache.calcite.sql.SqlDialect.FakeUtil -
Field Summary
FieldsFields inherited from class org.apache.calcite.sql.dialect.MysqlSqlDialect
DEFAULT_CONTEXT, ISNULL_FUNCTION, MYSQL_TYPE_SYSTEMFields inherited from class org.apache.calcite.sql.SqlDialect
BUILT_IN_OPERATORS_LIST, EMPTY_CONTEXT, identifierEndQuoteString, identifierEscapedQuote, identifierQuoteString, literalEndQuoteString, literalEscapedQuote, literalQuoteString, LOGGER, nullCollation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidunparseCall(org.apache.calcite.sql.SqlWriter writer, org.apache.calcite.sql.SqlCall call, int leftPrec, int rightPrec) Methods inherited from class org.apache.calcite.sql.dialect.MysqlSqlDialect
emulateNullDirection, getCalendarPolicy, getCastSpec, requiresAliasForFromItems, rewriteSingleValueExpr, supportsAggregateFunction, supportsAggregateFunctionFilter, supportsAliasedValues, supportsCharSet, supportsGroupByWithRollup, supportsJoinType, supportsNestedAggregations, unparseOffsetFetch, unparseSqlIntervalQualifierMethods inherited from class org.apache.calcite.sql.SqlDialect
allowsAs, configureParser, configureParser, containsNonAscii, create, defaultNullDirection, emulateJoinTypeForCrossJoin, emulateNullDirectionWithIsNull, getConformance, getDatabaseProduct, getFormatModel, getNullCollation, getProduct, getQuotedCasing, getQuoting, getSingleRowTableName, getTypeSystem, getUnquotedCasing, hasImplicitTableAlias, identifierNeedsQuote, isCaseSensitive, prepareUnparse, quoteIdentifier, quoteIdentifier, quoteIdentifier, quoteStringLiteral, quoteStringLiteral, quoteStringLiteralUnicode, quoteTimestampLiteral, rewriteMaxMin, rewriteMaxMinExpr, supportBooleanCaseWhen, supportsApproxCountDistinct, supportsDataType, supportsFunction, supportsGroupByLiteral, supportsGroupByWithCube, supportsImplicitTypeCoercion, supportsOffsetFetch, supportsTimestampPrecision, supportsWindowFunctions, unparseBoolLiteral, unparseDateTimeLiteral, unparseFetchUsingAnsi, unparseFetchUsingLimit, unparseLimit, unparseNumericLiteral, unparseOffset, unparseSqlDatetimeArithmetic, unparseSqlIntervalLiteral, unparseSqlSetOption, unparseTableScanHints, unparseTopN, unquoteStringLiteral
-
Field Details
-
DEFAULT
public static final org.apache.calcite.sql.SqlDialect DEFAULT
-
-
Constructor Details
-
DatMysqlSqlDialect
public DatMysqlSqlDialect(org.apache.calcite.sql.SqlDialect.Context context)
-
-
Method Details
-
unparseCall
public void unparseCall(org.apache.calcite.sql.SqlWriter writer, org.apache.calcite.sql.SqlCall call, int leftPrec, int rightPrec) - Overrides:
unparseCallin classorg.apache.calcite.sql.dialect.MysqlSqlDialect
-
main
- Throws:
org.apache.calcite.sql.parser.SqlParseException
-