public interface QueryRunner<T>
run(Query, Map) is legacy and run(QueryPlus, Map)
is the new one. Their default implementations delegate to each other. Every implementation of QueryRunner should
override only one of those methods. New implementations should override the new method: run(QueryPlus, Map).| Modifier and Type | Method and Description |
|---|---|
default Sequence<T> |
run(Query<T> query,
Map<String,Object> responseContext)
Deprecated.
use and override
run(QueryPlus, Map) instead. This method is going to be removed in Druid 0.11 |
default Sequence<T> |
run(QueryPlus<T> queryPlus,
Map<String,Object> responseContext)
Runs the given query and returns results in a time-ordered sequence.
|
@Deprecated default Sequence<T> run(Query<T> query, Map<String,Object> responseContext)
run(QueryPlus, Map) instead. This method is going to be removed in Druid 0.11Copyright © 2011–2017. All rights reserved.