jihoonson commented on a change in pull request #11382:
URL: https://github.com/apache/druid/pull/11382#discussion_r658128272



##########
File path: 
processing/src/main/java/org/apache/druid/query/PrioritizedQueryRunnerCallable.java
##########
@@ -17,20 +17,15 @@
  * under the License.
  */
 
-package org.apache.druid.guice.annotations;
-
-import com.google.inject.BindingAnnotation;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
+package org.apache.druid.query;
 
 /**
+ * An implementation of {@link PrioritizedCallable} that also let's caller get 
access to associated {@link QueryRunner}
+ * It is used in implementations of {@link QueryRunnerFactory}
+ * @param <T>
+ * @param <V>
  */
-@BindingAnnotation
-@Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD})
-@Retention(RetentionPolicy.RUNTIME)
-public @interface Processing
+public interface PrioritizedQueryRunnerCallable<T, V> extends 
PrioritizedCallable<T>
 {
+  QueryRunner<V> getRunner();

Review comment:
       How will this method be used? I only see it used in a test in this PR.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to