Uses of Interface
org.hibernate.search.engine.search.projection.dsl.ProjectionFinalStep
Packages that use ProjectionFinalStep
Package
Description
-
Uses of ProjectionFinalStep in org.hibernate.search.engine.search.projection.dsl
Subinterfaces of ProjectionFinalStep in org.hibernate.search.engine.search.projection.dslModifier and TypeInterfaceDescriptioninterfaceCompositeProjectionOptionsStep<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 (optionally) the projection collector can be provided, e.g. to mark a projection as multi-valued (returningList/Setetc.)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 (optionally) the projection collector can be provided, e.g. to mark a projection as multi-valued (returningList/Setetc.)interfaceThe 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 (optionally) the projection collector can be provided, e.g. to mark a projection as multi-valued (returningList/Setetc.)interfaceThe final step in a highlight definition.interfaceThe 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.interfaceThe 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. returningStringinstead 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<TypedSearchProjectionFactory<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)TypedSearchProjectionFactory; otherwise return the projection created in the first succeedingifSupportedcall.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.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 aListbased on the given almost-built projections.default <P1,P2, P3, T>
CompositeProjectionOptionsStep<?, T> SearchProjectionFactory.composite(org.hibernate.search.util.common.function.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-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 ProjectionFinalStepModifier and TypeMethodDescriptionSearchProjectionFactoryExtensionIfSupportedStep.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.SearchProjectionFactoryExtensionIfSupportedMoreStep.orElse(Function<TypedSearchProjectionFactory<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)TypedSearchProjectionFactory; otherwise return the projection created in the first succeedingifSupportedcall.<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 TypedSearchProjectionFactory<SR, R, E>, ? extends ProjectionFinalStep<P>> projectionContributor)
.composite().from( dslFinalStep1, dslFinalStep2 ).as( transformer )instead.