Pivotal GemFire Native Client Cache Reference  9.0.6
Execution.hpp
Go to the documentation of this file.
1 #ifndef __GEMFIRE_EXECUTION_H__
2 #define __GEMFIRE_EXECUTION_H__
3 
4 /*=========================================================================
5  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
6  * This product is protected by U.S. and international copyright
7  * and intellectual property laws. Pivotal products are covered by
8  * more patents listed at http://www.pivotal.io/patents.
9  *
10  * The specification of function behaviors is found in the corresponding .cpp fil
11  e.
12  *
13  *========================================================================
14  */
15 
16 #include "gfcpp_globals.hpp"
17 #include "gf_types.hpp"
18 #include "VectorT.hpp"
19 #include "SharedPtr.hpp"
20 #include "CacheableBuiltins.hpp"
21 #include "ResultCollector.hpp"
22 
27 namespace gemfire {
35 {
36  public:
49  virtual ExecutionPtr withFilter(CacheableVectorPtr routingObj) = 0;
57  virtual ExecutionPtr withArgs(CacheablePtr args) = 0;
65  virtual ExecutionPtr withCollector(ResultCollectorPtr rs) = 0;
78  virtual ResultCollectorPtr execute(const char* func, bool hasResult=true, uint32_t timeout = DEFAULT_QUERY_RESPONSE_TIMEOUT, bool isHA = true, bool optimizeForWrite= false) = 0;
79 
95  virtual ResultCollectorPtr execute(CacheableVectorPtr& routingObj, CacheablePtr& args, ResultCollectorPtr& rs,
96  const char* func, bool hasResult, uint32_t timeout, bool isHA , bool optimizeForWrite) = 0;
97 };
98 } //namespace gemfire
99 #endif //__GEMFIRE_EXECUTION_H__
Contains generic template definitions for Cacheable types and instantiations for built-in types...
#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
gathers results from function execution
Definition: Execution.hpp:34
#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