Module bus.pager

Class HsqldbRowBounds

All Implemented Interfaces:
Dialect

public class HsqldbRowBounds extends AbstractRowBounds
Hsqldb dialect for pagination based on RowBounds. This class provides Hsqldb-specific SQL generation for pagination using offset and limit.
Since:
Java 17+
Author:
Kimi Liu
  • Constructor Details

    • HsqldbRowBounds

      public HsqldbRowBounds()
  • Method Details

    • getPageSql

      public String getPageSql(String sql, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.cache.CacheKey pageKey)
      Generates the Hsqldb-specific pagination SQL using RowBounds. It appends LIMIT ? and optionally OFFSET ? to the original SQL.
      Specified by:
      getPageSql in class AbstractRowBounds
      Parameters:
      sql - the original SQL string
      rowBounds - the RowBounds object containing offset and limit
      pageKey - the CacheKey for the paginated query
      Returns:
      the Hsqldb-specific paginated SQL string