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.field |
Fields expose handlers for accessing columns in generated classes and are
located in this package.
|
Modifier and Type | Method and Description |
---|---|
default ToFloat<T> |
ToFloat.abs() |
default ToFloat<T> |
ToFloat.map(com.speedment.common.function.FloatUnaryOperator operator) |
default ToFloat<T> |
ToFloat.minus(byte other) |
default ToFloat<T> |
ToFloat.minus(int other) |
default ToFloat<T> |
ToFloat.minus(ToByte<T> other) |
default ToFloat<T> |
ToFloat.minus(ToInt<T> other) |
default ToFloat<T> |
ToFloat.multiply(byte other) |
default ToFloat<T> |
ToFloat.multiply(int other) |
default ToFloat<T> |
ToFloat.multiply(ToByte<T> other) |
default ToFloat<T> |
ToFloat.multiply(ToInt<T> other) |
default ToFloat<T> |
ToFloat.negate() |
static <T> ToFloat<T> |
ToFloat.of(com.speedment.common.function.ToFloatFunction<T> lambda)
Returns a typed
ToFloat<T> using the provided lambda . |
default ToFloat<T> |
ToFloatNullable.orElse(Float value) |
default ToFloat<T> |
ToFloatNullable.orElseGet(ToFloat<T> getter) |
default ToFloat<T> |
ToFloatNullable.orThrow() |
default ToFloat<T> |
ToFloat.plus(byte other) |
default ToFloat<T> |
ToFloat.plus(int other) |
default ToFloat<T> |
ToFloat.plus(ToByte<T> other) |
default ToFloat<T> |
ToFloat.plus(ToInt<T> other) |
Modifier and Type | Method and Description |
---|---|
default ToFloat<T> |
ToFloatNullable.orElseGet(ToFloat<T> getter) |
Modifier and Type | Method and Description |
---|---|
static <T> ToFloat<T> |
Expressions.abs(ToFloat<T> expression)
Returns an expression that takes an expression and returns its absolute
(removing the negation sign if any).
|
static <T> ToFloat<T> |
Expressions.minus(ToFloat<T> first,
float second)
Creates and returns an expression that takes the result of the expression
and subtracts a constant from it.
|
static <T> ToFloat<T> |
Expressions.minus(ToFloat<T> first,
int second)
Creates and returns an expression that takes the result of the expression
and subtracts a constant from it.
|
static <T> ToFloat<T> |
Expressions.minus(ToFloat<T> first,
ToFloat<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the difference.
|
static <T> ToFloat<T> |
Expressions.minus(ToFloat<T> first,
ToInt<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the difference.
|
static <T> ToFloat<T> |
Expressions.multiply(ToFloat<T> first,
float second)
Creates and returns an expression that takes the result of the expression
and multiplies a constant to it.
|
static <T> ToFloat<T> |
Expressions.multiply(ToFloat<T> first,
int second)
Creates and returns an expression that takes the result of the expression
and multiplies a constant to it.
|
static <T> ToFloat<T> |
Expressions.multiply(ToFloat<T> first,
ToFloat<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the product.
|
static <T> ToFloat<T> |
Expressions.multiply(ToFloat<T> first,
ToInt<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the product.
|
static <T> ToFloat<T> |
Expressions.negate(ToFloat<T> expression)
Creates and returns an expression that will compute the negative result
of the specified expression.
|
static <T> ToFloat<T> |
Expressions.plus(ToFloat<T> first,
float second)
Creates and returns an expression that takes the result of the expression
and adds a constant to it.
|
static <T> ToFloat<T> |
Expressions.plus(ToFloat<T> first,
int second)
Creates and returns an expression that takes the result of the expression
and adds a constant to it.
|
static <T> ToFloat<T> |
Expressions.plus(ToFloat<T> first,
ToFloat<T> second)
Creates and returns an expression that takes the result of the two
expressions and add them together.
|
static <T> ToFloat<T> |
Expressions.plus(ToFloat<T> first,
ToInt<T> second)
Creates and returns an expression that takes the result of the two
expressions and add them together.
|
Modifier and Type | Method and Description |
---|---|
static <T> ToFloat<T> |
Expressions.abs(ToFloat<T> expression)
Returns an expression that takes an expression and returns its absolute
(removing the negation sign if any).
|
static <T> ToDouble<T> |
Expressions.divide(ToFloat<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(ToFloat<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(ToFloat<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(ToFloat<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(ToFloat<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(ToFloat<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> ToDouble<T> |
Expressions.floatToDouble(ToFloat<T> expression)
Creates and returns an expression that converts the result of the
specified expression into a
double by casting. |
static <T> ToFloat<T> |
Expressions.minus(ToFloat<T> first,
float second)
Creates and returns an expression that takes the result of the expression
and subtracts a constant from it.
|
static <T> ToFloat<T> |
Expressions.minus(ToFloat<T> first,
int second)
Creates and returns an expression that takes the result of the expression
and subtracts a constant from it.
|
static <T> ToDouble<T> |
Expressions.minus(ToFloat<T> first,
long second)
Creates and returns an expression that takes the result of the expression
and subtracts a constant from it.
|
static <T> ToFloat<T> |
Expressions.minus(ToFloat<T> first,
ToFloat<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the difference.
|
static <T> ToFloat<T> |
Expressions.minus(ToFloat<T> first,
ToFloat<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the difference.
|
static <T> ToFloat<T> |
Expressions.minus(ToFloat<T> first,
ToInt<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the difference.
|
static <T> ToDouble<T> |
Expressions.minus(ToFloat<T> first,
ToLong<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the difference.
|
static <T> ToFloat<T> |
Expressions.multiply(ToFloat<T> first,
float second)
Creates and returns an expression that takes the result of the expression
and multiplies a constant to it.
|
static <T> ToFloat<T> |
Expressions.multiply(ToFloat<T> first,
int second)
Creates and returns an expression that takes the result of the expression
and multiplies a constant to it.
|
static <T> ToDouble<T> |
Expressions.multiply(ToFloat<T> first,
long second)
Creates and returns an expression that takes the result of the expression
and multiplies a constant to it.
|
static <T> ToFloat<T> |
Expressions.multiply(ToFloat<T> first,
ToFloat<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the product.
|
static <T> ToFloat<T> |
Expressions.multiply(ToFloat<T> first,
ToFloat<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the product.
|
static <T> ToFloat<T> |
Expressions.multiply(ToFloat<T> first,
ToInt<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the product.
|
static <T> ToDouble<T> |
Expressions.multiply(ToFloat<T> first,
ToLong<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the product.
|
static <T> ToFloat<T> |
Expressions.negate(ToFloat<T> expression)
Creates and returns an expression that will compute the negative result
of the specified expression.
|
static <T> ToFloat<T> |
Expressions.plus(ToFloat<T> first,
float second)
Creates and returns an expression that takes the result of the expression
and adds a constant to it.
|
static <T> ToFloat<T> |
Expressions.plus(ToFloat<T> first,
int second)
Creates and returns an expression that takes the result of the expression
and adds a constant to it.
|
static <T> ToDouble<T> |
Expressions.plus(ToFloat<T> first,
long second)
Creates and returns an expression that takes the result of the expression
and adds a constant to it.
|
static <T> ToFloat<T> |
Expressions.plus(ToFloat<T> first,
ToFloat<T> second)
Creates and returns an expression that takes the result of the two
expressions and add them together.
|
static <T> ToFloat<T> |
Expressions.plus(ToFloat<T> first,
ToFloat<T> second)
Creates and returns an expression that takes the result of the two
expressions and add them together.
|
static <T> ToFloat<T> |
Expressions.plus(ToFloat<T> first,
ToInt<T> second)
Creates and returns an expression that takes the result of the two
expressions and add them together.
|
static <T> ToDouble<T> |
Expressions.plus(ToFloat<T> first,
ToLong<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(ToFloat<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(ToFloat<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(ToFloat<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(ToFloat<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(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> ToDouble<T> |
Expressions.sqrt(ToFloat<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 |
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 . |
Modifier and Type | Interface and Description |
---|---|
interface |
FloatField<ENTITY,D>
A field that represents a primitive
float value. |
interface |
FloatForeignKeyField<ENTITY,D,FK_ENTITY>
A field that represents a primitive
float value that references
another column using a foreign key. |
Copyright © 2019 Speedment, Inc.. All rights reserved.