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.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> ToEnumNullable<V,E> |
ToEnum.compose(Function<? super V,? extends T> before) |
default <V> ToEnumNullable<V,E> |
ToEnumNullable.compose(Function<? super V,? extends T> before) |
default ToEnumNullable<T,E> |
ToEnumNullable.mapIfPresent(UnaryOperator<E> mapper) |
static <T,E extends Enum<E>> |
ToEnumNullable.of(Class<E> enumClass,
Function<T,E> lambda)
Returns a typed
ToEnumNullable<T> using the provided
lambda . |
Modifier and Type | Interface and Description |
---|---|
interface |
EnumField<ENTITY,D,E extends Enum<E>>
A field representing an
Enum value in the entity. |
interface |
EnumForeignKeyField<ENTITY,D,E extends Enum<E>,FK>
A field representing an
Enum value in the entity that has a finder to
another entity. |
Modifier and Type | Method and Description |
---|---|
default <E extends Enum<E>> |
ReferenceField.asEnum(Class<E> enumClass)
Returns an
ToBooleanNullable expression that has the value of
this field, casted to a particular enum class. |
default <E extends Enum<E>> |
ReferenceField.mapToEnumIfPresent(Function<V,E> mapper,
Class<E> enumClass)
Returns an
ToEnumNullable 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 |
FieldToEnum<ENTITY,T,E extends Enum<E>>
Specific
FieldMapper implementation that also implements
ToStringNullable . |
Copyright © 2019 Speedment, Inc.. All rights reserved.