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

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.calcite.sql.SqlDialect
     

    Fields inherited from class org.apache.calcite.sql.dialect.MysqlSqlDialect

    DEFAULT_CONTEXT, ISNULL_FUNCTION, MYSQL_TYPE_SYSTEM

    Fields 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
    Constructor
    Description
    DatMysqlSqlDialect(org.apache.calcite.sql.SqlDialect.Context context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
     
    void
    unparseCall(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, unparseSqlIntervalQualifier

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      unparseCall in class org.apache.calcite.sql.dialect.MysqlSqlDialect
    • main

      public static void main(String[] args) throws org.apache.calcite.sql.parser.SqlParseException
      Throws:
      org.apache.calcite.sql.parser.SqlParseException