VMware VMware GemFire Native .NET Reference 10.4.3
Loading...
Searching...
No Matches
Apache::Geode::Client::CqEvent< TKey, TResult > Class Template Reference

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

#include <CqEvent.hpp>

Public Member Functions

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

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