| 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 |
ToDouble<T>
Expression that given an entity returns a
double value. |
interface |
ToFloat<T>
Expression that given an entity returns a
float value. |
interface |
ToInt<T>
Expression that given an entity returns an
int value. |
interface |
ToLong<T>
Expression that given an entity returns a
long value. |
interface |
ToShort<T>
Expression that given an entity returns a
short value. |
| 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 | Method and Description |
|---|---|
HasPlus<T> |
HasPlus.plus(byte other)
Creates and returns an expression that returns the sum of the result from
the current expression and the other term.
|
HasPlus<T> |
HasPlus.plus(int other)
Creates and returns an expression that returns the sum of the result from
the current expression and the other term.
|
HasPlus<T> |
HasPlus.plus(long other)
Creates and returns an expression that returns the sum of the result from
the current expression and the other term.
|
HasPlus<T> |
HasPlus.plus(ToByte<T> other)
Creates and returns an expression that returns the sum of the result from
the current expression and the other term.
|
HasPlus<T> |
HasPlus.plus(ToInt<T> other)
Creates and returns an expression that returns the sum of the result from
the current expression and the other term.
|
HasPlus<T> |
HasPlus.plus(ToLong<T> other)
Creates and returns an expression that returns the sum of the result from
the current expression and the other term.
|
Copyright © 2019 Speedment, Inc.. All rights reserved.