Class LuceneEntityCompositeProjection<E>
- java.lang.Object
-
- org.hibernate.search.backend.lucene.search.projection.impl.LuceneEntityCompositeProjection<E>
-
- All Implemented Interfaces:
LuceneSearchProjection<E>,SearchProjection<E>
public class LuceneEntityCompositeProjection<E> extends Object
-
-
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
Constructors Constructor Description LuceneEntityCompositeProjection(LuceneSearchIndexScope<?> scope, LuceneSearchProjection<E> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>indexNames()LuceneSearchProjection.Extractor<?,E>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.
-
-
-
Constructor Detail
-
LuceneEntityCompositeProjection
public LuceneEntityCompositeProjection(LuceneSearchIndexScope<?> scope, LuceneSearchProjection<E> delegate)
-
-
Method Detail
-
request
public LuceneSearchProjection.Extractor<?,E> request(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
public final Set<String> indexNames()
- Specified by:
indexNamesin interfaceLuceneSearchProjection<P>
-
-