com.mysema.query.sql.dml
Class SQLDeleteClause

java.lang.Object
  extended by com.mysema.query.sql.dml.SQLDeleteClause
All Implemented Interfaces:
DeleteClause<SQLDeleteClause>

public class SQLDeleteClause
extends Object
implements DeleteClause<SQLDeleteClause>

SQLDeleteClause defines a DELETE clause

Author:
tiwe

Constructor Summary
SQLDeleteClause(Connection connection, SQLTemplates templates, PEntity<?> entity)
           
 
Method Summary
protected  void close(PreparedStatement stmt)
           
 long execute()
          Execute the delete clause and return the amount of deleted rows/items
 SQLDeleteClause where(EBoolean... o)
          Defines the filter constraints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLDeleteClause

public SQLDeleteClause(Connection connection,
                       SQLTemplates templates,
                       PEntity<?> entity)
Method Detail

execute

public long execute()
Description copied from interface: DeleteClause
Execute the delete clause and return the amount of deleted rows/items

Specified by:
execute in interface DeleteClause<SQLDeleteClause>
Returns:

close

protected void close(PreparedStatement stmt)

where

public SQLDeleteClause where(EBoolean... o)
Description copied from interface: DeleteClause
Defines the filter constraints

Specified by:
where in interface DeleteClause<SQLDeleteClause>
Returns:


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.