Repository: asterixdb
Updated Branches:
  refs/heads/master 5cfe1da87 -> 5714bfa8b


[NO ISSUE][API] Make QueryServiceServlet Extensible

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Change the visibility of QueryServiceServlet inner classes
  to allow extensibility.

Change-Id: I9c0e845bf45644fa103c3189259dd53778b7b228
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2589
Sonar-Qube: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhub...@apache.org>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mb...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/5714bfa8
Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/5714bfa8
Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/5714bfa8

Branch: refs/heads/master
Commit: 5714bfa8b5c0658388217b78dc87a9157f5c5289
Parents: 5cfe1da
Author: Murtadha Hubail <mhub...@apache.org>
Authored: Fri Apr 13 00:40:04 2018 +0300
Committer: Murtadha Hubail <mhub...@apache.org>
Committed: Thu Apr 12 19:20:00 2018 -0700

----------------------------------------------------------------------
 .../org/apache/asterix/api/http/server/QueryServiceServlet.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/5714bfa8/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/QueryServiceServlet.java
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/QueryServiceServlet.java
 
b/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/QueryServiceServlet.java
index 714bb53..d22f657 100644
--- 
a/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/QueryServiceServlet.java
+++ 
b/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/QueryServiceServlet.java
@@ -196,7 +196,7 @@ public class QueryServiceServlet extends 
AbstractQueryApiServlet {
         }
     }
 
-    static class RequestParameters {
+    protected static class RequestParameters {
         String host;
         String path;
         String statement;
@@ -241,7 +241,7 @@ public class QueryServiceServlet extends 
AbstractQueryApiServlet {
         }
     }
 
-    static final class RequestExecutionState {
+    protected static final class RequestExecutionState {
         private long execStart = -1;
         private long execEnd = -1;
         private ResultStatus resultStatus = ResultStatus.SUCCESS;

Reply via email to