Class DBMSHandlerH2.DBCommandH2

All Implemented Interfaces:
Cloneable
Enclosing class:
DBMSHandlerH2

public static class DBMSHandlerH2.DBCommandH2 extends DBCommand
Defines the H2 command type.
  • Field Details

    • limitRows

      protected int limitRows
    • skipRows

      protected int skipRows
  • Constructor Details

    • DBCommandH2

      public DBCommandH2(DBMSHandlerH2 dbms, boolean autoPrepareStmt)
  • Method Details

    • limitRows

      public DBCommand 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 DBCommand 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")