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 aCriteria
using between (BETWEEN begin AND end).greaterThan
(Object value) Creates aCriteria
using greater-than(>).greaterThanOrEquals
(Object value) Creates aCriteria
using greater-than or equal to (>=).Creates aCriteria
usingIN
.in
(Collection<?> values) Creates aCriteria
usingIN
.Creates aCriteria
using equality.isFalse()
Creates aCriteria
usingIS FALSE
.Creates aCriteria
usingIS NOT NULL
.isNull()
Creates aCriteria
usingIS NULL
.isTrue()
Creates aCriteria
usingIS TRUE
.Creates aCriteria
using less-than (<).lessThanOrEquals
(Object value) Creates aCriteria
using less-than or equal to (<=).Creates aCriteria
usingLIKE
.Creates aCriteria
using equality (is not).notBetween
(Object begin, Object end) Creates aCriteria
using not between (NOT BETWEEN begin AND end).Creates aCriteria
usingNOT IN
.notIn
(Collection<?> values) Creates aCriteria
usingNOT IN
.Creates aCriteria
usingNOT LIKE
.
-
Method Details
-
is
Creates aCriteria
using equality.- Parameters:
value
- must not be null.
-
not
Creates aCriteria
using equality (is not).- Parameters:
value
- must not be null.
-
in
Creates aCriteria
usingIN
.- Parameters:
values
- must not be null.
-
in
Creates aCriteria
usingIN
.- Parameters:
values
- must not be null.
-
notIn
Creates aCriteria
usingNOT IN
.- Parameters:
values
- must not be null.
-
notIn
Creates aCriteria
usingNOT IN
.- Parameters:
values
- must not be null.
-
between
Creates aCriteria
using between (BETWEEN begin AND end).- Parameters:
begin
- must not be null.end
- must not be null.- Since:
- 2.2
-
notBetween
Creates aCriteria
using not between (NOT BETWEEN begin AND end).- Parameters:
begin
- must not be null.end
- must not be null.- Since:
- 2.2
-
lessThan
Creates aCriteria
using less-than (<).- Parameters:
value
- must not be null.
-
lessThanOrEquals
Creates aCriteria
using less-than or equal to (<=).- Parameters:
value
- must not be null.
-
greaterThan
Creates aCriteria
using greater-than(>).- Parameters:
value
- must not be null.
-
greaterThanOrEquals
Creates aCriteria
using greater-than or equal to (>=).- Parameters:
value
- must not be null.
-
like
Creates aCriteria
usingLIKE
.- Parameters:
value
- must not be null.
-
notLike
Creates aCriteria
usingNOT LIKE
.- Parameters:
value
- must not be null- Returns:
- a new
Criteria
object
-
isNull
Criteria isNull()Creates aCriteria
usingIS NULL
. -
isNotNull
Criteria isNotNull()Creates aCriteria
usingIS NOT NULL
. -
isTrue
Criteria isTrue()Creates aCriteria
usingIS TRUE
.- Returns:
- a new
Criteria
object
-
isFalse
Criteria isFalse()Creates aCriteria
usingIS FALSE
.- Returns:
- a new
Criteria
object
-