com.mysema.query.sql.dml
Class SQLDeleteClause
java.lang.Object
com.mysema.query.sql.dml.AbstractSQLClause
com.mysema.query.sql.dml.SQLDeleteClause
- All Implemented Interfaces:
- DeleteClause<SQLDeleteClause>, DMLClause<SQLDeleteClause>, FilteredClause<SQLDeleteClause>
public class SQLDeleteClause
- extends AbstractSQLClause
- implements DeleteClause<SQLDeleteClause>
SQLDeleteClause defines a DELETE clause
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SQLDeleteClause
public SQLDeleteClause(java.sql.Connection connection,
SQLTemplates templates,
RelationalPath<?> entity)
SQLDeleteClause
public SQLDeleteClause(java.sql.Connection connection,
Configuration configuration,
RelationalPath<?> entity)
addFlag
public SQLDeleteClause addFlag(QueryFlag.Position position,
java.lang.String flag)
addBatch
public SQLDeleteClause addBatch()
close
protected void close(java.sql.PreparedStatement stmt)
execute
public long execute()
- Description copied from interface:
DMLClause
- Execute the clause and return the amount of affected rows
- Specified by:
execute
in interface DMLClause<SQLDeleteClause>
- Returns:
where
public SQLDeleteClause where(Predicate... o)
- Description copied from interface:
FilteredClause
- Adds the given filter conditions
- Specified by:
where
in interface FilteredClause<SQLDeleteClause>
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.