Class TopGroupsShardRequestFactory
- java.lang.Object
-
- org.apache.solr.search.grouping.distributed.requestfactory.TopGroupsShardRequestFactory
-
- All Implemented Interfaces:
ShardRequestFactory
public class TopGroupsShardRequestFactory extends Object implements ShardRequestFactory
Concrete implementation ofShardRequestFactory
that createsShardRequest
instances for getting the top groups from all shards.
-
-
Field Summary
Fields Modifier and Type Field Description static String
GROUP_NULL_VALUE
Represents a string value for
-
Constructor Summary
Constructors Constructor Description TopGroupsShardRequestFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShardRequest[]
constructRequest(ResponseBuilder rb)
ReturnsShardRequest
instances.
-
-
-
Field Detail
-
GROUP_NULL_VALUE
public static final String GROUP_NULL_VALUE
Represents a string value for- See Also:
- Constant Field Values
-
-
Method Detail
-
constructRequest
public ShardRequest[] constructRequest(ResponseBuilder rb)
Description copied from interface:ShardRequestFactory
ReturnsShardRequest
instances. Never returnsnull
. If noShardRequest
instances are constructed an empty array is returned.- Specified by:
constructRequest
in interfaceShardRequestFactory
- Parameters:
rb
- The response builder- Returns:
ShardRequest
instances
-
-