Package org.apache.druid.discovery
Class DataServerClient
- java.lang.Object
-
- org.apache.druid.discovery.DataServerClient
-
public class DataServerClient extends Object
Client to query data servers given a query.
-
-
Constructor Summary
Constructors Constructor Description DataServerClient(ServiceClientFactory serviceClientFactory, ServiceLocation serviceLocation, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ScheduledExecutorService queryCancellationExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> org.apache.druid.java.util.common.guava.Sequence<T>run(org.apache.druid.query.Query<T> query, org.apache.druid.query.context.ResponseContext responseContext, com.fasterxml.jackson.databind.JavaType queryResultType, org.apache.druid.java.util.common.io.Closer closer)
-
-
-
Constructor Detail
-
DataServerClient
public DataServerClient(ServiceClientFactory serviceClientFactory, ServiceLocation serviceLocation, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ScheduledExecutorService queryCancellationExecutor)
-
-