Interface CompositeProjectionFrom1AsStep<V1>

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

    public interface CompositeProjectionFrom1AsStep<V1>
    extends CompositeProjectionFromAsStep
    The step in a "multi-step" composite projection definition where a single inner projection has been defined and the result of the composite projection can be defined.
    • Method Detail

      • as

        <V> CompositeProjectionValueStep<?,​V> as​(Function<V1,​V> transformer)
        Defines the result of the composite projection as the result of applying the given function to the single inner projection 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.