00001 #ifndef __GEMFIRE_RESULTSET_H__ 00002 #define __GEMFIRE_RESULTSET_H__ 00003 /*========================================================================= 00004 * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved. 00005 * This product is protected by U.S. and international copyright 00006 * and intellectual property laws. Pivotal products are covered by 00007 * more patents listed at http://www.pivotal.io/patents. 00008 *======================================================================== 00009 */ 00010 00011 #include "gfcpp_globals.hpp" 00012 #include "gf_types.hpp" 00013 #include "ExceptionTypes.hpp" 00014 00015 #include "SelectResults.hpp" 00016 #include "VectorT.hpp" 00017 00018 #include "SelectResultsIterator.hpp" 00019 00024 namespace gemfire 00025 { 00026 00032 class CPPCACHE_EXPORT ResultSet : public SelectResults 00033 { 00034 00035 public: 00036 00042 virtual bool isModifiable() const = 0; 00043 00049 virtual int32_t size() const = 0; 00050 00058 virtual const SerializablePtr operator [] (int32_t index) const = 0; 00059 00065 virtual SelectResultsIterator getIterator() = 0; 00066 00070 virtual ~ResultSet() {}; 00071 00072 }; 00073 00074 } //namespace gemfire 00075 00076 #endif //ifndef __GEMFIRE_RESULTSET_H__