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 aJsonObjectdescribing the score computation for the hit.ProjectionFinalStep<com.google.gson.JsonObject>ElasticsearchSearchProjectionFactory. jsonHit()Project to aJsonObjectrepresenting the hit as returned by Elasticsearch.ProjectionFinalStep<com.google.gson.JsonObject>ElasticsearchSearchProjectionFactory. source()Project to aJsonObjectrepresenting the document as stored in Elasticsearch. -
Uses of ProjectionFinalStep in org.hibernate.search.backend.elasticsearch.search.projection.dsl.impl
Methods in org.hibernate.search.backend.elasticsearch.search.projection.dsl.impl that return ProjectionFinalStep Modifier and Type Method Description ProjectionFinalStep<com.google.gson.JsonObject>ElasticsearchSearchProjectionFactoryImpl. explanation()ProjectionFinalStep<com.google.gson.JsonObject>ElasticsearchSearchProjectionFactoryImpl. jsonHit()ProjectionFinalStep<com.google.gson.JsonObject>ElasticsearchSearchProjectionFactoryImpl. source() -
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.elasticsearch.search.query.dsl.impl
Method parameters in org.hibernate.search.backend.elasticsearch.search.query.dsl.impl with type arguments of type ProjectionFinalStep Modifier and Type Method Description <P> ElasticsearchSearchQueryWhereStep<P,LOS>ElasticsearchSearchQuerySelectStepImpl. 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<org.apache.lucene.document.Document>LuceneSearchProjectionFactory. document()Project to a LuceneDocumentcontaining all the stored fields.ProjectionFinalStep<org.apache.lucene.search.Explanation>LuceneSearchProjectionFactory. explanation()Project to a LuceneExplanationdescribing the score computation for the hit. -
Uses of ProjectionFinalStep in org.hibernate.search.backend.lucene.search.projection.dsl.impl
Methods in org.hibernate.search.backend.lucene.search.projection.dsl.impl that return ProjectionFinalStep Modifier and Type Method Description ProjectionFinalStep<org.apache.lucene.document.Document>LuceneSearchProjectionFactoryImpl. document()ProjectionFinalStep<org.apache.lucene.search.Explanation>LuceneSearchProjectionFactoryImpl. explanation() -
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.backend.lucene.search.query.dsl.impl
Method parameters in org.hibernate.search.backend.lucene.search.query.dsl.impl with type arguments of type ProjectionFinalStep Modifier and Type Method Description <P> LuceneSearchQueryWhereStep<P,LOS>LuceneSearchQuerySelectStepImpl. 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 interfaceCompositeProjectionOptionsStep<S extends CompositeProjectionOptionsStep<?,T>,T>The final step in a composite projection definition where optional parameters can be set.interfaceCompositeProjectionValueStep<N extends CompositeProjectionOptionsStep<?,T>,T>The step in a composite projection definition where the projection (optionally) can be marked as multi-valued (returning Lists), and 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.interfaceHighlightProjectionFinalStepThe final step in a highlight definition.interfaceHighlightProjectionOptionsStepThe initial and final step in a highlight definition, where optional parameters can be set.interfaceIdProjectionOptionsStep<S extends IdProjectionOptionsStep<?,I>,I>The initial and final step in an "id" projection definition, 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 <T> ProjectionFinalStep<T>SearchProjectionFactory. constant(T value)Project to a given constant.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)Deprecated.Use.composite().from( dslFinalStep1, dslFinalStep2 ).as( transformer )instead.default <T> CompositeProjectionOptionsStep<?,T>SearchProjectionFactory. composite(Function<List<?>,T> transformer, ProjectionFinalStep<?>... dslFinalSteps)Deprecated.Use.composite().from( dslFinalSteps ).asList( transformer )instead.default <P,T>
CompositeProjectionOptionsStep<?,T>SearchProjectionFactory. composite(Function<P,T> transformer, ProjectionFinalStep<P> dslFinalStep)Deprecated.Use.composite().from( dslFinalStep ).as( transformer )instead.default CompositeProjectionValueStep<?,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)Deprecated.Use.composite().from( dslFinalStep1, dslFinalStep2, dslFinalStep3 ).as( transformer )instead.CompositeProjectionFromAsStepCompositeProjectionInnerStep. from(ProjectionFinalStep<?>... dslFinalSteps)Defines multiple inner projections to get values from, based on almost-builtSearchProjections.default <V1> CompositeProjectionFrom1AsStep<V1>CompositeProjectionInnerStep. from(ProjectionFinalStep<V1> dslFinalStep)Defines one inner projection to get values from, based on an almost-builtSearchProjection.default <V1,V2>
CompositeProjectionFrom2AsStep<V1,V2>CompositeProjectionInnerStep. from(ProjectionFinalStep<V1> dslFinalStep1, ProjectionFinalStep<V2> dslFinalStep2)Defines two inner projections to get values from, based on almost-builtSearchProjections.default <V1,V2,V3>
CompositeProjectionFrom3AsStep<V1,V2,V3>CompositeProjectionInnerStep. from(ProjectionFinalStep<V1> dslFinalStep1, ProjectionFinalStep<V2> dslFinalStep2, ProjectionFinalStep<V3> dslFinalStep3)Defines three inner projections to get values from, based on almost-builtSearchProjections.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.impl
Classes in org.hibernate.search.engine.search.projection.dsl.impl that implement ProjectionFinalStep Modifier and Type Class Description classCompositeProjectionOptionsStepImpl<T,P>classCompositeProjectionValueStepImpl<T>classDistanceToFieldProjectionOptionsStepImpl<P>classDistanceToFieldProjectionValueStepImplclassDocumentReferenceProjectionOptionsStepImplclassEntityProjectionOptionsStepImpl<E>classEntityReferenceProjectionOptionsStepImpl<R>classFieldProjectionOptionsStepImpl<T,P>classFieldProjectionValueStepImpl<T>classHighlightProjectionOptionsStepImplclassIdProjectionOptionsStepImpl<I>classScoreProjectionOptionsStepImplMethods in org.hibernate.search.engine.search.projection.dsl.impl that return ProjectionFinalStep Modifier and Type Method Description ProjectionFinalStep<P>SearchProjectionFactoryExtensionStep. orElse(Function<SearchProjectionFactory<R,E>,? extends ProjectionFinalStep<P>> projectionContributor)ProjectionFinalStep<P>SearchProjectionFactoryExtensionStep. orElseFail()Methods in org.hibernate.search.engine.search.projection.dsl.impl with parameters of type ProjectionFinalStep Modifier and Type Method Description CompositeProjectionFromAsStepCompositeProjectionInnerStepImpl. from(ProjectionFinalStep<?>... dslFinalSteps)Method parameters in org.hibernate.search.engine.search.projection.dsl.impl with type arguments of type ProjectionFinalStep Modifier and Type Method Description <T> SearchProjectionFactoryExtensionIfSupportedMoreStep<P,R,E>SearchProjectionFactoryExtensionStep. ifSupported(SearchProjectionFactoryExtension<T,R,E> extension, Function<T,? extends ProjectionFinalStep<P>> projectionContributor)ProjectionFinalStep<P>SearchProjectionFactoryExtensionStep. orElse(Function<SearchProjectionFactory<R,E>,? extends ProjectionFinalStep<P>> projectionContributor) -
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>Methods in org.hibernate.search.engine.search.projection.dsl.spi that return ProjectionFinalStep Modifier and Type Method Description <T> ProjectionFinalStep<T>AbstractSearchProjectionFactory. constant(T value) -
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.impl
Method parameters in org.hibernate.search.engine.search.query.dsl.impl with type arguments of type ProjectionFinalStep Modifier and Type Method Description <P> org.hibernate.search.engine.search.query.dsl.impl.DefaultSearchQueryOptionsStep<P,LOS>DefaultSearchQuerySelectStep. select(Function<? super SearchProjectionFactory<R,E>,? extends ProjectionFinalStep<P>> projectionContributor) -
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)
-