Package org.mybatis.dynamic.sql
Class CriteriaGroup
java.lang.Object
org.mybatis.dynamic.sql.SqlCriterion
org.mybatis.dynamic.sql.CriteriaGroup
- Direct Known Subclasses:
NotCriterion
This class represents a criteria group without an AND or an OR connector. This is useful
in situations where the initial SqlCriterion in a list should be further grouped
as in an expression like ((A < 5 and B > 6) or C = 3)
- Since:
- 1.4.0
- Author:
- Jeff Butler, inspired by @JoshuaJeme
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class org.mybatis.dynamic.sql.SqlCriterion
SqlCriterion.AbstractBuilder<T extends SqlCriterion.AbstractBuilder<T>>
-
Constructor Summary
ModifierConstructorDescriptionprotected
CriteriaGroup
(CriteriaGroup.AbstractGroupBuilder<?> builder) -
Method Summary
Methods inherited from class org.mybatis.dynamic.sql.SqlCriterion
subCriteria
-
Constructor Details
-
CriteriaGroup
-
-
Method Details
-
initialCriterion
-
accept
- Specified by:
accept
in classSqlCriterion
-