public class CqEventImpl
extends java.lang.Object
implements org.apache.geode.cache.query.CqEvent
| Modifier and Type | Method and Description |
|---|---|
org.apache.geode.cache.Operation |
getBaseOperation()
Get the operation on the base region that triggered this event.
|
org.apache.geode.cache.query.CqQuery |
getCq() |
byte[] |
getDeltaValue() |
org.apache.geode.internal.cache.EventID |
getEventID() |
java.lang.Object |
getKey()
Get the key relating to the event.
|
java.lang.Object |
getNewValue()
Get the new value of the modification.
|
org.apache.geode.cache.Operation |
getQueryOperation()
Get the the operation on the query results.
|
org.apache.geode.cache.client.internal.QueueManager |
getQueueManager() |
java.lang.Throwable |
getThrowable()
If an error occurred, return the Throwable, otherwise return null.
|
void |
setException()
Checks if the Cq Event is for an exception.
|
void |
setException(java.lang.String exceptionText) |
java.lang.String |
toString() |
public org.apache.geode.cache.query.CqQuery getCq()
getCq in interface org.apache.geode.cache.query.CqEventpublic org.apache.geode.cache.Operation getBaseOperation()
getBaseOperation in interface org.apache.geode.cache.query.CqEventpublic org.apache.geode.cache.Operation getQueryOperation()
getQueryOperation in interface org.apache.geode.cache.query.CqEventpublic java.lang.Object getKey()
getKey in interface org.apache.geode.cache.query.CqEventpublic java.lang.Object getNewValue()
getNewValue in interface org.apache.geode.cache.query.CqEventpublic java.lang.Throwable getThrowable()
onError method of the CqListener instead of the
onEvent method.getThrowable in interface org.apache.geode.cache.query.CqEventpublic byte[] getDeltaValue()
getDeltaValue in interface org.apache.geode.cache.query.CqEventpublic void setException()
public void setException(java.lang.String exceptionText)
public org.apache.geode.cache.client.internal.QueueManager getQueueManager()
public org.apache.geode.internal.cache.EventID getEventID()
public java.lang.String toString()
toString in class java.lang.Object