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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <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.-
Methods inherited from interface org.hibernate.search.engine.search.projection.dsl.CompositeProjectionFromAsStep
asArray, asArray, asList, asList
-
-
-
-
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.
-
-