Class DBMSHandlerMySQL.DBCommandMySQL

All Implemented Interfaces:
Cloneable
Enclosing class:
DBMSHandlerMySQL

public static class DBMSHandlerMySQL.DBCommandMySQL extends DBCommand
Defines the MySQL command type.
  • Field Details

    • limit

      protected int limit
    • skip

      protected int skip
  • Constructor Details

    • DBCommandMySQL

      public DBCommandMySQL(DBMSHandlerMySQL dbms, boolean autoPrepareStmt)
  • Method Details

    • limitRows

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

      public DBCommand skipRows(int numRows)
      Description copied from class: DBCommand
      Overridden to change return type from DBCommandExpr to DBCommand
      Overrides:
      skipRows in class DBCommand
      Parameters:
      numRows - 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")
    • addDeleteWithJoins

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