diff options
author | Xiao Meng <xiaom.cs@gmail.com> | 2014-11-24 14:41:55 -0800 |
---|---|---|
committer | Parth Chandra <pchandra@maprtech.com> | 2015-01-06 09:07:42 -0800 |
commit | 621527d580e447c38952fa9046703811388b670c (patch) | |
tree | 9d04b09533b301c7cf89f61f15a3ffbec363acab /contrib/native/client/src/include | |
parent | 07f276d686c99bc6485661ece0425c1a187aa802 (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.hpp | 4 |
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 |