gemfire::QueryService Class Reference

Inherits gemfire::SharedBase.


Detailed Description

QueryService is the class obtained from a Cache.

A Query is created from a QueryService and executed on the server returning a SelectResults which can be either a ResultSet or a StructSet.

Public Member Functions

virtual QueryPtr newQuery (const char *querystr)=0
 Get a new Query with the specified query string.
void preserveSB () const
 Atomically increment reference count.
int32_t refCount ()
 
Returns:
the reference count

void releaseSB () const
 Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.


Member Function Documentation

virtual QueryPtr gemfire::QueryService::newQuery ( const char *  querystr  )  [pure virtual]

Get a new Query with the specified query string.

Parameters:
querystr The query string with which to create a new Query.
Returns:
A smart pointer to the Query.

void gemfire::SharedBase::preserveSB (  )  const [inherited]

Atomically increment reference count.

int32_t gemfire::SharedBase::refCount (  )  [inline, inherited]

Returns:
the reference count

void gemfire::SharedBase::releaseSB (  )  const [inherited]

Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.


GemFire C++ Cache API Documentation