VMware GemFire Native C++ Reference  9.1
StructSet.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef GEODE_STRUCTSET_H_
4 #define GEODE_STRUCTSET_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 
26 #include "CqResults.hpp"
27 #include "Struct.hpp"
28 
30 
35 namespace apache {
36 namespace geode {
37 namespace client {
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 
77  virtual int32_t getFieldIndex(const char* fieldname) = 0;
78 
86  virtual const char* getFieldName(int32_t index) = 0;
87 
94  virtual SelectResultsIterator getIterator() = 0;
95 
99  virtual ~StructSet(){};
100 };
101 } // namespace client
102 } // namespace geode
103 } // namespace apache
104 
105 #endif // GEODE_STRUCTSET_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 StructSet may be obtained after executing a Query which is obtained from a QueryService which in tu...
Definition: StructSet.hpp:45
A CqResults is obtained by executing a Query on the server.
Definition: CqResults.hpp:43
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:52
virtual ~StructSet()
Destructor.
Definition: StructSet.hpp:99
This namespace contains all the Geode C++ API classes, enumerations and globals.

Pivotal GemFire C++ Cache API Documentation