T - the input entity typepublic interface ToLongOrElse<T> extends NonNullableExpression<T,ToLongNullable<T>>, ToLong<T>
NonNullableExpression for long values where a
default value is given if the original expression returns null.NonNullableExpression.NullStrategy| Modifier and Type | Method and Description |
|---|---|
long |
defaultValue()
Returns the default value used when
NonNullableExpression.innerNullable() would
have returned null. |
default NonNullableExpression.NullStrategy |
nullStrategy()
Returns the strategy used by this expression to deal with the case when
NonNullableExpression.innerNullable() would have returned null. |
innerNullableabs, applyAsLong, asDouble, asInt, asLong, compare, compose, divide, divide, divide, divide, divide, divide, expressionType, hash, map, mapToDouble, minus, minus, minus, minus, minus, minus, minus, minus, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, negate, of, plus, plus, plus, plus, plus, plus, plus, plus, pow, pow, pow, pow, sign, sqrtcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLonglong defaultValue()
NonNullableExpression.innerNullable() would
have returned null.default NonNullableExpression.NullStrategy nullStrategy()
NonNullableExpressionNonNullableExpression.innerNullable() would have returned null.nullStrategy in interface NonNullableExpression<T,ToLongNullable<T>>Copyright © 2019 Speedment, Inc.. All rights reserved.