Class JethroDataSqlDialect


  • public class JethroDataSqlDialect
    extends SqlDialect
    A SqlDialect implementation for the JethroData database.
    • Constructor Detail

      • JethroDataSqlDialect

        public JethroDataSqlDialect​(SqlDialect.Context context)
        Creates a JethroDataSqlDialect.
    • Method Detail

      • supportsCharSet

        public boolean supportsCharSet()
        Description copied from class: SqlDialect
        Returns whether the dialect supports character set names as part of a data type, for instance VARCHAR(30) CHARACTER SET `ISO-8859-1`.
        Overrides:
        supportsCharSet in class SqlDialect
      • supportsFunction

        public boolean supportsFunction​(SqlOperator operator,
                                        RelDataType type,
                                        java.util.List<RelDataType> paramTypes)
        Description copied from class: SqlDialect
        Returns whether this dialect supports a given function or operator. It only applies to built-in scalar functions and operators, since user-defined functions and procedures should be read by JdbcSchema.
        Overrides:
        supportsFunction in class SqlDialect
      • supportsOffsetFetch

        public boolean supportsOffsetFetch()
        Description copied from class: SqlDialect
        Returns whether the dialect supports OFFSET/FETCH clauses introduced by SQL:2008, for instance OFFSET 10 ROWS FETCH NEXT 20 ROWS ONLY. If false, we assume that the dialect supports the alternative syntax LIMIT 20 OFFSET 10.
        Overrides:
        supportsOffsetFetch in class SqlDialect
      • supportsNestedAggregations

        public boolean supportsNestedAggregations()
        Description copied from class: SqlDialect
        Returns whether the dialect supports nested aggregations, for instance SELECT SUM(SUM(1)) .
        Overrides:
        supportsNestedAggregations in class SqlDialect