Uses of Interface
org.hibernate.search.engine.search.projection.dsl.ProjectionFinalStep
-
-
Uses of ProjectionFinalStep in org.hibernate.search.backend.elasticsearch.search.projection.dsl
Methods in org.hibernate.search.backend.elasticsearch.search.projection.dsl that return ProjectionFinalStep Modifier and Type Method Description ProjectionFinalStep<com.google.gson.JsonObject>
ElasticsearchSearchProjectionFactory. explanation()
Project to aJsonObject
describing the score computation for the hit.ProjectionFinalStep<com.google.gson.JsonObject>
ElasticsearchSearchProjectionFactory. jsonHit()
Project to aJsonObject
representing the hit as returned by Elasticsearch.ProjectionFinalStep<com.google.gson.JsonObject>
ElasticsearchSearchProjectionFactory. source()
Project to aJsonObject
representing the document as stored in Elasticsearch. -
Uses of ProjectionFinalStep in org.hibernate.search.backend.elasticsearch.search.query.dsl
Method parameters in org.hibernate.search.backend.elasticsearch.search.query.dsl with type arguments of type ProjectionFinalStep Modifier and Type Method Description <P> ElasticsearchSearchQueryWhereStep<P,LOS>
ElasticsearchSearchQuerySelectStep. select(Function<? super ElasticsearchSearchProjectionFactory<R,E>,? extends ProjectionFinalStep<P>> projectionContributor)
-
Uses of ProjectionFinalStep in org.hibernate.search.backend.lucene.search.projection.dsl
Methods in org.hibernate.search.backend.lucene.search.projection.dsl that return ProjectionFinalStep Modifier and Type Method Description ProjectionFinalStep<Document>
LuceneSearchProjectionFactory. document()
Project to a LuceneDocument
containing all the stored fields.ProjectionFinalStep<Explanation>
LuceneSearchProjectionFactory. explanation()
Project to a LuceneExplanation
describing the score computation for the hit. -
Uses of ProjectionFinalStep in org.hibernate.search.backend.lucene.search.query.dsl
Method parameters in org.hibernate.search.backend.lucene.search.query.dsl with type arguments of type ProjectionFinalStep Modifier and Type Method Description <P> LuceneSearchQueryWhereStep<P,LOS>
LuceneSearchQuerySelectStep. select(Function<? super LuceneSearchProjectionFactory<R,E>,? extends ProjectionFinalStep<P>> projectionContributor)
-
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 interface
CompositeProjectionOptionsStep<S extends CompositeProjectionOptionsStep<?,T>,T>
The initial and final step in a composite projection definition, where optional parameters can be set.interface
DistanceToFieldProjectionOptionsStep<S extends DistanceToFieldProjectionOptionsStep<?,T>,T>
The initial and final step in a "distance to field" projection definition, where optional parameters can be set.interface
DistanceToFieldProjectionValueStep<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.interface
DocumentReferenceProjectionOptionsStep<S extends DocumentReferenceProjectionOptionsStep<?>>
The initial and final step in a "document reference" projection definition, where optional parameters can be set.interface
EntityProjectionOptionsStep<S extends EntityProjectionOptionsStep<?,E>,E>
The initial and final step in an "entity" projection definition, where optional parameters can be set.interface
EntityReferenceProjectionOptionsStep<S extends EntityReferenceProjectionOptionsStep<?,R>,R>
The initial and final step in an "entity reference" projection definition, where optional parameters can be set.interface
FieldProjectionOptionsStep<S extends FieldProjectionOptionsStep<?,T>,T>
The initial and final step in a "field" projection definition, where optional parameters can be set.interface
FieldProjectionValueStep<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.interface
ScoreProjectionOptionsStep<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 succeedingifSupported
call.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 succeedingifSupported
call.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 aList
based 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 succeedingifSupported
call. -
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 class
StaticProjectionFinalStep<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)
-