[
https://issues.apache.org/jira/browse/DRILL-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819216#comment-13819216
]
Jacques Nadeau commented on DRILL-164:
--------------------------------------
After conversations with Srihari, came up with a slightly simpler version fo
this. We are going to simply add queryIdArrived to the UserResultsListener
interface. This will be populated when the queryId has been returned.
> Changes to DrillClient
> ----------------------
>
> Key: DRILL-164
> URL: https://issues.apache.org/jira/browse/DRILL-164
> Project: Apache Drill
> Issue Type: Improvement
> Reporter: Srihari Srinivasan
> Assignee: Jacques Nadeau
> Attachments: DRILL-164.patch.0.txt, DRILL-164.patch.1.txt
>
>
> With respect to the DrillClient we'll need the following methods in order to
> support an async style interaction.
> - new DrillClient().submitQuery(QueryType, Query String) that returns
> the *QueryId* *and continues to execute in the background*
> - new DrillClient().getStatus(queryId) that returns a Status object. It
> could just return *IN_PROGRESS, SUCCEEDED and FAILED* for now. And some
> way to know why it failed in case it did.
> - new DrillClient().getResults(queryId) that returns *QueryResultBatch* as it
> is doing now.
--
This message was sent by Atlassian JIRA
(v6.1#6144)