GemStone::GemFire::Cache::Generic::QueryService< TKey, TResult > Class Template Reference

Inherits GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::QueryService >.


Detailed Description

template<class TKey, class TResult>
class GemStone::GemFire::Cache::Generic::QueryService< TKey, TResult >

Provides a query service.

Public Member Functions

void CloseCqs ()
void ExecuteCqs ()
System::Collections::Generic::List
< String^ >^ 
GetAllDurableCqsFromServer ()
CqQuery< TKey, TResult >^ GetCq (String^ name)
array< CqQuery< TKey,
TResult >^>^ 
GetCqs ()
CqServiceStatisticsGetCqStatistics ()
CqQuery< TKey, TResult >^ NewCq (String^ name, String^ query, CqAttributes< TKey, TResult >^cqAttr, bool isDurable)
CqQuery< TKey, TResult >^ NewCq (String^ query, CqAttributes< TKey, TResult >^cqAttr, bool isDurable)
Query< TResult >^ NewQuery (String^ query)
void StopCqs ()

Protected Member Functions

void _SetNativePtr (gemfire::QueryService *nativeptr)
void AssignPtr (gemfire::QueryService *nativeptr)
void InternalCleanup ()
void SetPtr (gemfire::QueryService *nativeptr)

Member Function Documentation

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::QueryService >::_SetNativePtr ( gemfire::QueryService *  nativeptr  )  [inline, protected, inherited]

Set the native pointer to the new object without doing a preserveSB(). DO NOT USE UNLESS YOU KNOW WHAT YOU ARE DOING.

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::QueryService >::AssignPtr ( gemfire::QueryService *  nativeptr  )  [inline, protected, inherited]

Used to assign the native pointer to a new object.

Note the order of preserveSB() and releaseSB(). This handles the corner case when m_nativeptr is same as nativeptr.

template<class TKey, class TResult>
void GemStone::GemFire::Cache::Generic::QueryService< TKey, TResult >::CloseCqs (  ) 

Close all CqQuery on this client.

template<class TKey, class TResult>
void GemStone::GemFire::Cache::Generic::QueryService< TKey, TResult >::ExecuteCqs (  ) 

Get the CqQuery with the given name on this client.

template<class TKey, class TResult>
System::Collections::Generic::List<String^> ^ GemStone::GemFire::Cache::Generic::QueryService< TKey, TResult >::GetAllDurableCqsFromServer (  ) 

Get all durableCq nanes from server for this client.

template<class TKey, class TResult>
CqQuery<TKey, TResult> ^ GemStone::GemFire::Cache::Generic::QueryService< TKey, TResult >::GetCq ( String^   name  ) 

Get the CqQuery with the given name on this client.

template<class TKey, class TResult>
array<CqQuery<TKey, TResult>^> ^ GemStone::GemFire::Cache::Generic::QueryService< TKey, TResult >::GetCqs (  ) 

Get all CqQuery on this client.

template<class TKey, class TResult>
CqServiceStatistics ^ GemStone::GemFire::Cache::Generic::QueryService< TKey, TResult >::GetCqStatistics (  ) 

Get CqServiceStatistics on this client.

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::QueryService >::InternalCleanup (  )  [inline, protected, inherited]

Internal cleanup function invoked by dispose/finalizer.

template<class TKey, class TResult>
CqQuery<TKey, TResult> ^ GemStone::GemFire::Cache::Generic::QueryService< TKey, TResult >::NewCq ( String^   name,
String^   query,
CqAttributes< TKey, TResult >^  cqAttr,
bool  isDurable 
)

Get a CqQuery object to enable continuous querying.

template<class TKey, class TResult>
CqQuery<TKey, TResult> ^ GemStone::GemFire::Cache::Generic::QueryService< TKey, TResult >::NewCq ( String^   query,
CqAttributes< TKey, TResult >^  cqAttr,
bool  isDurable 
)

Get a CqQuery object to enable continuous querying.

template<class TKey, class TResult>
Query<TResult> ^ GemStone::GemFire::Cache::Generic::QueryService< TKey, TResult >::NewQuery ( String^   query  ) 

Get a Query object to enable querying.

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::QueryService >::SetPtr ( gemfire::QueryService *  nativeptr  )  [inline, protected, inherited]

Used to set the native pointer to a new object. This should only be used when you know that the underlying object is NULL.

template<class TKey, class TResult>
void GemStone::GemFire::Cache::Generic::QueryService< TKey, TResult >::StopCqs (  ) 

Stop all CqQuery on this client.


GemFire C++ Cache .NET API Documentation