aboutsummaryrefslogtreecommitdiff
path: root/contrib/native/client/src/include
diff options
context:
space:
mode:
authorXiao Meng <xiaom.cs@gmail.com>2014-11-24 14:41:55 -0800
committerParth Chandra <pchandra@maprtech.com>2015-01-06 09:07:42 -0800
commit621527d580e447c38952fa9046703811388b670c (patch)
tree9d04b09533b301c7cf89f61f15a3ffbec363acab /contrib/native/client/src/include
parent07f276d686c99bc6485661ece0425c1a187aa802 (diff)
DRILL-1776: C++ Client. Add interface to get application context.
Diffstat (limited to 'contrib/native/client/src/include')
-rw-r--r--contrib/native/client/src/include/drill/drillClient.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/native/client/src/include/drill/drillClient.hpp b/contrib/native/client/src/include/drill/drillClient.hpp
index 65c07d6a9..490c823d5 100644
--- a/contrib/native/client/src/include/drill/drillClient.hpp
+++ b/contrib/native/client/src/include/drill/drillClient.hpp
@@ -238,6 +238,10 @@ class DECLSPEC_DRILL_CLIENT DrillClient{
* back. The listener callback will return the handle in the ctx parameter.
*/
status_t submitQuery(Drill::QueryType t, const std::string& plan, pfnQueryResultsListener listener, void* listenerCtx, QueryHandle_t* qHandle);
+ /*
+ * Get the application context from query handle
+ */
+ static void* getApplicationContext(QueryHandle_t handle);
/*
* Submit a query asynchronously and wait for results to be returned through an iterator that returns