| Package | Description |
|---|---|
| com.speedment.runtime.compute |
The Runtime Compute module adds a large number of functional interfaces to
the Speedment system that allows computations to be performed on entities in
a Stream without loosing metadata required by Speedment to optimize the
stream.
|
| com.speedment.runtime.compute.expression.orelse | |
| com.speedment.runtime.compute.trait |
Traits used in the base package for functional interfaces.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ToBigDecimal<T>
Expression that given an entity returns a non-null
BigDecimal value. |
interface |
ToByte<T>
Expression that given an entity returns a
byte value. |
interface |
ToByteNullable<T>
Expression that given an entity returns a
byte value, or
null. |
interface |
ToDouble<T>
Expression that given an entity returns a
double value. |
interface |
ToDoubleNullable<T>
Expression that given an entity returns a
double value, or
null. |
interface |
ToFloat<T>
Expression that given an entity returns a
float value. |
interface |
ToFloatNullable<T>
Expression that given an entity returns a
float value, or
null. |
interface |
ToInt<T>
Expression that given an entity returns an
int value. |
interface |
ToIntNullable<T>
Expression that given an entity returns an
int value, or
null. |
interface |
ToLong<T>
Expression that given an entity returns a
long value. |
interface |
ToLongNullable<T>
Expression that given an entity returns a
long value, or
null. |
interface |
ToShort<T>
Expression that given an entity returns a
short value. |
interface |
ToShortNullable<T>
Expression that given an entity returns a
short value, or
null. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ToBigDecimalOrElse<T>
Specialized
NonNullableExpression for BigDecimal values where a
default value is given if the original expression returns null. |
interface |
ToBigDecimalOrElseGet<T>
Specialized
NonNullableExpression for BigDecimal values where
a getter function is applied if the original expression returns null. |
interface |
ToBigDecimalOrThrow<T>
Specialized
NonNullableExpression for BigDecimal values where
a NullPointerException is thrown if the original expression returns
null. |
interface |
ToByteOrElse<T>
Specialized
NonNullableExpression for byte values where a
default value is given if the original expression returns null. |
interface |
ToByteOrElseGet<T>
Specialized
NonNullableExpression for byte values where a
getter function is applied if the original expression returns null. |
interface |
ToByteOrThrow<T>
Specialized
NonNullableExpression for byte values where a
NullPointerException is thrown if the original expression returns
null. |
interface |
ToDoubleOrElse<T>
Specialized
NonNullableExpression for double values where a
default value is given if the original expression returns null. |
interface |
ToDoubleOrElseGet<T>
Specialized
NonNullableExpression for double values where a
getter function is applied if the original expression returns null. |
interface |
ToDoubleOrThrow<T>
Specialized
NonNullableExpression for double values where a
NullPointerException is thrown if the original expression returns
null. |
interface |
ToFloatOrElse<T>
Specialized
NonNullableExpression for float values where a
default value is given if the original expression returns null. |
interface |
ToFloatOrElseGet<T>
Specialized
NonNullableExpression for float values where a
getter function is applied if the original expression returns null. |
interface |
ToFloatOrThrow<T>
Specialized
NonNullableExpression for float values where a
NullPointerException is thrown if the original expression returns
null. |
interface |
ToIntOrElse<T>
Specialized
NonNullableExpression for int values where a
default value is given if the original expression returns null. |
interface |
ToIntOrElseGet<T>
Specialized
NonNullableExpression for int values where a
getter function is applied if the original expression returns null. |
interface |
ToIntOrThrow<T>
Specialized
NonNullableExpression for int values where a
NullPointerException is thrown if the original expression returns
null. |
interface |
ToLongOrElse<T>
Specialized
NonNullableExpression for long values where a
default value is given if the original expression returns null. |
interface |
ToLongOrElseGet<T>
Specialized
NonNullableExpression for long values where a
getter function is applied if the original expression returns null. |
interface |
ToLongOrThrow<T>
Specialized
NonNullableExpression for long values where a
NullPointerException is thrown if the original expression returns
null. |
interface |
ToShortOrElse<T>
Specialized
NonNullableExpression for short values where a
default value is given if the original expression returns null. |
interface |
ToShortOrElseGet<T>
Specialized
NonNullableExpression for short values where a
getter function is applied if the original expression returns null. |
interface |
ToShortOrThrow<T>
Specialized
NonNullableExpression for short values where a
NullPointerException is thrown if the original expression returns
null. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
HasAbs<E extends HasAbs<E>>
Trait for expressions that has a
abs() method for getting the
absolute value of the result from the current expression. |
Copyright © 2019 Speedment, Inc.. All rights reserved.