Class LucidDbDialect

    • Constructor Detail

      • LucidDbDialect

        public LucidDbDialect​(Connection connection)
                       throws SQLException
        Creates a LucidDbDialect.
        Parameters:
        connection - Connection
        Throws:
        SQLException - on error
    • Method Detail

      • needsExponent

        public boolean needsExponent​(Object value,
                                     String valueString)
        Description copied from interface: Dialect
        If Double values need to include additional exponent in its string represenation. This is to make sure that Double literals will be interpreted as doubles by LucidDB.
        Specified by:
        needsExponent in interface Dialect
        Overrides:
        needsExponent in class JdbcDialectImpl
        Parameters:
        value - Double value to generate string for
        valueString - java string representation for this value.
        Returns:
        whether an additional exponent "E0" needs to be appended
      • supportsUnlimitedValueList

        public boolean supportsUnlimitedValueList()
        Description copied from interface: Dialect
        Returns whether this Dialect places no limit on the number of rows which can appear as elements of an IN or VALUES expression.
        Specified by:
        supportsUnlimitedValueList in interface Dialect
        Overrides:
        supportsUnlimitedValueList in class JdbcDialectImpl
        Returns:
        whether value list length is unlimited
      • supportsMultiValueInExpr

        public boolean supportsMultiValueInExpr()
        Description copied from interface: Dialect
        Returns true if this dialect supports multi-value IN expressions. E.g., WHERE (col1, col2) IN ((val1a, val2a), (val1b, val2b))
        Specified by:
        supportsMultiValueInExpr in interface Dialect
        Overrides:
        supportsMultiValueInExpr in class JdbcDialectImpl
        Returns:
        true if the dialect supports multi-value IN expressions