Uses of Interface
org.hibernate.search.engine.search.projection.dsl.ProjectionFinalStep
Packages that use ProjectionFinalStep
Package
Description
-
Uses of ProjectionFinalStep in org.hibernate.search.backend.elasticsearch.search.projection.dsl
Methods in org.hibernate.search.backend.elasticsearch.search.projection.dsl that return ProjectionFinalStepModifier and TypeMethodDescriptionProjectionFinalStep
<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 ProjectionFinalStepModifier and TypeMethodDescriptionElasticsearchSearchQuerySelectStep.select
(Function<? super ElasticsearchSearchProjectionFactory<SR, 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 ProjectionFinalStepModifier and TypeMethodDescriptionLuceneSearchProjectionFactory.document()
Project to a LuceneDocument
containing all the stored fields.LuceneSearchProjectionFactory.documentTree()
Project to aDocumentTree
containing all the stored fields and nested documents.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 ProjectionFinalStepModifier and TypeMethodDescription<P> LuceneSearchQueryWhereStep
<SR, P, LOS> LuceneSearchQuerySelectStep.select
(Function<? super LuceneSearchProjectionFactory<SR, 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.dslModifier and TypeInterfaceDescriptioninterface
CompositeProjectionOptionsStep<S extends CompositeProjectionOptionsStep<?,
T>, T> The final step in a composite projection definition where optional parameters can be set.interface
CompositeProjectionValueStep<N extends CompositeProjectionOptionsStep<?,
T>, T> The step in a composite projection definition where (optionally) the projection collector can be provided, e.g. to mark a projection as multi-valued (returningList
/Set
etc.)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 (optionally) the projection collector can be provided, e.g. to mark a projection as multi-valued (returningList
/Set
etc.)interface
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 (optionally) the projection collector can be provided, e.g. to mark a projection as multi-valued (returningList
/Set
etc.)interface
The final step in a highlight definition.interface
The initial and final step in a highlight definition, where optional parameters can be set.interface
IdProjectionOptionsStep<S extends IdProjectionOptionsStep<?,
I>, I> The initial and final step in an "id" projection definition, 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.interface
The final step in a single-valued highlight definition.Methods in org.hibernate.search.engine.search.projection.dsl that return ProjectionFinalStepModifier and TypeMethodDescriptiondefault ProjectionFinalStep
<String[]> HighlightProjectionOptionsStep.array()
Changes the collection accumulating the values toString[]
instead ofList
.<R> ProjectionFinalStep
<R> HighlightProjectionOptionsStep.collector
(ProjectionCollector.Provider<String, R> collector) Defines the collector to apply to the highlighted strings.<T> ProjectionFinalStep
<T> SearchProjectionFactory.constant
(T value) Project to a given constant.default ProjectionFinalStep
<String> HighlightProjectionOptionsStep.nullable()
Defines the projection as single-valued, i.e. returningString
instead ofList<String>
.default ProjectionFinalStep
<Optional<String>> HighlightProjectionOptionsStep.optional()
Defines the projection as single-valued wrapped in anOptional
, i.e. returningOptional<String>
instead ofList<String>
.SearchProjectionFactoryExtensionIfSupportedMoreStep.orElse
(Function<SearchProjectionFactory<SR, 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.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.default ProjectionFinalStep
<Set<String>> HighlightProjectionOptionsStep.set()
default ProjectionFinalStep
<SortedSet<String>> HighlightProjectionOptionsStep.sortedSet()
default ProjectionFinalStep
<SortedSet<String>> HighlightProjectionOptionsStep.sortedSet
(Comparator<String> comparator) <T> ProjectionFinalStep
<T> SearchProjectionFactory.withParameters
(Function<? super NamedValues, ? extends ProjectionFinalStep<T>> projectionCreator) Delegating projection that creates the actual projection at query create time and provides access to query parameters.Methods in org.hibernate.search.engine.search.projection.dsl with parameters of type ProjectionFinalStepModifier and TypeMethodDescriptiondefault <P1,
P2, T>
CompositeProjectionOptionsStep<?, T> SearchProjectionFactory.composite
(BiFunction<P1, P2, T> transformer, ProjectionFinalStep<P1> dslFinalStep1, ProjectionFinalStep<P2> dslFinalStep2) Deprecated.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 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) Deprecated.Use.composite().from( dslFinalStep1, dslFinalStep2, dslFinalStep3 ).as( transformer )
instead.CompositeProjectionInnerStep.from
(ProjectionFinalStep<?>... dslFinalSteps) Defines multiple inner projections to get values from, based on almost-builtSearchProjection
s.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-builtSearchProjection
s.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-builtSearchProjection
s.Method parameters in org.hibernate.search.engine.search.projection.dsl with type arguments of type ProjectionFinalStepModifier and TypeMethodDescriptionSearchProjectionFactoryExtensionIfSupportedStep.ifSupported
(SearchProjectionFactoryExtension<SR, 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.SearchProjectionFactoryExtensionIfSupportedMoreStep.orElse
(Function<SearchProjectionFactory<SR, 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.<T> ProjectionFinalStep
<T> SearchProjectionFactory.withParameters
(Function<? super NamedValues, ? extends ProjectionFinalStep<T>> projectionCreator) Delegating projection that creates the actual projection at query create time and provides access to query parameters. -
Uses of ProjectionFinalStep in org.hibernate.search.engine.search.projection.dsl.spi
Classes in org.hibernate.search.engine.search.projection.dsl.spi that implement ProjectionFinalStepMethods in org.hibernate.search.engine.search.projection.dsl.spi that return ProjectionFinalStepModifier and TypeMethodDescription<T> ProjectionFinalStep
<T> AbstractSearchProjectionFactory.constant
(T value) <T> ProjectionFinalStep
<T> AbstractSearchProjectionFactory.withParameters
(Function<? super NamedValues, ? extends ProjectionFinalStep<T>> projectionCreator) Method parameters in org.hibernate.search.engine.search.projection.dsl.spi with type arguments of type ProjectionFinalStepModifier and TypeMethodDescription<T> ProjectionFinalStep
<T> AbstractSearchProjectionFactory.withParameters
(Function<? super NamedValues, ? extends ProjectionFinalStep<T>> projectionCreator) -
Uses of ProjectionFinalStep in org.hibernate.search.engine.search.projection.spi
Method parameters in org.hibernate.search.engine.search.projection.spi with type arguments of type ProjectionFinalStepModifier and TypeMethodDescription<T> SearchProjection
<T> SearchProjectionBuilderFactory.withParameters
(Function<? super NamedValues, ? extends ProjectionFinalStep<T>> projectionCreator) -
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 ProjectionFinalStepModifier and TypeMethodDescription<P> SearchQueryWhereStep
<SR, ?, 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 ProjectionFinalStepModifier and TypeMethodDescription<P> SearchQueryWhereStep
<SR, ?, P, LOS, ?> AbstractDelegatingSearchQuerySelectStep.select
(Function<? super SearchProjectionFactory<SR, R, E>, ? extends ProjectionFinalStep<P>> projectionContributor)
.composite().from( dslFinalStep1, dslFinalStep2 ).as( transformer )
instead.