Interface CompositeProjectionFrom2AsStep<V1,​V2>

  • Type Parameters:
    V1 - The type of values returned by the first inner projection.
    V2 - The type of values returned by the second inner projection.
    All Superinterfaces:
    CompositeProjectionFromAsStep

    public interface CompositeProjectionFrom2AsStep<V1,​V2>
    extends CompositeProjectionFromAsStep
    The step in a "multi-step" composite projection definition where 2 inner projections have been defined and the result of the composite projection can be defined.
    • Method Detail

      • as

        <V> CompositeProjectionValueStep<?,​V> as​(BiFunction<V1,​V2,​V> transformer)
        Defines the result of the composite projection as the result of applying the given function to the two inner projections defined so far.
        Type Parameters:
        V - The type of values returned by the transformer.
        Parameters:
        transformer - A function to transform the values of inner projections defined so far.
        Returns:
        The next DSL step.