E:/gfcppsancout/product/include/gfcpp/QueryService.hpp

Go to the documentation of this file.
00001 #ifndef __GEMFIRE_QUERYSERVICE_H__
00002 #define __GEMFIRE_QUERYSERVICE_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 #include "ExceptionTypes.hpp"
00012 #include "CqQuery.hpp"
00013 #include "CqAttributes.hpp"
00014 #include "CqServiceStatistics.hpp"
00015 
00016 #include "Query.hpp"
00017 
00022 namespace gemfire
00023 {
00024 
00031 class CPPCACHE_EXPORT QueryService : public SharedBase
00032 {
00033 
00034 public:
00035 
00042   virtual QueryPtr newQuery(const char * querystr) = 0;
00043 
00074   virtual CqQueryPtr newCq(const char* name, const char * querystr, CqAttributesPtr& cqAttr, bool isDurable=false) = 0;
00104   virtual CqQueryPtr newCq(const char * querystr, CqAttributesPtr& cqAttr, bool isDurable=false) = 0;
00111   virtual void closeCqs()=0;
00117   virtual void getCqs(VectorOfCqQuery& vec)=0;
00124   virtual CqQueryPtr getCq(const char* name)=0;
00130   virtual void executeCqs()=0;
00136   virtual void stopCqs()=0;
00143   virtual CqServiceStatisticsPtr getCqServiceStatistics()=0;
00144 
00150   virtual CacheableArrayListPtr getAllDurableCqsFromServer() = 0;
00151 
00152 };
00153 
00154 } //namespace gemfire
00155 
00156 #endif //ifndef __GEMFIRE_QUERYSERVICE_H__

GemFire C++ Cache API Documentation