Class LuceneWithParametersProjection<P>
java.lang.Object
org.hibernate.search.backend.lucene.search.projection.impl.LuceneWithParametersProjection<P>
- All Implemented Interfaces:
LuceneSearchProjection<P>,SearchProjection<P>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.search.backend.lucene.search.projection.impl.LuceneSearchProjection
LuceneSearchProjection.Extractor<E,P> -
Field Summary
Fields inherited from interface org.hibernate.search.backend.lucene.search.projection.impl.LuceneSearchProjection
log -
Constructor Summary
ConstructorsConstructorDescriptionLuceneWithParametersProjection(LuceneSearchIndexScope<?> scope, Function<? super NamedValues, ? extends ProjectionFinalStep<P>> projectionCreator) -
Method Summary
Modifier and TypeMethodDescriptionrequest(ProjectionRequestContext context) Request the collection of per-document data that will be used inLuceneSearchProjection.Extractor.values(ProjectionExtractContext), making sure that the requirements for this projection are met.toString()
-
Constructor Details
-
LuceneWithParametersProjection
public LuceneWithParametersProjection(LuceneSearchIndexScope<?> scope, Function<? super NamedValues, ? extends ProjectionFinalStep<P>> projectionCreator)
-
-
Method Details
-
toString
-
request
Description copied from interface:LuceneSearchProjectionRequest the collection of per-document data that will be used inLuceneSearchProjection.Extractor.values(ProjectionExtractContext), making sure that the requirements for this projection are met.- Parameters:
context- An execution context for the request.- Returns:
- An
LuceneSearchProjection.Extractor, to extract the result of the projection from the Elasticsearch response.
-
indexNames
- Specified by:
indexNamesin interfaceLuceneSearchProjection<P>
-