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
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 Summary
Modifier and TypeMethodDescription<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.Methods inherited from interface org.hibernate.search.engine.search.projection.dsl.CompositeProjectionFromAsStep
asArray, asArray, asList, asList
-
Method Details
-
as
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.
-