Package org.apache.druid.query
Class ToolChestBasedResultSerializedRunner<T>
java.lang.Object
org.apache.druid.query.ToolChestBasedResultSerializedRunner<T>
- All Implemented Interfaces:
QueryRunner<T>
Implements a QueryRunner that takes
ResultSerializationMode into
account.
It uses the toolchest service methods to provide the appropriate
serialization.-
Constructor Summary
ConstructorsConstructorDescriptionToolChestBasedResultSerializedRunner(Query<T> query, QuerySegmentWalker walker, QueryToolChest<T, Query<T>> toolChest) -
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
-
ToolChestBasedResultSerializedRunner
public ToolChestBasedResultSerializedRunner(Query<T> query, QuerySegmentWalker walker, QueryToolChest<T, Query<T>> toolChest)
-
-
Method Details
-
run
Description copied from interface:QueryRunnerRuns the given query and returns results in a time-ordered sequence.- Specified by:
runin interfaceQueryRunner<T>
-