From 83513daf0903e0d94fcaad7b1ae4e8ad6272b494 Mon Sep 17 00:00:00 2001 From: Laurent Goujon Date: Tue, 11 Oct 2016 16:35:18 -0700 Subject: DRILL-1996: Add cancel method to Drill C++ connector This closes #602 --- contrib/native/client/src/include/drill/drillClient.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'contrib/native/client/src/include') 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 @@ -1275,6 +1275,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. -- cgit v1.2.3