Interface CompositeProjectionFromAsStep

    • Method Detail

      • asList

        CompositeProjectionValueStep<?,​List<?>> asList()
        Defines the result of the composite projection as a List that will contain the results of inner projections defined so far, in order.
        Returns:
        The next DSL step.
      • asList

        <V> CompositeProjectionValueStep<?,​V> asList​(Function<? super List<?>,​? extends V> transformer)
        Defines the result of the composite projection as the result of applying the given function to a List containing the results of inner projections defined so far, in order.
        Type Parameters:
        V - The type of values returned by the transformer.
        Parameters:
        transformer - A function to transform the values of inner projections added so far.
        Returns:
        The next DSL step.
      • asArray

        CompositeProjectionValueStep<?,​Object[]> asArray()
        Defines the result of the composite projection as an object array that will contain the results of inner projections defined so far, in order.
        Returns:
        The next DSL step.
      • asArray

        <V> CompositeProjectionValueStep<?,​V> asArray​(Function<? super Object[],​? extends V> transformer)
        Defines the result of the composite projection as the result of applying the given function to an object array containing the results of inner projections defined so far, in order.
        Type Parameters:
        V - The type of values returned by the transformer.
        Parameters:
        transformer - A function to transform the values of inner projections added so far.
        Returns:
        The next DSL step.