esevastyanov commented on a change in pull request #8110: Response context 
refactoring
URL: https://github.com/apache/incubator-druid/pull/8110#discussion_r306286660
 
 

 ##########
 File path: processing/src/main/java/org/apache/druid/query/QueryRunner.java
 ##########
 @@ -21,14 +21,13 @@
 
 import org.apache.druid.guice.annotations.ExtensionPoint;
 import org.apache.druid.java.util.common.guava.Sequence;
-
-import java.util.Map;
+import org.apache.druid.query.context.ResponseContext;
 
 @ExtensionPoint
 public interface QueryRunner<T>
 {
   /**
    * Runs the given query and returns results in a time-ordered sequence.
    */
-  Sequence<T> run(QueryPlus<T> queryPlus, Map<String, Object> responseContext);
+  Sequence<T> run(QueryPlus<T> queryPlus, ResponseContext responseContext);
 
 Review comment:
   added and refactored tests

----------------------------------------------------------------
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]


With regards,
Apache Git Services

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

Reply via email to