org.apache.solr.search.grouping.endresulttransformer

## 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 and Description
    --- | ---
    `static interface` | `EndResultTransformer.SolrDocumentSource` Abstracts the source for `SolrDocument` instances.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and 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 specification
        `solrDocumentSource` - The source of `SolrDocument` instances

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.