Class ElasticsearchEntityCompositeProjection<E>
- java.lang.Object
-
- org.hibernate.search.backend.elasticsearch.search.projection.impl.AbstractElasticsearchProjection<E>
-
- org.hibernate.search.backend.elasticsearch.search.projection.impl.ElasticsearchEntityCompositeProjection<E>
-
- All Implemented Interfaces:
ElasticsearchSearchProjection<E>,SearchProjection<E>
public class ElasticsearchEntityCompositeProjection<E> extends AbstractElasticsearchProjection<E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hibernate.search.backend.elasticsearch.search.projection.impl.AbstractElasticsearchProjection
AbstractElasticsearchProjection.AbstractBuilder<P>
-
Nested classes/interfaces inherited from interface org.hibernate.search.backend.elasticsearch.search.projection.impl.ElasticsearchSearchProjection
ElasticsearchSearchProjection.Extractor<E,P>
-
-
Field Summary
-
Fields inherited from class org.hibernate.search.backend.elasticsearch.search.projection.impl.AbstractElasticsearchProjection
indexNames
-
Fields inherited from interface org.hibernate.search.backend.elasticsearch.search.projection.impl.ElasticsearchSearchProjection
log
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchEntityCompositeProjection(ElasticsearchSearchIndexScope<?> scope, ElasticsearchSearchProjection<E> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElasticsearchSearchProjection.Extractor<?,E>request(com.google.gson.JsonObject requestBody, ProjectionRequestContext context)Contributes to the request, making sure that the requirements for this projection are met, and creating anElasticsearchSearchProjection.Extractorthat will be able to extract the result of the projection from the Elasticsearch response.-
Methods inherited from class org.hibernate.search.backend.elasticsearch.search.projection.impl.AbstractElasticsearchProjection
indexNames
-
-
-
-
Constructor Detail
-
ElasticsearchEntityCompositeProjection
public ElasticsearchEntityCompositeProjection(ElasticsearchSearchIndexScope<?> scope, ElasticsearchSearchProjection<E> delegate)
-
-
Method Detail
-
request
public ElasticsearchSearchProjection.Extractor<?,E> request(com.google.gson.JsonObject requestBody, ProjectionRequestContext context)
Description copied from interface:ElasticsearchSearchProjectionContributes to the request, making sure that the requirements for this projection are met, and creating anElasticsearchSearchProjection.Extractorthat will be able to extract the result of the projection from the Elasticsearch response.- Parameters:
requestBody- The request body.context- An execution context for the request.- Returns:
- An
ElasticsearchSearchProjection.Extractor, to extract the result of the projection from the Elasticsearch response.
-
-