ENTITY
- the entity typeT
- the column type mapped fromR
- the type mapped toNON_NULLABLE
- the expression type obtained if the nullability of
this expression is handledMAPPER
- functional interface type returned by getMapper()
public interface FieldMapper<ENTITY,T,R,NON_NULLABLE extends Expression<ENTITY>,MAPPER> extends Expression<ENTITY>, ToNullable<ENTITY,R,NON_NULLABLE>
Modifier and Type | Method and Description |
---|---|
ReferenceField<ENTITY,?,T> |
getField()
The field that is being mapped.
|
MAPPER |
getMapper()
Returns the functional interface implementation that is used when doing
the mapping.
|
isNotNull, isNotNull, isNull, isNull, orElse, orElseGet, orThrow
expressionType
ReferenceField<ENTITY,?,T> getField()
MAPPER getMapper()
ToByteFunction
ToShortFunction
ToIntFunction
ToLongFunction
ToDoubleFunction
ToFloatFunction
ToCharFunction
ToBooleanFunction
Function
field
. If the mapper implements
Function
, then the returning type must be
either String
, Enum
or
BigDecimal
.Copyright © 2018 Speedment, Inc.. All rights reserved.