public class DirectDruidClient<T> extends Object implements QueryRunner<T>
| Modifier and Type | Field and Description |
|---|---|
static String |
QUERY_FAIL_TIME |
static String |
QUERY_TOTAL_BYTES_GATHERED |
| Constructor and Description |
|---|
DirectDruidClient(QueryToolChestWarehouse warehouse,
QueryWatcher queryWatcher,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
HttpClient httpClient,
String scheme,
String host,
ServiceEmitter emitter) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumOpenConnections() |
static Map<String,Object> |
makeResponseContextForQuery() |
static void |
removeMagicResponseContextFields(Map<String,Object> responseContext)
Removes the magical fields added by
makeResponseContextForQuery(). |
Sequence<T> |
run(QueryPlus<T> queryPlus,
Map<String,Object> context) |
String |
toString() |
public static final String QUERY_FAIL_TIME
public static final String QUERY_TOTAL_BYTES_GATHERED
public DirectDruidClient(QueryToolChestWarehouse warehouse, QueryWatcher queryWatcher, com.fasterxml.jackson.databind.ObjectMapper objectMapper, HttpClient httpClient, String scheme, String host, ServiceEmitter emitter)
public static void removeMagicResponseContextFields(Map<String,Object> responseContext)
makeResponseContextForQuery().public int getNumOpenConnections()
public Sequence<T> run(QueryPlus<T> queryPlus, Map<String,Object> context)
run in interface QueryRunner<T>Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.