public class DirectDruidClient<T> extends Object implements QueryRunner<T>
| Modifier and Type | Field and Description |
|---|---|
static String |
QUERY_FAIL_TIME |
| 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 ConcurrentResponseContext |
makeResponseContextForQuery() |
static void |
removeMagicResponseContextFields(ResponseContext responseContext)
Removes the magical fields added by
makeResponseContextForQuery(). |
Sequence<T> |
run(QueryPlus<T> queryPlus,
ResponseContext context) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitrunpublic static final String QUERY_FAIL_TIME
public DirectDruidClient(QueryToolChestWarehouse warehouse, QueryWatcher queryWatcher, com.fasterxml.jackson.databind.ObjectMapper objectMapper, HttpClient httpClient, String scheme, String host, ServiceEmitter emitter)
public static void removeMagicResponseContextFields(ResponseContext responseContext)
makeResponseContextForQuery().public static ConcurrentResponseContext makeResponseContextForQuery()
public int getNumOpenConnections()
public Sequence<T> run(QueryPlus<T> queryPlus, ResponseContext context)
run in interface QueryRunner<T>Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.