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 ToLong<T> |
ToLong.abs() |
default ToLong<T> |
ToChar.asLong() |
default ToLong<T> |
ToBigDecimal.asLong() |
default ToLong<T> |
ToDouble.asLong() |
default ToLong<T> |
ToInt.asLong() |
default ToLong<T> |
ToShort.asLong() |
default ToLong<T> |
ToLong.asLong() |
default ToLong<T> |
ToFloat.asLong() |
default ToLong<T> |
ToBoolean.asLong() |
default ToLong<T> |
ToByte.asLong() |
default ToLong<T> |
ToLong.map(LongUnaryOperator operator) |
default ToLong<T> |
ToLong.minus(byte other) |
default ToLong<T> |
ToLong.minus(int other) |
default ToLong<T> |
ToInt.minus(long other) |
default ToLong<T> |
ToShort.minus(long other) |
default ToLong<T> |
ToLong.minus(long other) |
default ToLong<T> |
ToByte.minus(long other) |
default ToLong<T> |
ToLong.minus(ToByte<T> other) |
default ToLong<T> |
ToLong.minus(ToInt<T> other) |
default ToLong<T> |
ToInt.minus(ToLong<T> other) |
default ToLong<T> |
ToShort.minus(ToLong<T> other) |
default ToLong<T> |
ToLong.minus(ToLong<T> other) |
default ToLong<T> |
ToByte.minus(ToLong<T> other) |
default ToLong<T> |
ToLong.multiply(byte other) |
default ToLong<T> |
ToLong.multiply(int other) |
default ToLong<T> |
ToInt.multiply(long other) |
default ToLong<T> |
ToShort.multiply(long other) |
default ToLong<T> |
ToLong.multiply(long other) |
default ToLong<T> |
ToByte.multiply(long other) |
default ToLong<T> |
ToLong.multiply(ToByte<T> other) |
default ToLong<T> |
ToLong.multiply(ToInt<T> other) |
default ToLong<T> |
ToInt.multiply(ToLong<T> other) |
default ToLong<T> |
ToShort.multiply(ToLong<T> other) |
default ToLong<T> |
ToLong.multiply(ToLong<T> other) |
default ToLong<T> |
ToByte.multiply(ToLong<T> other) |
default ToLong<T> |
ToLong.negate() |
static <T> ToLong<T> |
ToLong.of(ToLongFunction<T> lambda)
Returns a typed
ToLong<T> using the provided lambda . |
default ToLong<T> |
ToLongNullable.orElse(Long value) |
default ToLong<T> |
ToLongNullable.orElseGet(ToLong<T> getter) |
default ToLong<T> |
ToLongNullable.orThrow() |
default ToLong<T> |
ToLong.plus(byte other) |
default ToLong<T> |
ToLong.plus(int other) |
default ToLong<T> |
ToInt.plus(long other) |
default ToLong<T> |
ToShort.plus(long other) |
default ToLong<T> |
ToLong.plus(long other) |
default ToLong<T> |
ToByte.plus(long other) |
default ToLong<T> |
ToLong.plus(ToByte<T> other) |
default ToLong<T> |
ToLong.plus(ToInt<T> other) |
default ToLong<T> |
ToInt.plus(ToLong<T> other) |
default ToLong<T> |
ToShort.plus(ToLong<T> other) |
default ToLong<T> |
ToLong.plus(ToLong<T> other) |
default ToLong<T> |
ToByte.plus(ToLong<T> other) |
Modifier and Type | Method and Description |
---|---|
default ToDouble<T> |
ToBigDecimal.divide(ToLong<T> divisor) |
default ToDouble<T> |
ToDouble.divide(ToLong<T> divisor) |
default ToDouble<T> |
ToInt.divide(ToLong<T> divisor) |
default ToDouble<T> |
ToShort.divide(ToLong<T> divisor) |
default ToDouble<T> |
ToLong.divide(ToLong<T> divisor) |
default ToDouble<T> |
ToFloat.divide(ToLong<T> divisor) |
default ToDouble<T> |
ToByte.divide(ToLong<T> divisor) |
default ToDouble<T> |
ToBigDecimal.minus(ToLong<T> other) |
default ToDouble<T> |
ToDouble.minus(ToLong<T> other) |
default ToLong<T> |
ToInt.minus(ToLong<T> other) |
default ToLong<T> |
ToShort.minus(ToLong<T> other) |
default ToLong<T> |
ToLong.minus(ToLong<T> other) |
default ToDouble<T> |
ToFloat.minus(ToLong<T> other) |
default ToLong<T> |
ToByte.minus(ToLong<T> other) |
default ToDouble<T> |
ToBigDecimal.multiply(ToLong<T> other) |
default ToDouble<T> |
ToDouble.multiply(ToLong<T> other) |
default ToLong<T> |
ToInt.multiply(ToLong<T> other) |
default ToLong<T> |
ToShort.multiply(ToLong<T> other) |
default ToLong<T> |
ToLong.multiply(ToLong<T> other) |
default ToDouble<T> |
ToFloat.multiply(ToLong<T> other) |
default ToLong<T> |
ToByte.multiply(ToLong<T> other) |
default ToLong<T> |
ToLongNullable.orElseGet(ToLong<T> getter) |
default ToDouble<T> |
ToBigDecimal.plus(ToLong<T> other) |
default ToDouble<T> |
ToDouble.plus(ToLong<T> other) |
default ToLong<T> |
ToInt.plus(ToLong<T> other) |
default ToLong<T> |
ToShort.plus(ToLong<T> other) |
default ToLong<T> |
ToLong.plus(ToLong<T> other) |
default ToDouble<T> |
ToFloat.plus(ToLong<T> other) |
default ToLong<T> |
ToByte.plus(ToLong<T> other) |
Modifier and Type | Method and Description |
---|---|
static <T> ToLong<T> |
Expressions.abs(ToLong<T> expression)
Returns an expression that takes an expression and returns its absolute
(removing the negation sign if any).
|
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> ToLong<T> |
Expressions.minus(ToInt<T> first,
long 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(ToLong<T> first,
byte 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(ToLong<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(ToLong<T> first,
long 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(ToLong<T> first,
ToInt<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the difference.
|
static <T> ToLong<T> |
Expressions.minus(ToLong<T> first,
ToLong<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the difference.
|
static <T> ToLong<T> |
Expressions.minus(ToShort<T> first,
long second)
Creates and returns an expression that takes the result of the expression
and subtracts a constant from 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> ToLong<T> |
Expressions.multiply(ToInt<T> first,
long 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(ToLong<T> first,
byte 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(ToLong<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(ToLong<T> first,
long 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(ToLong<T> first,
ToInt<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the product.
|
static <T> ToLong<T> |
Expressions.multiply(ToLong<T> first,
ToLong<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the product.
|
static <T> ToLong<T> |
Expressions.multiply(ToShort<T> first,
long second)
Creates and returns an expression that takes the result of the expression
and multiplies a constant to it.
|
static <T> ToLong<T> |
Expressions.negate(ToLong<T> expression)
Creates and returns an expression that will compute the negative result
of the specified expression.
|
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> ToLong<T> |
Expressions.plus(ToInt<T> first,
long 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(ToLong<T> first,
byte 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(ToLong<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(ToLong<T> first,
long 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(ToLong<T> first,
ToInt<T> second)
Creates and returns an expression that takes the result of the two
expressions and add them together.
|
static <T> ToLong<T> |
Expressions.plus(ToLong<T> first,
ToLong<T> second)
Creates and returns an expression that takes the result of the two
expressions and add them together.
|
static <T> ToLong<T> |
Expressions.plus(ToShort<T> first,
long second)
Creates and returns an expression that takes the result of the expression
and adds a constant to it.
|
Modifier and Type | Method and Description |
---|---|
static <T> ToLong<T> |
Expressions.abs(ToLong<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(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> ToDouble<T> |
Expressions.divide(ToDouble<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.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.divide(ToInt<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.divide(ToLong<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(ToLong<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(ToLong<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(ToLong<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(ToLong<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(ToLong<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.divide(ToLong<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.divide(ToShort<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.longToDouble(ToLong<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.minus(ToDouble<T> first,
ToLong<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> ToLong<T> |
Expressions.minus(ToLong<T> first,
byte 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(ToLong<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(ToLong<T> first,
long 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(ToLong<T> first,
ToInt<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the difference.
|
static <T> ToLong<T> |
Expressions.minus(ToLong<T> first,
ToLong<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the difference.
|
static <T> ToLong<T> |
Expressions.minus(ToLong<T> first,
ToLong<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the difference.
|
static <T> ToDouble<T> |
Expressions.multiply(ToDouble<T> first,
ToLong<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> ToLong<T> |
Expressions.multiply(ToLong<T> first,
byte 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(ToLong<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(ToLong<T> first,
long 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(ToLong<T> first,
ToInt<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the product.
|
static <T> ToLong<T> |
Expressions.multiply(ToLong<T> first,
ToLong<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the product.
|
static <T> ToLong<T> |
Expressions.multiply(ToLong<T> first,
ToLong<T> second)
Creates and returns an expression that takes the result of the two
expressions and computes the product.
|
static <T> ToLong<T> |
Expressions.negate(ToLong<T> expression)
Creates and returns an expression that will compute the negative result
of the specified expression.
|
static <T> ToDouble<T> |
Expressions.plus(ToDouble<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.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> ToLong<T> |
Expressions.plus(ToLong<T> first,
byte 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(ToLong<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(ToLong<T> first,
long 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(ToLong<T> first,
ToInt<T> second)
Creates and returns an expression that takes the result of the two
expressions and add them together.
|
static <T> ToLong<T> |
Expressions.plus(ToLong<T> first,
ToLong<T> second)
Creates and returns an expression that takes the result of the two
expressions and add them together.
|
static <T> ToLong<T> |
Expressions.plus(ToLong<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(ToLong<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(ToLong<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(ToLong<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(ToLong<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(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> ToDouble<T> |
Expressions.sqrt(ToLong<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 |
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 . |
Modifier and Type | Method and Description |
---|---|
ToLong<T> |
HasAsLong.asLong()
Returns an expression that casts the result of the current expression
into a
long . |
Modifier and Type | Method and Description |
---|---|
ToDouble<T> |
HasDivide.divide(ToLong<T> divisor)
Creates and returns an expression that returns the quotient of the result
from the current expression and the divisor.
|
HasMinus<T> |
HasMinus.minus(ToLong<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(ToLong<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(ToLong<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 |
LongField<ENTITY,D>
A field that represents a primitive
long value. |
interface |
LongForeignKeyField<ENTITY,D,FK_ENTITY>
A field that represents a primitive
long value that references
another column using a foreign key. |
Copyright © 2019 Speedment, Inc.. All rights reserved.