Class PostgreSQLDialect

    • Constructor Detail

      • PostgreSQLDialect

        public PostgreSQLDialect()
    • Method Detail

      • formSelect

        public String formSelect​(String tableName,
                                 String[] columns,
                                 String subQuery,
                                 List<String> orderBys,
                                 long limit,
                                 long offset)
        Generates adds limit, offset and order bys to a sub-query
        Specified by:
        formSelect in interface Dialect
        Overrides:
        formSelect in class DefaultDialect
        Parameters:
        tableName - name of table. If table name is null, then the subQuery parameter is considered to be a full query, and all that needs to be done is to add limit, offset and order bys
        columns - not used in this implementation
        subQuery - sub-query or a full query
        orderBys -
        limit -
        offset -
        Returns:
        query with