VMware GemFire Native C++ Reference  9.1
SelectResults.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef GEODE_SELECTRESULTS_H_
4 #define GEODE_SELECTRESULTS_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 
27 #include "geode_globals.hpp"
28 #include "geode_types.hpp"
29 #include "ExceptionTypes.hpp"
30 #include "Serializable.hpp"
31 #include "CacheableBuiltins.hpp"
32 namespace apache {
33 namespace geode {
34 namespace client {
35 
36 class SelectResultsIterator;
37 
45  public:
51  virtual bool isModifiable() const = 0;
52 
58  virtual int32_t size() const = 0;
59 
67  virtual const SerializablePtr operator[](int32_t index) const = 0;
68 
75  virtual SelectResultsIterator getIterator() = 0;
76 
79 
81  virtual Iterator begin() const = 0;
82 
84  virtual Iterator end() const = 0;
85 };
86 } // namespace client
87 } // namespace geode
88 } // namespace apache
89 
90 #endif // GEODE_SELECTRESULTS_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
Interface of an iterator for VectorT.
Definition: VectorT.hpp:43
CacheableVector::Iterator Iterator
Interface of an iterator for SelectResults.
Definition: SelectResults.hpp:78
Contains generic template definitions for Cacheable types and instantiations for built-in types...
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
This abstract base class is the base class of all user objects that have the shared capability of ref...
Definition: SharedBase.hpp:40
This namespace contains all the Geode C++ API classes, enumerations and globals.

Pivotal GemFire C++ Cache API Documentation