Interface MapperExpression<T,INNER extends Expression<T>,MAPPER>
-
- Type Parameters:
T- the input entity typeINNER- the type of the inner expressionMAPPER- the functional interface used to map from the type returned by the inner expression and the resulting type of this expression
- All Superinterfaces:
Expression<T>
public interface MapperExpression<T,INNER extends Expression<T>,MAPPER> extends Expression<T>
Specialized expression that takes the result of an inner expression and applies a mapping function to it.Equality is determined by looking at
inner(),mapper()andmapperType().- Since:
- 3.1.0
- Author:
- Emil Forslund
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMapperExpression.MapperTypeEnumeration of all possible mapping types.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description INNERinner()Returns the inner expression used in this.MAPPERmapper()Returns the mapping operation applied to the result from the inner operation.MapperExpression.MapperTypemapperType()Returns the type of mapper that themapper()-method returns an instance of.-
Methods inherited from interface com.speedment.runtime.compute.expression.Expression
expressionType
-
-
-
-
Method Detail
-
inner
INNER inner()
Returns the inner expression used in this.- Returns:
- the inner expression
-
mapper
MAPPER mapper()
Returns the mapping operation applied to the result from the inner operation.- Returns:
- the mapping operation
-
mapperType
MapperExpression.MapperType mapperType()
Returns the type of mapper that themapper()-method returns an instance of.- Returns:
- the type of mapper
-
-