Package org.apache.druid.server
Class ResourceIdPopulatingQueryRunner<T>
java.lang.Object
org.apache.druid.server.ResourceIdPopulatingQueryRunner<T>
- All Implemented Interfaces:
QueryRunner<T>
Populates
QueryContexts.QUERY_RESOURCE_ID in the query context-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Query<T>populateResourceId(Query<T> query) Assigns a random resource id to the given queryrun(QueryPlus<T> queryPlus, ResponseContext responseContext) 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
-
ResourceIdPopulatingQueryRunner
-
-
Method Details
-
populateResourceId
Assigns a random resource id to the given query -
run
- Specified by:
runin interfaceQueryRunner<T>
-