Interface ShardRequestFactory
-
- All Known Implementing Classes:
SearchGroupsRequestFactory
,StoredFieldsShardRequestFactory
,TopGroupsShardRequestFactory
public interface ShardRequestFactory
Responsible for creating shard requests to the shards in the cluster to perform distributed grouping.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShardRequest[]
constructRequest(ResponseBuilder rb)
ReturnsShardRequest
instances.
-
-
-
Method Detail
-
constructRequest
ShardRequest[] constructRequest(ResponseBuilder rb)
ReturnsShardRequest
instances. Never returnsnull
. If noShardRequest
instances are constructed an empty array is returned.- Parameters:
rb
- The response builder- Returns:
ShardRequest
instances
-
-