Interface EndResultTransformer
-
- All Known Implementing Classes:
GroupedEndResultTransformer
,MainEndResultTransformer
,SimpleEndResultTransformer
public interface EndResultTransformer
Responsible for transforming the grouped result into the final format for displaying purposes.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
EndResultTransformer.SolrDocumentSource
Abstracts the source forSolrDocument
instances.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
transform(Map<String,?> result, ResponseBuilder rb, EndResultTransformer.SolrDocumentSource solrDocumentSource)
Transforms the specified result into its final form and puts it into the specified response.
-
-
-
Method Detail
-
transform
void transform(Map<String,?> result, ResponseBuilder rb, EndResultTransformer.SolrDocumentSource solrDocumentSource)
Transforms the specified result into its final form and puts it into the specified response.- Parameters:
result
- The map containing the grouping result (for grouping by field and query)rb
- The response builder containing the response used to render the result and the grouping specificationsolrDocumentSource
- The source ofSolrDocument
instances
-
-