/export/rook1/users/build/gfcppsancout64/product/include/gfcpp/Query.hpp

Go to the documentation of this file.
00001 #ifndef __GEMFIRE_QUERY_H__
00002 #define __GEMFIRE_QUERY_H__
00003 /*=========================================================================
00004  * (c) Copyright 2002-2006, GemStone Systems, Inc. All Rights Reserved.
00005  * 1260 NW Waterhouse Ave., Suite 200,  Beaverton, OR 97006
00006  *========================================================================
00007  */
00008 
00009 #include "gfcpp_globals.hpp"
00010 #include "gf_types.hpp"
00011 
00012 #include "SelectResults.hpp"
00013 
00018 namespace gemfire
00019 {
00020 
00031 class CPPCACHE_EXPORT Query : public SharedBase
00032 {
00033 
00034 public:
00035 
00050   virtual SelectResultsPtr execute(uint32_t timeout = DEFAULT_QUERY_RESPONSE_TIMEOUT) = 0;
00051   
00068   virtual SelectResultsPtr execute(CacheableVectorPtr paramList, uint32_t timeout = DEFAULT_QUERY_RESPONSE_TIMEOUT) = 0;
00074   virtual const char * getQueryString() const = 0;
00075 
00081   virtual void compile() = 0;
00082 
00089   virtual bool isCompiled() = 0;
00090 
00091 };
00092 
00093 } //namespace gemfire
00094 
00095 #endif //ifndef __GEMFIRE_QUERY_H__

GemFire C++ Cache API Documentation