Pivotal GemFire Native .NET Reference  10.0.5
Apache::Geode::Client::CqEvent< TKey, TResult > Class Template Reference

This class encapsulates events that occur for cq. More...

Public Member Functions

CqOperation getBaseOperation ()
 Get the operation on the base operation that triggered this event. More...
 
CqQuery< TKey, TResult > ^ getCq ()
 Return the cqquery this event occurred in. More...
 
TKey getKey ()
 Get the key relating to the event. More...
 
TResult getNewValue ()
 Get the new value of the modification. More...
 
CqOperation getQueryOperation ()
 Get the operation on the query operation that triggered this event. More...
 

Detailed Description

template<class TKey, class TResult>
class Apache::Geode::Client::CqEvent< TKey, TResult >

This class encapsulates events that occur for cq.

Member Function Documentation

◆ getBaseOperation()

template<class TKey , class TResult >
CqOperation Apache::Geode::Client::CqEvent< TKey, TResult >::getBaseOperation ( )

Get the operation on the base operation that triggered this event.

◆ getCq()

template<class TKey , class TResult >
CqQuery<TKey, TResult> ^ Apache::Geode::Client::CqEvent< TKey, TResult >::getCq ( )

Return the cqquery this event occurred in.

◆ getKey()

template<class TKey , class TResult >
TKey Apache::Geode::Client::CqEvent< TKey, TResult >::getKey ( )

Get the key relating to the event.

In case of REGION_CLEAR and REGION_INVALIDATE operation, the key will be null.

◆ getNewValue()

template<class TKey , class TResult >
TResult Apache::Geode::Client::CqEvent< TKey, TResult >::getNewValue ( )

Get the new value of the modification.

If there is no new value returns null, this will happen during delete operation.

◆ getQueryOperation()

template<class TKey , class TResult >
CqOperation Apache::Geode::Client::CqEvent< TKey, TResult >::getQueryOperation ( )

Get the operation on the query operation that triggered this event.


Apache Geode C++ Cache .NET API Documentation