Package org.mybatis.dynamic.sql.where
Class AbstractWhereSupport<W extends AbstractWhereDSL<?>,D extends AbstractWhereSupport<W,D>>
java.lang.Object
org.mybatis.dynamic.sql.where.AbstractWhereSupport<W,D>
- Type Parameters:
W
- 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
public abstract class AbstractWhereSupport<W extends AbstractWhereDSL<?>,D extends AbstractWhereSupport<W,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 an implementation of the
AbstractWhereDSL
that is customized for a particular DSL, and to add the initiating common "where"
methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyWhere
(WhereApplier whereApplier) abstract W
where()
where
(List<AndOrCriteriaGroup> subCriteria) <T> W
where
(BindableColumn<T> column, VisitableCondition<T> condition, List<AndOrCriteriaGroup> subCriteria) <T> W
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
-
AbstractWhereSupport
public AbstractWhereSupport()
-
-
Method Details
-
where
-
where
public <T> W where(BindableColumn<T> column, VisitableCondition<T> condition, AndOrCriteriaGroup... subCriteria) -
where
public <T> W where(BindableColumn<T> column, VisitableCondition<T> condition, List<AndOrCriteriaGroup> subCriteria) -
where
-
where
-
where
-
where
-
where
-
applyWhere
-