E - the generic type of the queried object (typically a Bean).SELF - the generic type of this query itself (this) for fluent API calls.public abstract class AbstractDeleteStatement<E,SELF extends DeleteStatement<E,SELF>> extends AbstractModifyStatement<E,SELF> implements DeleteStatement<E,SELF>
DeleteStatement.| Constructor and Description |
|---|
AbstractDeleteStatement(SqlDialect dialect,
EntityAlias<E> alias)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildStart(SqlBuilder builder) |
SELF |
limit(int limit)
Set the limit for the query matches.
|
SELF |
where(Expression... expressions)
Adds the given
Expressions as filter criteria to the WHERE-clause. |
doExecute, executeaddAlias, addAliases, build, createFeature, createSqlBuilder, feature, getAlias, getBuilder, getDialect, getFeature, getParameters, getResultClass, getSql, isSupportingAlias, self, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAlias, getDialect, getParameters, getSql, toStringexecutepublic AbstractDeleteStatement(SqlDialect dialect, EntityAlias<E> alias)
dialect - - see AbstractStatement.getDialect().alias - - see AbstractStatement.getAlias().public SELF where(Expression... expressions)
FeatureWhereExpressions as filter criteria to the WHERE-clause. Multiple invocations will combine
Expressions with logical AND but it is preferred to use a
single invocation.where in interface FeatureWhere<SELF extends DeleteStatement<E,SELF>>expressions - the Expressions to add.public SELF limit(int limit)
FeatureLimitlimit in interface FeatureLimit<SELF extends DeleteStatement<E,SELF>>limit - the limit for the maximum number of matches for the query.protected void buildStart(SqlBuilder builder)
buildStart in class AbstractStatement<E,SELF extends DeleteStatement<E,SELF>>builder - the SqlBuilder with the query context to build the SQL and bind variables.Copyright © 2001–2016 mmm-Team. All rights reserved.