[
https://issues.apache.org/jira/browse/TAJO-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14396144#comment-14396144
]
ASF GitHub Bot commented on TAJO-1338:
--------------------------------------
Github user blrunner commented on a diff in the pull request:
https://github.com/apache/tajo/pull/490#discussion_r27775603
--- Diff:
tajo-core/src/main/java/org/apache/tajo/ws/rs/requests/SubmitQueryRequest.java
---
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.tajo.ws.rs.requests;
+
+import java.util.Map;
+
+import com.google.gson.annotations.Expose;
+
+public class SubmitQueryRequest {
+
+ @Expose private String query;
+ @Expose private Map<String, String> sessionVariables;
+
+ public String getQuery() {
+ return query;
+ }
+ public void setQuery(String query) {
+ this.query = query;
+ }
+ public Map<String, String> getSessionVariables() {
--- End diff --
SubmitQueryRequest::getSessionVariables and SubmitQueryRequest::
setSessionVariables seem to be unused methods.
> Defines RESTful API for Clients
> -------------------------------
>
> Key: TAJO-1338
> URL: https://issues.apache.org/jira/browse/TAJO-1338
> Project: Tajo
> Issue Type: Sub-task
> Components: client
> Affects Versions: 0.11.0
> Reporter: Jihun Kang
> Assignee: Jihun Kang
> Fix For: 0.11.0
>
> Attachments: TAJO-1338.patch, TAJO-1338_1.patch
>
>
> Based on RESTful implementations, RESTful API for clients will be created to
> handle client requests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)