public class SearchGroupsRequestFactory extends Object implements ShardRequestFactory
ShardRequestFactory
that creates ShardRequest
instances for getting the
search groups from all shards.Constructor and Description |
---|
SearchGroupsRequestFactory() |
Modifier and Type | Method and Description |
---|---|
ShardRequest[] |
constructRequest(ResponseBuilder rb)
Returns
ShardRequest instances. |
public ShardRequest[] constructRequest(ResponseBuilder rb)
ShardRequestFactory
ShardRequest
instances.
Never returns null
. If no ShardRequest
instances are constructed an empty array is returned.constructRequest
in interface ShardRequestFactory
rb
- The response builderShardRequest
instancesCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.