| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.sql.dml.AbstractSQLClause
com.mysema.query.sql.dml.SQLDeleteClause
public class SQLDeleteClause
SQLDeleteClause defines a DELETE clause
| Field Summary | 
|---|
| Fields inherited from class com.mysema.query.sql.dml.AbstractSQLClause | 
|---|
configuration | 
| Constructor Summary | |
|---|---|
SQLDeleteClause(Connection connection,
                Configuration configuration,
                RelationalPath<?> entity)
 | 
|
SQLDeleteClause(Connection connection,
                SQLTemplates templates,
                RelationalPath<?> entity)
 | 
|
| Method Summary | |
|---|---|
 SQLDeleteClause | 
addBatch()
Add current state of bindings as a batch item  | 
 SQLDeleteClause | 
addFlag(QueryFlag.Position position,
        Expression<?> flag)
Add the given Expression at the given position as a query flag  | 
 SQLDeleteClause | 
addFlag(QueryFlag.Position position,
        String flag)
Add the given String literal at the given position as a query flag  | 
 long | 
execute()
Execute the clause and return the amount of affected rows  | 
 String | 
toString()
 | 
 SQLDeleteClause | 
where(Predicate... o)
Adds the given filter conditions  | 
| Methods inherited from class com.mysema.query.sql.dml.AbstractSQLClause | 
|---|
close, close, setParameters | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public SQLDeleteClause(Connection connection,
                       SQLTemplates templates,
                       RelationalPath<?> entity)
public SQLDeleteClause(Connection connection,
                       Configuration configuration,
                       RelationalPath<?> entity)
| Method Detail | 
|---|
public SQLDeleteClause addFlag(QueryFlag.Position position,
                               String flag)
position - flag - 
public SQLDeleteClause addFlag(QueryFlag.Position position,
                               Expression<?> flag)
position - flag - 
public SQLDeleteClause addBatch()
public long execute()
DMLClause
execute in interface DMLClause<SQLDeleteClause>public SQLDeleteClause where(Predicate... o)
FilteredClause
where in interface FilteredClause<SQLDeleteClause>o - filter conditions to be added
public String toString()
toString in class Object
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||