Class DeleteStatement

java.lang.Object
org.datanucleus.store.rdbms.sql.SQLStatement
org.datanucleus.store.rdbms.sql.DeleteStatement

public class DeleteStatement extends SQLStatement
SQL DELETE Statement representation. This will create a statement like
 DELETE FROM {tbl}
 WHERE {boolExpr} [AND|OR] {boolExpr} ...
 
Any joins are converted into a WHERE clause like
 EXISTS (SELECT * FROM OTHER_TBL ...)
 
  • Constructor Details

    • DeleteStatement

      public DeleteStatement(RDBMSStoreManager rdbmsMgr, Table table, DatastoreIdentifier alias, String tableGroupName, Map<String,Object> extensions)
      Constructor for a DELETE statement.
      Parameters:
      rdbmsMgr - Store Manager
      table - The primary table to DELETE
      alias - Alias for the primary table
      tableGroupName - Group name for the primary table
      extensions - Any extensions (optional)
  • Method Details