Class ServerManager.ResourceManagingQueryRunner<T>
java.lang.Object
org.apache.druid.server.coordination.ServerManager.ResourceManagingQueryRunner<T>
- All Implemented Interfaces:
QueryRunner<T>
- Enclosing class:
- ServerManager
public final class ServerManager.ResourceManagingQueryRunner<T>
extends Object
implements QueryRunner<T>
QueryRunner that on run builds a set of QueryRunner for a set of SegmentDescriptor and
merges them using the QueryToolChest. The VersionedIntervalTimeline provides segment references,
which are registered with a closer as they are acquired, and then released in the baggage of merged result
Sequence-
Constructor Summary
ConstructorsConstructorDescriptionResourceManagingQueryRunner(VersionedIntervalTimeline<String, ReferenceCountedSegmentProvider> timeline, QueryRunnerFactory<T, Query<T>> factory, QueryToolChest<T, Query<T>> toolChest, ExecutionVertex ev, Iterable<SegmentDescriptor> specs) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.query.QueryRunner
run
-
Constructor Details
-
ResourceManagingQueryRunner
public ResourceManagingQueryRunner(VersionedIntervalTimeline<String, ReferenceCountedSegmentProvider> timeline, QueryRunnerFactory<T, Query<T>> factory, QueryToolChest<T, Query<T>> toolChest, ExecutionVertex ev, Iterable<SegmentDescriptor> specs)
-
-
Method Details
-
run
- Specified by:
runin interfaceQueryRunner<T>
-