Pivotal GemFire Native Client Cache Reference  9.0.6
SelectResults.hpp
Go to the documentation of this file.
1 #ifndef __GEMFIRE_SELECTRESULTS_H__
2 #define __GEMFIRE_SELECTRESULTS_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 
15 #include "gfcpp_globals.hpp"
16 #include "gf_types.hpp"
17 #include "ExceptionTypes.hpp"
18 #include "Serializable.hpp"
19 #include "CacheableBuiltins.hpp"
20 namespace gemfire
21 {
22 
23 class SelectResultsIterator ;
24 
32 {
33 
34 public:
35 
41  virtual bool isModifiable() const = 0;
42 
48  virtual int32_t size() const = 0;
49 
57  virtual const SerializablePtr operator [] (int32_t index) const = 0;
58 
64  virtual SelectResultsIterator getIterator() = 0;
65 
68 
70  virtual Iterator begin( ) const = 0;
71 
73  virtual Iterator end( ) const = 0;
74 };
75 
76 } //namespace gemfire
77 
78 #endif //ifndef __GEMFIRE_SELECTRESULTS_H__
A SelectResults is obtained by executing a Query on the server.
Definition: SelectResults.hpp:31
Contains generic template definitions for Cacheable types and instantiations for built-in types...
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
This abstract base class is the base class of all user objects that have the shared capability of ref...
Definition: SharedBase.hpp:31
Interface of an iterator for VectorT.
Definition: VectorT.hpp:32
CacheableVector::Iterator Iterator
Interface of an iterator for SelectResults.
Definition: SelectResults.hpp:67
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:35

GemFire C++ Cache API Documentation