Interface ComposedExpression<T,A>
-
- Type Parameters:
T- initial typeA- intermediate type
- All Superinterfaces:
Expression<T>
public interface ComposedExpression<T,A> extends Expression<T>
SpecializedExpressioninterface used when afirstStep()function is first applied to an incomming entity, before asecondStep()expression is applied to get the result. This is typically used to implement operations likeFunction.compose(Function).- Since:
- 3.1.0
- Author:
- Emil Forslund
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Function<T,A>firstStep()The function that is applied to incoming entities to get the value that is to be passed tosecondStep().Expression<A>secondStep()The inner expression that is applied to the result offirstStep()to get the result of this full expression.-
Methods inherited from interface com.speedment.runtime.compute.expression.Expression
expressionType
-
-
-
-
Method Detail
-
firstStep
Function<T,A> firstStep()
The function that is applied to incoming entities to get the value that is to be passed tosecondStep().- Returns:
- the first step function
-
secondStep
Expression<A> secondStep()
The inner expression that is applied to the result offirstStep()to get the result of this full expression.- Returns:
- the second step expression
-
-