Package org.apache.druid.query
Interface PrioritizedQueryRunnerCallable<T,V>
-
- Type Parameters:
T
- - Type of result ofCallable.call()
methodV
- - Type ofSequence
of rows returned byQueryRunner
- All Superinterfaces:
Callable<T>
,PrioritizedCallable<T>
- All Known Implementing Classes:
AbstractPrioritizedQueryRunnerCallable
public interface PrioritizedQueryRunnerCallable<T,V> extends PrioritizedCallable<T>
An implementation ofPrioritizedCallable
that also lets caller get access to associatedQueryRunner
It is used in implementations ofQueryRunnerFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryRunner<V>
getRunner()
This method can be used by the extensions to get the runner that the given query execution task corresponds to.-
Methods inherited from interface org.apache.druid.query.PrioritizedCallable
getPriority
-
-
-
-
Method Detail
-
getRunner
QueryRunner<V> getRunner()
This method can be used by the extensions to get the runner that the given query execution task corresponds to. That in turn can be used to fetch any state associated with the QueryRunner such as the segment info for example. Extensions can carry any state from custom implementation of QuerySegmentWalker to a custom implementation ofQueryProcessingPool.submitRunnerTask(PrioritizedQueryRunnerCallable)
-
-