Interface CompositeProjectionFromAsStep
- All Known Subinterfaces:
CompositeProjectionFrom1AsStep<V1>
,CompositeProjectionFrom2AsStep<V1,
,V2> CompositeProjectionFrom3AsStep<V1,
V2, V3>
public interface CompositeProjectionFromAsStep
The step in a "multi-step" composite projection definition
where one or more inner projections have been defined
and the result of the composite projection can be defined.
-
Method Summary
Modifier and TypeMethodDescriptionasArray()
Defines the result of the composite projection as an object array that will contain the results of inner projections defined so far, in order.<V> CompositeProjectionValueStep<?,
V> 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.asList()
Defines the result of the composite projection as aList
that will contain the results of inner projections defined so far, in order.<V> CompositeProjectionValueStep<?,
V> Defines the result of the composite projection as the result of applying the given function to aList
containing the results of inner projections defined so far, in order.
-
Method Details
-
asList
CompositeProjectionValueStep<?,List<?>> asList()Defines the result of the composite projection as aList
that will contain the results of inner projections defined so far, in order.- Returns:
- The next DSL step.
-
asList
Defines the result of the composite projection as the result of applying the given function to aList
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
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.
-