Package org.mybatis.dynamic.sql.where
Class AbstractWhereSupport<W extends AbstractWhereDSL<?>>
- java.lang.Object
-
- org.mybatis.dynamic.sql.where.AbstractWhereSupport<W>
-
- Type Parameters:
W
- the implementation of the Where DSL customized for a particular SQL statement.
- Direct Known Subclasses:
AbstractQueryExpressionDSL
,DeleteDSL
,QueryExpressionDSL.JoinSpecificationFinisher
,UpdateDSL
public abstract class AbstractWhereSupport<W extends AbstractWhereDSL<?>> extends Object
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 theAbstractWhereDSL
that is customized for a particular DSL, and to add the initiating common "where" methods.
-
-
Constructor Summary
Constructors Constructor Description AbstractWhereSupport()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description W
applyWhere(WhereApplier whereApplier)
abstract W
where()
<T> W
where(BindableColumn<T> column, VisitableCondition<T> condition, List<AndOrCriteriaGroup> subCriteria)
<T> W
where(BindableColumn<T> column, VisitableCondition<T> condition, AndOrCriteriaGroup... subCriteria)
W
where(ExistsPredicate existsPredicate, List<AndOrCriteriaGroup> subCriteria)
W
where(ExistsPredicate existsPredicate, AndOrCriteriaGroup... subCriteria)
W
where(SqlCriterion initialCriterion, List<AndOrCriteriaGroup> subCriteria)
W
where(SqlCriterion initialCriterion, AndOrCriteriaGroup... subCriteria)
-
-
-
Method Detail
-
where
public abstract W 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
public W where(ExistsPredicate existsPredicate, AndOrCriteriaGroup... subCriteria)
-
where
public W where(ExistsPredicate existsPredicate, List<AndOrCriteriaGroup> subCriteria)
-
where
public W where(SqlCriterion initialCriterion, AndOrCriteriaGroup... subCriteria)
-
where
public W where(SqlCriterion initialCriterion, List<AndOrCriteriaGroup> subCriteria)
-
applyWhere
public W applyWhere(WhereApplier whereApplier)
-
-