Pivotal GemFire Native Client Cache Reference  9.0.6
StructSet.hpp
Go to the documentation of this file.
1 #ifndef __GEMFIRE_STRUCTSET_H__
2 #define __GEMFIRE_STRUCTSET_H__
3 /*=========================================================================
4  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
5  * This product is protected by U.S. and international copyright
6  * and intellectual property laws. Pivotal products are covered by
7  * more patents listed at http://www.pivotal.io/patents.
8  *========================================================================
9  */
10 
11 #include "gfcpp_globals.hpp"
12 #include "gf_types.hpp"
13 
14 #include "CqResults.hpp"
15 #include "Struct.hpp"
16 
18 
23 namespace gemfire
24 {
33 {
34 
35 public:
36 
42  virtual bool isModifiable() const = 0;
43 
49  virtual int32_t size() const = 0;
50 
58  virtual const SerializablePtr operator [] (int32_t index) const = 0;
59 
67  virtual int32_t getFieldIndex(const char * fieldname) = 0;
68 
75  virtual const char * getFieldName(int32_t index) = 0;
76 
82  virtual SelectResultsIterator getIterator() = 0;
83 
87  virtual ~StructSet() {};
88 
89 };
90 
91 } //namespace gemfire
92 
93 #endif //ifndef __GEMFIRE_STRUCTSET_H__
A CqResults is obtained by executing a Query on the server.
Definition: CqResults.hpp:30
A StructSet may be obtained after executing a Query which is obtained from a QueryService which in tu...
Definition: StructSet.hpp:32
virtual ~StructSet()
Destructor.
Definition: StructSet.hpp:87
A SelectResultsIterator is obtained from a ResultSet or StructSet and is used to iterate over the ite...
Definition: SelectResultsIterator.hpp:34
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:35

GemFire C++ Cache API Documentation