public class CachingClusteredClient extends Object implements QuerySegmentWalker
ClientQuerySegmentWalker. In tests, its behavior
is partially mimicked by TestClusterQuerySegmentWalker.| Constructor and Description |
|---|
CachingClusteredClient(QueryToolChestWarehouse warehouse,
TimelineServerView serverView,
Cache cache,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
CachePopulator cachePopulator,
CacheConfig cacheConfig,
DruidHttpClientConfig httpClientConfig,
DruidProcessingConfig processingConfig,
ForkJoinPool pool,
QueryScheduler scheduler) |
| Modifier and Type | Method and Description |
|---|---|
<T> QueryRunner<T> |
getQueryRunnerForIntervals(Query<T> query,
Iterable<org.joda.time.Interval> intervals) |
<T> QueryRunner<T> |
getQueryRunnerForSegments(Query<T> query,
Iterable<SegmentDescriptor> specs) |
@Inject public CachingClusteredClient(QueryToolChestWarehouse warehouse, TimelineServerView serverView, Cache cache, com.fasterxml.jackson.databind.ObjectMapper objectMapper, CachePopulator cachePopulator, CacheConfig cacheConfig, DruidHttpClientConfig httpClientConfig, DruidProcessingConfig processingConfig, ForkJoinPool pool, QueryScheduler scheduler)
public <T> QueryRunner<T> getQueryRunnerForIntervals(Query<T> query, Iterable<org.joda.time.Interval> intervals)
getQueryRunnerForIntervals in interface QuerySegmentWalkerpublic <T> QueryRunner<T> getQueryRunnerForSegments(Query<T> query, Iterable<SegmentDescriptor> specs)
getQueryRunnerForSegments in interface QuerySegmentWalkerCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.