Class DBCommandHSql

All Implemented Interfaces:
Cloneable

public class DBCommandHSql extends DBCommand
This class handles the special features of an HSqlDB database.
  • Field Details

    • limitRows

      protected int limitRows
    • skipRows

      protected int skipRows
  • Constructor Details

    • DBCommandHSql

      public DBCommandHSql(DBMSHandlerHSql dbms, boolean autoPrepareStmt)
      Constructs an HSqlDB command object.
  • Method Details

    • limitRows

      public DBCommandHSql limitRows(int limitRows)
      Description copied from class: DBCommand
      Overridden to change return type from DBCommandExpr to DBCommand
      Overrides:
      limitRows in class DBCommand
      Parameters:
      limitRows - the number of rows to limit
      Returns:
      itself (this)
    • skipRows

      public DBCommandHSql skipRows(int skipRows)
      Description copied from class: DBCommand
      Overridden to change return type from DBCommandExpr to DBCommand
      Overrides:
      skipRows in class DBCommand
      Parameters:
      skipRows - the number of rows to skip
      Returns:
      itself (this)
    • clearLimit

      public void clearLimit()
      Description copied from class: DBCommandExpr
      Clears a limit or offset set by calling limit() or offset()
      Overrides:
      clearLimit in class DBCommandExpr
    • getSelect

      public void getSelect(DBSQLBuilder sql, int flags)
      Description copied from class: DBCommand
      Creates a select SQL-Statement
      Overrides:
      getSelect in class DBCommand
      Parameters:
      sql - the sql builder to add the command to
      flags - bitwise context flags for sql building (see "Select Context Flags")
    • addUpdateWithJoins

      protected void addUpdateWithJoins(DBSQLBuilder sql, DBRowSet table)
      Overrides:
      addUpdateWithJoins in class DBCommand