Module spring.data.relational
Interface Criteria.CriteriaStep
- Enclosing class:
- Criteria
public static interface Criteria.CriteriaStep
Interface declaring terminal builder methods to build a
Criteria.-
Method Summary
Modifier and TypeMethodDescriptionCreates aCriteriausing between (BETWEEN begin AND end).greaterThan(Object value) Creates aCriteriausing greater-than(>).greaterThanOrEquals(Object value) Creates aCriteriausing greater-than or equal to (>=).Creates aCriteriausingIN.in(Collection<?> values) Creates aCriteriausingIN.Creates aCriteriausing equality.isFalse()Creates aCriteriausingIS FALSE.Creates aCriteriausingIS NOT NULL.isNull()Creates aCriteriausingIS NULL.isTrue()Creates aCriteriausingIS TRUE.Creates aCriteriausing less-than (<).lessThanOrEquals(Object value) Creates aCriteriausing less-than or equal to (<=).Creates aCriteriausingLIKE.Creates aCriteriausing equality (is not).notBetween(Object begin, Object end) Creates aCriteriausing not between (NOT BETWEEN begin AND end).Creates aCriteriausingNOT IN.notIn(Collection<?> values) Creates aCriteriausingNOT IN.Creates aCriteriausingNOT LIKE.
-
Method Details
-
is
Creates aCriteriausing equality.- Parameters:
value- must not be null.
-
not
Creates aCriteriausing equality (is not).- Parameters:
value- must not be null.
-
in
Creates aCriteriausingIN.- Parameters:
values- must not be null.
-
in
Creates aCriteriausingIN.- Parameters:
values- must not be null.
-
notIn
Creates aCriteriausingNOT IN.- Parameters:
values- must not be null.
-
notIn
Creates aCriteriausingNOT IN.- Parameters:
values- must not be null.
-
between
Creates aCriteriausing between (BETWEEN begin AND end).- Parameters:
begin- must not be null.end- must not be null.- Since:
- 2.2
-
notBetween
Creates aCriteriausing not between (NOT BETWEEN begin AND end).- Parameters:
begin- must not be null.end- must not be null.- Since:
- 2.2
-
lessThan
Creates aCriteriausing less-than (<).- Parameters:
value- must not be null.
-
lessThanOrEquals
Creates aCriteriausing less-than or equal to (<=).- Parameters:
value- must not be null.
-
greaterThan
Creates aCriteriausing greater-than(>).- Parameters:
value- must not be null.
-
greaterThanOrEquals
Creates aCriteriausing greater-than or equal to (>=).- Parameters:
value- must not be null.
-
like
Creates aCriteriausingLIKE.- Parameters:
value- must not be null.
-
notLike
Creates aCriteriausingNOT LIKE.- Parameters:
value- must not be null- Returns:
- a new
Criteriaobject
-
isNull
Criteria isNull()Creates aCriteriausingIS NULL. -
isNotNull
Criteria isNotNull()Creates aCriteriausingIS NOT NULL. -
isTrue
Criteria isTrue()Creates aCriteriausingIS TRUE.- Returns:
- a new
Criteriaobject
-
isFalse
Criteria isFalse()Creates aCriteriausingIS FALSE.- Returns:
- a new
Criteriaobject
-