VMware GemFire Native C++ Reference  9.1
Execution.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef GEODE_EXECUTION_H_
4 #define GEODE_EXECUTION_H_
5 
6 /*
7  * Licensed to the Apache Software Foundation (ASF) under one or more
8  * contributor license agreements. See the NOTICE file distributed with
9  * this work for additional information regarding copyright ownership.
10  * The ASF licenses this file to You under the Apache License, Version 2.0
11  * (the "License"); you may not use this file except in compliance with
12  * the License. You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  */
22 
23 /*
24  * The specification of function behaviors is found in the corresponding .cpp
25  * file.
26  */
27 
28 #include "geode_globals.hpp"
29 #include "geode_types.hpp"
30 #include "VectorT.hpp"
31 #include "SharedPtr.hpp"
32 #include "CacheableBuiltins.hpp"
33 #include "ResultCollector.hpp"
34 
39 namespace apache {
40 namespace geode {
41 namespace client {
49  public:
64  virtual ExecutionPtr withFilter(CacheableVectorPtr routingObj) = 0;
72  virtual ExecutionPtr withArgs(CacheablePtr args) = 0;
80  virtual ExecutionPtr withCollector(ResultCollectorPtr rs) = 0;
90  virtual ResultCollectorPtr execute(
91  const char* func, uint32_t timeout = DEFAULT_QUERY_RESPONSE_TIMEOUT) = 0;
92 
108  virtual ResultCollectorPtr execute(CacheableVectorPtr& routingObj,
109  CacheablePtr& args, ResultCollectorPtr& rs,
110  const char* func, uint32_t timeout) = 0;
111 };
112 } // namespace client
113 } // namespace geode
114 } // namespace apache
115 
116 #endif // GEODE_EXECUTION_H_
Each enum represents a predefined RegionAttributes in a Cache.
Definition: Assert.hpp:31
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
gathers results from function execution
Definition: Execution.hpp:48
Contains generic template definitions for Cacheable types and instantiations for built-in types...
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:52
This abstract base class is the base class of all user objects that have the shared capability of ref...
Definition: SharedBase.hpp:40
#define DEFAULT_QUERY_RESPONSE_TIMEOUT
default timeout for query response
Definition: geode_base.hpp:176
This namespace contains all the Geode C++ API classes, enumerations and globals.

Pivotal GemFire C++ Cache API Documentation