Package 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.
This package is part of the API.
- Since:
- 3.1.0
- Author:
- Emil Forslund
-
Interface Summary Interface Description BinaryExpression<T,FIRST extends Expression<T>,SECOND extends Expression<T>> AnExpressionthat has two operands, both are implementations ofExpression.BinaryObjExpression<T,FIRST extends Expression<T>,V> ComposedExpression<T,A> SpecializedExpressioninterface used when aComposedExpression.firstStep()function is first applied to an incomming entity, before aComposedExpression.secondStep()expression is applied to get the result.ConstantExpression<T,V> SpecializedExpressionthat always returns the same value, regardless of the input.Expression<T> The base interface for all expressions.JoiningExpression<T> A special type ofToStringexpression that joins several strings together using optionally a separator, a prefix and a suffix.MapperExpression<T,INNER extends Expression<T>,MAPPER> Specialized expression that takes the result of an inner expression and applies a mapping function to it.NonNullableExpression<T,INNER extends Expression<T>> SpecializedExpressionthat is not nullable, but that wraps an expression that is and that has some routine for dealing withnullvalues determined byNonNullableExpression.nullStrategy().NullableExpression<T,INNER extends Expression<T>> Specific type ofExpressionthat has aninnerexpression that is used for elements that does not pass theisNullpredicate.UnaryExpression<T,INNER extends Expression<T>> AnExpressionthat has a single operand that implementsExpression. -
Class Summary Class Description Expressions Common mathematical expressions often used on Speedment entities. -
Enum Summary Enum Description BinaryExpression.Operator Operator types that could be returned byBinaryExpression.operator().BinaryObjExpression.Operator Operator types that could be returned byBinaryObjExpression.operator().ExpressionType Every expression type has a corresponding interface to get a type-safe way of applying the expression without boxing any values.MapperExpression.MapperType Enumeration of all possible mapping types.NonNullableExpression.NullStrategy The strategies possible when dealing withnull-values.UnaryExpression.Operator The unary expression operator type.