Interface MapperExpression<T,​INNER extends Expression<T>,​MAPPER>

  • Type Parameters:
    T - the input entity type
    INNER - the type of the inner expression
    MAPPER - 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() and mapperType().

    Since:
    3.1.0
    Author:
    Emil Forslund
    • 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