VMware GemFire Native Client Cache Reference  9.0.6
QueryService.hpp
Go to the documentation of this file.
1 #ifndef __GEMFIRE_QUERYSERVICE_H__
2 #define __GEMFIRE_QUERYSERVICE_H__
3 /*=========================================================================
4  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
5  * This product is protected by U.S. and international copyright
6  * and intellectual property laws. Pivotal products are covered by
7  * more patents listed at http://www.pivotal.io/patents.
8  *========================================================================
9  */
10 
11 #include "gfcpp_globals.hpp"
12 #include "gf_types.hpp"
13 #include "ExceptionTypes.hpp"
14 #include "CqQuery.hpp"
15 #include "CqAttributes.hpp"
16 #include "CqServiceStatistics.hpp"
17 
18 #include "Query.hpp"
19 
24 namespace gemfire
25 {
26 
34 {
35 
36 public:
37 
44  virtual QueryPtr newQuery(const char * querystr) = 0;
45 
76  virtual CqQueryPtr newCq(const char* name, const char * querystr, CqAttributesPtr& cqAttr, bool isDurable=false) = 0;
106  virtual CqQueryPtr newCq(const char * querystr, CqAttributesPtr& cqAttr, bool isDurable=false) = 0;
113  virtual void closeCqs()=0;
119  virtual void getCqs(VectorOfCqQuery& vec)=0;
126  virtual CqQueryPtr getCq(const char* name)=0;
132  virtual void executeCqs()=0;
138  virtual void stopCqs()=0;
145  virtual CqServiceStatisticsPtr getCqServiceStatistics()=0;
146 
152  virtual CacheableArrayListPtr getAllDurableCqsFromServer() = 0;
153 
154 };
155 
156 } //namespace gemfire
157 
158 #endif //ifndef __GEMFIRE_QUERYSERVICE_H__
Vector template type class.
Definition: VectorT.hpp:24
QueryService is the class obtained from a Cache.
Definition: QueryService.hpp:33
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
This abstract base class is the base class of all user objects that have the shared capability of ref...
Definition: SharedBase.hpp:31
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:35

GemFire C++ Cache API Documentation