Module bus.pager

Class InformixRowBounds

All Implemented Interfaces:
Dialect

public class InformixRowBounds extends AbstractRowBounds
Informix dialect for pagination based on RowBounds. This class provides Informix-specific SQL generation for pagination using SKIP and FIRST clauses.
Since:
Java 17+
Author:
Kimi Liu
  • Constructor Details

    • InformixRowBounds

      public InformixRowBounds()
  • Method Details

    • getPageSql

      public String getPageSql(String sql, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.cache.CacheKey pageKey)
      Generates the Informix-specific pagination SQL using RowBounds. It constructs a SQL query that uses `SKIP ?` and `FIRST ?` clauses to limit the results.
      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 Informix-specific paginated SQL string