public class TopGroupsShardRequestFactory extends Object implements ShardRequestFactory
ShardRequestFactory
that creates ShardRequest
instances for getting the
top groups from all shards.Modifier and Type | Field and Description |
---|---|
static String |
GROUP_NULL_VALUE
Represents a string value for
|
Constructor and Description |
---|
TopGroupsShardRequestFactory() |
Modifier and Type | Method and Description |
---|---|
ShardRequest[] |
constructRequest(ResponseBuilder rb)
Returns
ShardRequest instances. |
public static final String GROUP_NULL_VALUE
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.