Uses of Interface
org.hibernate.search.engine.search.projection.dsl.ProjectionFinalStep
-
-
Uses of ProjectionFinalStep in org.hibernate.search.engine.search.projection.dsl
Subinterfaces of ProjectionFinalStep in org.hibernate.search.engine.search.projection.dsl Modifier and Type Interface Description interfaceCompositeProjectionOptionsStep<S extends CompositeProjectionOptionsStep<?,T>,T>The initial and final step in a composite projection definition, where optional parameters can be set.interfaceDistanceToFieldProjectionOptionsStep<S extends DistanceToFieldProjectionOptionsStep<?,T>,T>The initial and final step in a "distance to field" projection definition, where optional parameters can be set.interfaceDistanceToFieldProjectionValueStep<N extends DistanceToFieldProjectionOptionsStep<?,T>,T>The initial step in a "distance to field" projection definition, where the projection (optionally) can be marked as multi-valued (returning Lists), and where optional parameters can be set.interfaceDocumentReferenceProjectionOptionsStep<S extends DocumentReferenceProjectionOptionsStep<?>>The initial and final step in a "document reference" projection definition, where optional parameters can be set.interfaceEntityProjectionOptionsStep<S extends EntityProjectionOptionsStep<?,E>,E>The initial and final step in an "entity" projection definition, where optional parameters can be set.interfaceEntityReferenceProjectionOptionsStep<S extends EntityReferenceProjectionOptionsStep<?,R>,R>The initial and final step in an "entity reference" projection definition, where optional parameters can be set.interfaceFieldProjectionOptionsStep<S extends FieldProjectionOptionsStep<?,T>,T>The initial and final step in a "field" projection definition, where optional parameters can be set.interfaceFieldProjectionValueStep<N extends FieldProjectionOptionsStep<?,T>,T>The initial step in a "field" projection definition, where the projection (optionally) can be marked as multi-valued (returning Lists), and where optional parameters can be set.interfaceScoreProjectionOptionsStep<S extends ScoreProjectionOptionsStep<?>>The initial and final step in a "score" projection definition, where optional parameters can be set.Methods in org.hibernate.search.engine.search.projection.dsl that return ProjectionFinalStep Modifier and Type Method Description ProjectionFinalStep<P>SearchProjectionFactoryExtensionIfSupportedMoreStep. orElse(Function<SearchProjectionFactory<R,E>,? extends ProjectionFinalStep<P>> projectionContributor)If no extension passed toSearchProjectionFactoryExtensionIfSupportedStep.ifSupported(SearchProjectionFactoryExtension, Function)was supported so far, apply the given function to the current (non-extended)SearchProjectionFactory; otherwise return the projection created in the first succeedingifSupportedcall.ProjectionFinalStep<P>SearchProjectionFactoryExtensionIfSupportedMoreStep. orElseFail()If no extension passed toSearchProjectionFactoryExtensionIfSupportedStep.ifSupported(SearchProjectionFactoryExtension, Function)was supported so far, throw an exception; otherwise return the projection created in the first succeedingifSupportedcall.Methods in org.hibernate.search.engine.search.projection.dsl with parameters of type ProjectionFinalStep Modifier and Type Method Description default <P1,P2,T>
CompositeProjectionOptionsStep<?,T>SearchProjectionFactory. composite(BiFunction<P1,P2,T> transformer, ProjectionFinalStep<P1> dslFinalStep1, ProjectionFinalStep<P2> dslFinalStep2)Create a projection that will compose a custom object based on two almost-built projections.default <T> CompositeProjectionOptionsStep<?,T>SearchProjectionFactory. composite(Function<List<?>,T> transformer, ProjectionFinalStep<?>... dslFinalSteps)Create a projection that will compose a custom object based on the given almost-built projections.default <P,T>
CompositeProjectionOptionsStep<?,T>SearchProjectionFactory. composite(Function<P,T> transformer, ProjectionFinalStep<P> dslFinalStep)Create a projection that will compose a custom object based on one almost-built projection.default CompositeProjectionOptionsStep<?,List<?>>SearchProjectionFactory. composite(ProjectionFinalStep<?>... dslFinalSteps)Create a projection that will compose aListbased on the given almost-built projections.default <P1,P2,P3,T>
CompositeProjectionOptionsStep<?,T>SearchProjectionFactory. composite(TriFunction<P1,P2,P3,T> transformer, ProjectionFinalStep<P1> dslFinalStep1, ProjectionFinalStep<P2> dslFinalStep2, ProjectionFinalStep<P3> dslFinalStep3)Create a projection that will compose a custom object based on three almost-built projections.Method parameters in org.hibernate.search.engine.search.projection.dsl with type arguments of type ProjectionFinalStep Modifier and Type Method Description <T> SearchProjectionFactoryExtensionIfSupportedMoreStep<P,R,E>SearchProjectionFactoryExtensionIfSupportedStep. ifSupported(SearchProjectionFactoryExtension<T,R,E> extension, Function<T,? extends ProjectionFinalStep<P>> projectionContributor)If the given extension is supported, and none of the previous extensions passed toSearchProjectionFactoryExtensionIfSupportedStep.ifSupported(SearchProjectionFactoryExtension, Function)was supported, extend the current factory with this extension, apply the given function to the extended factory, and store the resulting projection for later retrieval.ProjectionFinalStep<P>SearchProjectionFactoryExtensionIfSupportedMoreStep. orElse(Function<SearchProjectionFactory<R,E>,? extends ProjectionFinalStep<P>> projectionContributor)If no extension passed toSearchProjectionFactoryExtensionIfSupportedStep.ifSupported(SearchProjectionFactoryExtension, Function)was supported so far, apply the given function to the current (non-extended)SearchProjectionFactory; otherwise return the projection created in the first succeedingifSupportedcall. -
Uses of ProjectionFinalStep in org.hibernate.search.engine.search.projection.dsl.spi
Classes in org.hibernate.search.engine.search.projection.dsl.spi that implement ProjectionFinalStep Modifier and Type Class Description classStaticProjectionFinalStep<T> -
Uses of ProjectionFinalStep in org.hibernate.search.engine.search.query.dsl
Method parameters in org.hibernate.search.engine.search.query.dsl with type arguments of type ProjectionFinalStep Modifier and Type Method Description <P> SearchQueryWhereStep<?,P,LOS,?>SearchQuerySelectStep. select(Function<? super PJF,? extends ProjectionFinalStep<P>> projectionContributor)Select a given projection as a representation of the search hit for each matching document. -
Uses of ProjectionFinalStep in org.hibernate.search.engine.search.query.dsl.spi
Method parameters in org.hibernate.search.engine.search.query.dsl.spi with type arguments of type ProjectionFinalStep Modifier and Type Method Description <P> SearchQueryWhereStep<?,P,LOS,?>AbstractDelegatingSearchQuerySelectStep. select(Function<? super SearchProjectionFactory<R,E>,? extends ProjectionFinalStep<P>> projectionContributor)
-