Class Db2Dialect

    • Method Detail

      • toUpper

        public String toUpper​(String expr)
        Description copied from interface: Dialect
        Converts an expression to upper case.

        For example, for MySQL, toUpper("foo.bar") returns "UPPER(foo.bar)".

        Specified by:
        toUpper in interface Dialect
        Overrides:
        toUpper in class JdbcDialectImpl
        Parameters:
        expr - SQL expression
        Returns:
        SQL syntax that converts expr into upper case.
      • supportsGroupingSets

        public boolean supportsGroupingSets()
        Description copied from interface: Dialect
        Returns whether this Dialect allows the GROUPING SETS construct in the GROUP BY clause. Currently Greenplum, IBM DB2, Oracle, and Teradata.
        Specified by:
        supportsGroupingSets in interface Dialect
        Overrides:
        supportsGroupingSets in class JdbcDialectImpl
        Returns:
        Whether this Dialect allows GROUPING SETS clause