VMware GemFire Native C++ Reference  9.1
ResultSet.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef GEODE_RESULTSET_H_
4 #define GEODE_RESULTSET_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 #include "geode_globals.hpp"
24 #include "geode_types.hpp"
25 #include "ExceptionTypes.hpp"
26 
27 #include "SelectResults.hpp"
28 #include "VectorT.hpp"
29 
31 
36 namespace apache {
37 namespace geode {
38 namespace client {
39 
46  public:
52  virtual bool isModifiable() const = 0;
53 
59  virtual int32_t size() const = 0;
60 
68  virtual const SerializablePtr operator[](int32_t index) const = 0;
69 
76  virtual SelectResultsIterator getIterator() = 0;
77 
81  virtual ~ResultSet(){};
82 };
83 } // namespace client
84 } // namespace geode
85 } // namespace apache
86 
87 #endif // GEODE_RESULTSET_H_
A SelectResultsIterator is obtained from a ResultSet or StructSet and is used to iterate over the ite...
Definition: SelectResultsIterator.hpp:47
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
A SelectResults is obtained by executing a Query on the server.
Definition: SelectResults.hpp:44
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:52
A ResultSet may be obtained after executing a Query which is obtained from a QueryService which in tu...
Definition: ResultSet.hpp:45
This namespace contains all the Geode C++ API classes, enumerations and globals.
virtual ~ResultSet()
Destructor.
Definition: ResultSet.hpp:81

Pivotal GemFire C++ Cache API Documentation