Interface NullPredicate<T,R>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ToNullable<T,R,?>expression()The expression that is invoked in an incoming entity to get the value that the predicate should test.NullPredicateTypenullPredicateType()If this predicate represents a simplea == nullora != nullpredicate on the mapped value, then this method may choose to return a special value so that the predicate may be short-circuited.
-
-
-
Method Detail
-
nullPredicateType
NullPredicateType nullPredicateType()
If this predicate represents a simplea == nullora != nullpredicate on the mapped value, then this method may choose to return a special value so that the predicate may be short-circuited. The method may always returnNullPredicateType.OTHER, in which case no such optimization can be done.- Returns:
- the type of predicate this represents
-
expression
ToNullable<T,R,?> expression()
The expression that is invoked in an incoming entity to get the value that the predicate should test.- Returns:
- the expression
-
-