com.mysema.query.sql.dml
Class SQLDeleteClause
java.lang.Object
com.mysema.query.sql.dml.AbstractSQLClause<SQLDeleteClause>
com.mysema.query.sql.dml.SQLDeleteClause
- All Implemented Interfaces:
- com.mysema.query.dml.DeleteClause<SQLDeleteClause>, com.mysema.query.dml.DMLClause<SQLDeleteClause>, com.mysema.query.FilteredClause<SQLDeleteClause>
public class SQLDeleteClause
- extends AbstractSQLClause<SQLDeleteClause>
- implements com.mysema.query.dml.DeleteClause<SQLDeleteClause>
SQLDeleteClause defines a DELETE clause
- Author:
- tiwe
SQLDeleteClause
public SQLDeleteClause(Connection connection,
SQLTemplates templates,
RelationalPath<?> entity)
SQLDeleteClause
public SQLDeleteClause(Connection connection,
Configuration configuration,
RelationalPath<?> entity)
addFlag
public SQLDeleteClause addFlag(com.mysema.query.QueryFlag.Position position,
String flag)
- Add the given String literal at the given position as a query flag
- Parameters:
position
- flag
-
- Returns:
addFlag
public SQLDeleteClause addFlag(com.mysema.query.QueryFlag.Position position,
com.mysema.query.types.Expression<?> flag)
- Add the given Expression at the given position as a query flag
- Parameters:
position
- flag
-
- Returns:
addBatch
public SQLDeleteClause addBatch()
- Add current state of bindings as a batch item
- Returns:
execute
public long execute()
- Specified by:
execute
in interface com.mysema.query.dml.DMLClause<SQLDeleteClause>
where
public SQLDeleteClause where(com.mysema.query.types.Predicate... o)
- Specified by:
where
in interface com.mysema.query.FilteredClause<SQLDeleteClause>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.