Pivotal GemFire Native Client Cache Reference  9.0.6
Query.hpp
Go to the documentation of this file.
1 #ifndef __GEMFIRE_QUERY_H__
2 #define __GEMFIRE_QUERY_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 
14 #include "SelectResults.hpp"
15 
20 namespace gemfire
21 {
22 
34 {
35 
36 public:
37 
52  virtual SelectResultsPtr execute(uint32_t timeout = DEFAULT_QUERY_RESPONSE_TIMEOUT) = 0;
53 
70  virtual SelectResultsPtr execute(CacheableVectorPtr paramList, uint32_t timeout = DEFAULT_QUERY_RESPONSE_TIMEOUT) = 0;
76  virtual const char * getQueryString() const = 0;
77 
83  virtual void compile() = 0;
84 
91  virtual bool isCompiled() = 0;
92 
93 };
94 
95 } //namespace gemfire
96 
97 #endif //ifndef __GEMFIRE_QUERY_H__
A Query is obtained from a QueryService which in turn is obtained from the Cache. ...
Definition: Query.hpp:33
#define DEFAULT_QUERY_RESPONSE_TIMEOUT
default timeout for query response
Definition: gf_base.hpp:214
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

GemFire C++ Cache API Documentation