org.apache.solr.search.grouping.distributed.requestfactory

## Class SearchGroupsRequestFactory

- java.lang.Object
- - org.apache.solr.search.grouping.distributed.requestfactory.SearchGroupsRequestFactory

- All Implemented Interfaces:
    ShardRequestFactory

      public class SearchGroupsRequestFactory
      extends Object
      implements ShardRequestFactory

  Concrete implementation of `ShardRequestFactory` that creates `ShardRequest` instances for getting the search groups from all shards.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SearchGroupsRequestFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ShardRequest[]` | `constructRequest(ResponseBuilder rb)` Returns `ShardRequest` instances.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SearchGroupsRequestFactory

          public SearchGroupsRequestFactory()

  - ### Method Detail

    - #### constructRequest

          public ShardRequest[] constructRequest(ResponseBuilder rb)

      Returns `ShardRequest` instances. Never returns `null`. If no `ShardRequest` instances are constructed an empty array is returned.
      Specified by:
        `constructRequest` in interface `ShardRequestFactory`
      Parameters:
        `rb` - The response builder
      Returns:
        `ShardRequest` instances

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