Package org.mybatis.dynamic.sql.where
Class AbstractWhereStarter<F extends AbstractWhereFinisher<?>,D extends AbstractWhereStarter<F,D>>
java.lang.Object
org.mybatis.dynamic.sql.where.AbstractWhereStarter<F,D>
- Type Parameters:
F
- the implementation of the Where DSL customized for a particular SQL statement.
- All Implemented Interfaces:
ConfigurableStatement<D>
- Direct Known Subclasses:
AbstractQueryExpressionDSL
,DeleteDSL
,QueryExpressionDSL.JoinSpecificationFinisher
,UpdateDSL
,WhereDSL
public abstract class AbstractWhereStarter<F extends AbstractWhereFinisher<?>,D extends AbstractWhereStarter<F,D>>
extends Object
implements ConfigurableStatement<D>
Base class for DSLs that support where clauses - which is every DSL except Insert.
The purpose of the class is to provide a common set of where methods that can be used by
any statement.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplyWhere
(WhereApplier whereApplier) abstract F
where()
where
(List<AndOrCriteriaGroup> subCriteria) <T> F
where
(BindableColumn<T> column, VisitableCondition<T> condition, List<AndOrCriteriaGroup> subCriteria) <T> F
where
(BindableColumn<T> column, VisitableCondition<T> condition, AndOrCriteriaGroup... subCriteria) where
(ExistsPredicate existsPredicate, List<AndOrCriteriaGroup> subCriteria) where
(ExistsPredicate existsPredicate, AndOrCriteriaGroup... subCriteria) where
(SqlCriterion initialCriterion, List<AndOrCriteriaGroup> subCriteria) where
(SqlCriterion initialCriterion, AndOrCriteriaGroup... subCriteria) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.mybatis.dynamic.sql.util.ConfigurableStatement
configureStatement
-
Constructor Details
-
AbstractWhereStarter
public AbstractWhereStarter()
-
-
Method Details
-
where
public <T> F where(BindableColumn<T> column, VisitableCondition<T> condition, AndOrCriteriaGroup... subCriteria) -
where
public <T> F where(BindableColumn<T> column, VisitableCondition<T> condition, List<AndOrCriteriaGroup> subCriteria) -
where
-
where
-
where
-
where
-
where
-
where
-
applyWhere
-