Package org.apache.druid.query
Interface PrioritizedQueryRunnerCallable<T,V>
- Type Parameters:
T- - Type of result ofCallable.call()methodV- - Type ofSequenceof rows returned byQueryRunner
- All Superinterfaces:
Callable<T>,PrioritizedCallable<T>
- All Known Implementing Classes:
AbstractPrioritizedQueryRunnerCallable
An implementation of
PrioritizedCallable that also lets caller get access to associated QueryRunner
It is used in implementations of QueryRunnerFactory-
Method Summary
Modifier and TypeMethodDescriptionThis 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 Details
-
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)
-