public interface OptionalExpression<T> extends ComparableExpression<Optional<T>>
Modifier and Type | Method and Description |
---|---|
Expression<T> |
get()
Accessor for the object within the Optional.
|
BooleanExpression |
isPresent()
Accessor for whether there is an object within the Optional.
|
Expression<T> |
orElse(Expression<T> other)
Accessor for the value expression (if present), otherwise return the other expression.
|
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min
as, cast, count, countDistinct, eq, eq, instanceOf, ne, ne
Expression<T> get()
BooleanExpression isPresent()
Expression<T> orElse(Expression<T> other)
other
- Other expressionCopyright © 2020. All rights reserved.