diff options
author | Laurent Goujon <laurent@dremio.com> | 2016-10-11 16:35:18 -0700 |
---|---|---|
committer | Parth Chandra <parthc@apache.org> | 2016-11-01 11:33:23 -0700 |
commit | 83513daf0903e0d94fcaad7b1ae4e8ad6272b494 (patch) | |
tree | c0b097420f1dcfa7eaef81ed4312dfe308c4483f /contrib/native/client/src/include/drill/drillClient.hpp | |
parent | 166c4ce7600b5571249a6748dd57383479313e2e (diff) |
DRILL-1996: Add cancel method to Drill C++ connector
This closes #602
Diffstat (limited to 'contrib/native/client/src/include/drill/drillClient.hpp')
-rw-r--r-- | contrib/native/client/src/include/drill/drillClient.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/native/client/src/include/drill/drillClient.hpp b/contrib/native/client/src/include/drill/drillClient.hpp index 5e59885d3..29ae6c284 100644 --- a/contrib/native/client/src/include/drill/drillClient.hpp +++ b/contrib/native/client/src/include/drill/drillClient.hpp @@ -1276,6 +1276,13 @@ class DECLSPEC_DRILL_CLIENT DrillClient{ status_t executeQuery(const PreparedStatement& pstmt, pfnQueryResultsListener listener, void* listenerCtx, QueryHandle_t* qHandle); /* + * Cancel a query. + * + * @param[in] the handle of the query to cancel + */ + void cancelQuery(QueryHandle_t handle); + + /* * The client application should call this function to wait for results if it has registered a * listener. */ |