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 |
Expression builders that can produce efficient and type-safe implementations
of the interfaces in the
com.speedment.enterprise.aggregator.function
package. |
com.speedment.runtime.compute.expression.orelse | |
com.speedment.runtime.compute.trait |
Traits used in the base package for functional interfaces.
|
com.speedment.runtime.field |
Fields expose handlers for accessing columns in generated classes and are
located in this package.
|
Modifier and Type | Method and Description |
---|---|
default ToByte<T> |
ToByte.abs() |
default ToByte<T> |
ToByte.map(com.speedment.common.function.ByteUnaryOperator operator) |
default ToByte<T> |
ToByte.negate() |
static <T> ToByte<T> |
ToByte.of(com.speedment.common.function.ToByteFunction<T> lambda)
Returns a typed
ToByte<T> using the provided lambda . |
default ToByte<T> |
ToByteNullable.orElse(Byte value) |
default ToByte<T> |
ToByteNullable.orElseGet(ToByte<T> getter) |
default ToByte<T> |
ToByteNullable.orThrow() |
default ToByte<T> |
ToBigDecimal.sign() |
default ToByte<T> |
ToDouble.sign() |
default ToByte<T> |
ToInt.sign() |
default ToByte<T> |
ToShort.sign() |
default ToByte<T> |
ToLong.sign() |
default ToByte<T> |
ToFloat.sign() |
default ToByte<T> |
ToByte.sign() |
Modifier and Type | Method and Description |
---|---|
default ToDouble<T> |
ToBigDecimal.minus(ToByte<T> other) |
default ToDouble<T> |
ToDouble.minus(ToByte<T> other) |
default ToInt<T> |
ToInt.minus(ToByte<T> other) |
default ToInt<T> |
ToShort.minus(ToByte<T> other) |
default ToLong<T> |
ToLong.minus(ToByte<T> other) |
default ToFloat<T> |
ToFloat.minus(ToByte<T> other) |
default ToShort<T> |
ToByte.minus(ToByte<T> other) |
default ToDouble<T> |
ToBigDecimal.multiply(ToByte<T> other) |
default ToDouble<T> |
ToDouble.multiply(ToByte<T> other) |
default ToInt<T> |
ToInt.multiply(ToByte<T> other) |
default ToInt<T> |
ToShort.multiply(ToByte<T> other) |
default ToLong<T> |
ToLong.multiply(ToByte<T> other) |
default ToFloat<T> |
ToFloat.multiply(ToByte<T> other) |
default ToInt<T> |
ToByte.multiply(ToByte<T> other) |
default ToByte<T> |
ToByteNullable.orElseGet(ToByte<T> getter) |
default ToDouble<T> |
ToBigDecimal.plus(ToByte<T> other) |
default ToDouble<T> |
ToDouble.plus(ToByte<T> other) |
default ToInt<T> |
ToInt.plus(ToByte<T> other) |
default ToInt<T> |
ToShort.plus(ToByte<T> other) |
default ToLong<T> |
ToLong.plus(ToByte<T> other) |
default ToFloat<T> |
ToFloat.plus(ToByte<T> other) |
default ToShort<T> |
ToByte.plus(ToByte<T> other) |
Modifier and Type | Method and Description |
---|---|
static <T> ToByte<T> |
Expressions.abs(ToByte<T> expression)
Returns an expression that takes an expression and returns its absolute
(removing the negation sign if any).
|
static <T> ToByte<T> |
Expressions.negate(ToByte<T> expression)
Creates and returns an expression that will compute the negative result
of the specified expression.
|
static <T> ToByte<T> |
Expressions.sign(ToBigDecimal<T> expression)
Creates and returns an expression that returns
1 if the result of
the input expression is positive, -1 if the result of the input
expression is negative and 0 if the result of the input
expression is 0 . |
static <T> ToByte<T> |
Expressions.sign(ToByte<T> expression)
Creates and returns an expression that returns
1 if the result of
the input expression is positive, -1 if the result of the input
expression is negative and 0 if the result of the input
expression is 0 . |
static <T> ToByte<T> |
Expressions.sign(ToDouble<T> expression)
Creates and returns an expression that returns
1 if the result of
the input expression is positive, -1 if the result of the input
expression is negative and 0 if the result of the input
expression is 0 . |
static <T> ToByte<T> |
Expressions.sign(ToFloat<T> expression)
Creates and returns an expression that returns
1 if the result of
the input expression is positive, -1 if the result of the input
expression is negative and 0 if the result of the input
expression is 0 . |
static <T> ToByte<T> |
Expressions.sign(ToInt<T> expression)
Creates and returns an expression that returns
1 if the result of
the input expression is positive, -1 if the result of the input
expression is negative and 0 if the result of the input
expression is 0 . |
static <T> ToByte<T> |
Expressions.sign(ToLong<T> expression)
Creates and returns an expression that returns
1 if the result of
the input expression is positive, -1 if the result of the input
expression is negative and 0 if the result of the input
expression is 0 . |
static <T> ToByte<T> |
Expressions.sign(ToShort<T> expression)
Creates and returns an expression that returns
1 if the result of
the input expression is positive, -1 if the result of the input
expression is negative and 0 if the result of the input
expression is 0 . |
Modifier and Type | Method and Description |
---|---|
static <T> ToByte<T> |
Expressions.abs(ToByte<T> expression)
Returns an expression that takes an expression and returns its absolute
(removing the negation sign if any).
|
static <T> ToDouble<T> |
Expressions.byteToDouble(ToByte<T> expression)
Creates and returns an expression that converts the result of the
specified expression into a
double by casting. |
static <T> ToDouble<T> |
Expressions.divide(ToByte<T> first,
double second)
Returns an expression that takes the result from the first expression and
divides it with the result of the second expression.
|
static <T> ToDouble<T> |
Expressions.divide(ToByte<T> first,
int second)
Returns an expression that takes the result from the first expression and
divides it with the result of the second expression.
|
static <T> ToDouble<T> |
Expressions.divide(ToByte<T> first,
long second)
Returns an expression that takes the result from the first expression and
divides it with the result of the second expression.
|
static <T> ToDouble<T> |
Expressions.divide(ToByte<T> first,
ToDouble<T> second)
Returns an expression that takes the result from the first expression and
divides it with the result of the second expression.
|
static <T> ToDouble<T> |
Expressions.divide(ToByte<T> first,
ToInt<T> second)
Returns an expression that takes the result from the first expression and
divides it with the result of the second expression.
|
static <T> ToDouble<T> |
Expressions.divide(ToByte<T> first,
ToLong<T> second)
Returns an expression that takes the result from the first expression and
divides it with the result of the second expression.
|
static <T> ToShort<T> |
Expressions.minus(ToByte<T> first,
byte second)
Creates and returns an expression that takes the result of the expression
and subtracts a constant from it.
|
static <T> ToInt<T> |
Expressions.minus(ToByte<T> first,
int second)
Creates and returns an expression that takes the result of the expression
and subtracts a constant from it.
|
static <T> ToLong<T> |
Expressions.minus(ToByte<T> first,
long second)
Creates and returns an expression that takes the result of the expression
and subtracts a constant from it.
|
static <T> ToShort<T> |
Expressions.minus(ToByte<T> first,
ToByte<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the difference.
|
static <T> ToShort<T> |
Expressions.minus(ToByte<T> first,
ToByte<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the difference.
|
static <T> ToInt<T> |
Expressions.minus(ToInt<T> first,
ToByte<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the difference.
|
static <T> ToInt<T> |
Expressions.multiply(ToByte<T> first,
byte second)
Creates and returns an expression that takes the result of the expression
and multiplies a constant to it.
|
static <T> ToInt<T> |
Expressions.multiply(ToByte<T> first,
int second)
Creates and returns an expression that takes the result of the expression
and multiplies a constant to it.
|
static <T> ToLong<T> |
Expressions.multiply(ToByte<T> first,
long second)
Creates and returns an expression that takes the result of the expression
and multiplies a constant to it.
|
static <T> ToInt<T> |
Expressions.multiply(ToByte<T> first,
ToByte<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the product.
|
static <T> ToInt<T> |
Expressions.multiply(ToByte<T> first,
ToByte<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the product.
|
static <T> ToInt<T> |
Expressions.multiply(ToInt<T> first,
ToByte<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the product.
|
static <T> ToByte<T> |
Expressions.negate(ToByte<T> expression)
Creates and returns an expression that will compute the negative result
of the specified expression.
|
static <T> ToShort<T> |
Expressions.plus(ToByte<T> first,
byte second)
Creates and returns an expression that takes the result of the expression
and adds a constant to it.
|
static <T> ToInt<T> |
Expressions.plus(ToByte<T> first,
int second)
Creates and returns an expression that takes the result of the expression
and adds a constant to it.
|
static <T> ToLong<T> |
Expressions.plus(ToByte<T> first,
long second)
Creates and returns an expression that takes the result of the expression
and adds a constant to it.
|
static <T> ToShort<T> |
Expressions.plus(ToByte<T> first,
ToByte<T> second)
Creates and returns an expression that takes the result of the two
expressions and add them together.
|
static <T> ToShort<T> |
Expressions.plus(ToByte<T> first,
ToByte<T> second)
Creates and returns an expression that takes the result of the two
expressions and add them together.
|
static <T> ToInt<T> |
Expressions.plus(ToInt<T> first,
ToByte<T> second)
Creates and returns an expression that takes the result of the two
expressions and add them together.
|
static <T> ToDouble<T> |
Expressions.pow(ToByte<T> expression,
double power)
Creates and returns an expression that takes the result of an input
expression and multiplies it with itself
power times. |
static <T> ToDouble<T> |
Expressions.pow(ToByte<T> expression,
int power)
Creates and returns an expression that takes the result of an input
expression and multiplies it with itself
power times. |
static <T> ToDouble<T> |
Expressions.pow(ToByte<T> expression,
ToDouble<T> power)
Creates and returns an expression that takes the result of an input
expression and multiplies it with itself as many times as the result of
applying
power to the input. |
static <T> ToDouble<T> |
Expressions.pow(ToByte<T> expression,
ToInt<T> power)
Creates and returns an expression that takes the result of an input
expression and multiplies it with itself as many times as the result of
applying
power to the input. |
static <T> ToByte<T> |
Expressions.sign(ToByte<T> expression)
Creates and returns an expression that returns
1 if the result of
the input expression is positive, -1 if the result of the input
expression is negative and 0 if the result of the input
expression is 0 . |
static <T> ToDouble<T> |
Expressions.sqrt(ToByte<T> expression)
Creates and returns an expression that returns the square root of the
result from the input expression.
|
Modifier and Type | Interface and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
HasMinus<T> |
HasMinus.minus(ToByte<T> other)
Creates and returns an expression that returns the difference of the
result from the current expression and the other term.
|
HasMultiply<T> |
HasMultiply.multiply(ToByte<T> other)
Creates and returns an expression that returns the product of the result
from the current expression and the other factor.
|
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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ByteField<ENTITY,D>
A field that represents a primitive
byte value. |
interface |
ByteForeignKeyField<ENTITY,D,FK_ENTITY>
A field that represents a primitive
byte value that references
another column using a foreign key. |
Copyright © 2018 Speedment, Inc.. All rights reserved.