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.field |
Fields expose handlers for accessing columns in generated classes and are
located in this package.
|
com.speedment.runtime.field.expression |
Modifier and Type | Method and Description |
---|---|
default <V> ToBooleanNullable<V> |
ToBooleanNullable.compose(Function<? super V,? extends T> before) |
default <V> ToBooleanNullable<V> |
ToBoolean.composeNullable(Function<? super V,? extends T> before)
Returns a composed expression that first applies the
before
function to its input, and then applies this function to the result. |
default ToBooleanNullable<T> |
ToBooleanNullable.mapIfPresent(com.speedment.common.function.BooleanUnaryOperator mapper) |
static <T> ToBooleanNullable<T> |
ToBooleanNullable.of(Function<T,Boolean> lambda)
Returns a typed
ToBooleanNullable<T> using the provided
lambda . |
Modifier and Type | Method and Description |
---|---|
static <T> ToBooleanNullable<T> |
Expressions.negateOrNull(ToBooleanNullable<T> expression)
Creates and returns an expression that will compute the negative result
of the specified expression.
|
Modifier and Type | Method and Description |
---|---|
static <T> ToBooleanNullable<T> |
Expressions.negateOrNull(ToBooleanNullable<T> expression)
Creates and returns an expression that will compute the negative result
of the specified expression.
|
Modifier and Type | Method and Description |
---|---|
default ToBooleanNullable<ENTITY> |
ReferenceField.asBoolean()
Returns an
ToBooleanNullable expression that has the value of
this field, casted to a boolean by first casting it to
Boolean . |
default ToBooleanNullable<ENTITY> |
ReferenceField.mapToBooleanIfPresent(com.speedment.common.function.ToBooleanFunction<V> mapper)
Returns an
ToBooleanNullable expression that has the value
returned by the specified mapper function if the value for this field is
not null , and otherwise null . |
Modifier and Type | Interface and Description |
---|---|
interface |
FieldToBoolean<ENTITY,T>
Specific
FieldMapper implementation that also implements
ToBooleanNullable . |
Copyright © 2018 Speedment, Inc.. All rights reserved.