T - the input entity typeINNER - the type of the inner expressionpublic interface NonNullableExpression<T,INNER extends Expression<T>> extends Expression<T>
Expression that is not nullable, but that wraps an
expression that is and that has some routine for dealing with null
values determined by nullStrategy().
Equality is determined by looking at innerNullable() and
nullStrategy(), and additionally by the
OrElseGetExpression.defaultValueGetter() or the
getDefaultValue() if the strategy is
NonNullableExpression.NullStrategy.APPLY_DEFAULT_METHOD or
NonNullableExpression.NullStrategy.USE_DEFAULT_VALUE respectively.
| Modifier and Type | Interface and Description |
|---|---|
static class |
NonNullableExpression.NullStrategy
The strategies possible when dealing with
null-values. |
| Modifier and Type | Method and Description |
|---|---|
INNER |
innerNullable()
Returns the inner nullable expression.
|
NonNullableExpression.NullStrategy |
nullStrategy()
Returns the strategy used by this expression to deal with the case when
innerNullable() would have returned null. |
expressionTypeINNER innerNullable()
NonNullableExpression.NullStrategy nullStrategy()
innerNullable() would have returned null.Copyright © 2019 Speedment, Inc.. All rights reserved.