Module org.mybatis.dynamic.sql
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 theAbstractWhereDSLthat 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 WapplyWhere(WhereApplier whereApplier)abstract Wwhere()<T> Wwhere(BindableColumn<T> column, VisitableCondition<T> condition, List<SqlCriterion> subCriteria)<T> Wwhere(BindableColumn<T> column, VisitableCondition<T> condition, SqlCriterion... subCriteria)Wwhere(ExistsPredicate existsPredicate)Wwhere(ExistsPredicate existsPredicate, SqlCriterion... subCriteria)
-
-
-
Method Detail
-
where
public abstract W where()
-
where
public <T> W where(BindableColumn<T> column, VisitableCondition<T> condition, SqlCriterion... subCriteria)
-
where
public <T> W where(BindableColumn<T> column, VisitableCondition<T> condition, List<SqlCriterion> subCriteria)
-
where
public W where(ExistsPredicate existsPredicate)
-
where
public W where(ExistsPredicate existsPredicate, SqlCriterion... subCriteria)
-
applyWhere
public W applyWhere(WhereApplier whereApplier)
-
-