Class LuceneFieldProjection<F,V,P,T>
java.lang.Object
org.hibernate.search.backend.lucene.search.projection.impl.LuceneFieldProjection<F,V,P,T>
- Type Parameters:
F- The type of individual field values obtained from the backend (before conversion).V- The type of individual field values after conversion.P- The type of the final projection result representing accumulated values of typeV.
- All Implemented Interfaces:
LuceneSearchProjection<P>,SearchProjection<P>
A projection on the values of an index field.
-
Nested Class Summary
Nested ClassesNested 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 -
Method Summary
Modifier and TypeMethodDescriptionLuceneFieldProjection<F,V, P, T>.org.hibernate.search.backend.lucene.search.projection.impl.LuceneFieldProjection.ValueFieldExtractor<?> request(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()
-
Method Details
-
toString
-
request
public LuceneFieldProjection<F,V, requestP, T>.org.hibernate.search.backend.lucene.search.projection.impl.LuceneFieldProjection.ValueFieldExtractor<?> (ProjectionRequestContext context) 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>
-