public class ClientCQImpl extends CqQueryImpl implements org.apache.geode.cache.query.internal.cq.ClientCQ
CqQueryImpl.TestHookcqName, cqService, cqState, isDurable, query, queryString, regionName, stats, testHook| Constructor and Description |
|---|
ClientCQImpl(CqServiceImpl cqService,
java.lang.String cqName,
java.lang.String queryString,
org.apache.geode.cache.query.CqAttributes cqAttributes,
ServerCQProxyImpl serverProxy,
boolean isDurable) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup()
Clears the resource used by CQ.
|
void |
close() |
void |
close(boolean sendRequestToServer) |
void |
createOn(org.apache.geode.cache.client.internal.Connection conn,
boolean isDurable) |
void |
execute()
Start or resume executing the query.
|
<E> org.apache.geode.cache.query.CqResults<E> |
executeWithInitialResults()
Start or resume executing the query.
|
org.apache.geode.cache.query.CqAttributes |
getCqAttributes() |
org.apache.geode.cache.query.CqAttributesMutator |
getCqAttributesMutator() |
org.apache.geode.cache.query.CqListener[] |
getCqListeners() |
java.lang.String |
getServerCqName() |
void |
setProxyCache(org.apache.geode.cache.client.internal.ProxyCache proxyCache) |
void |
stop()
Stop or pause executing the query.
|
getCqBaseRegion, getName, getQuery, getQueryString, getRegionName, getState, getStatistics, getVsdStats, isClosed, isClosing, isDurable, isRunning, isStopped, setCqService, setCqState, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ClientCQImpl(CqServiceImpl cqService, java.lang.String cqName, java.lang.String queryString, org.apache.geode.cache.query.CqAttributes cqAttributes, ServerCQProxyImpl serverProxy, boolean isDurable)
public java.lang.String getServerCqName()
getServerCqName in interface org.apache.geode.cache.query.internal.cq.InternalCqQuerygetServerCqName in class CqQueryImplpublic void close()
throws org.apache.geode.cache.query.CqClosedException,
org.apache.geode.cache.query.CqException
close in interface org.apache.geode.cache.query.CqQueryclose in interface org.apache.geode.cache.query.internal.cq.InternalCqQueryorg.apache.geode.cache.query.CqClosedExceptionorg.apache.geode.cache.query.CqExceptionpublic void close(boolean sendRequestToServer)
throws org.apache.geode.cache.query.CqClosedException,
org.apache.geode.cache.query.CqException
close in interface org.apache.geode.cache.query.internal.cq.ClientCQclose in interface org.apache.geode.cache.query.internal.cq.InternalCqQueryorg.apache.geode.cache.query.CqClosedExceptionorg.apache.geode.cache.query.CqExceptionprotected void cleanup()
throws org.apache.geode.cache.query.CqException
cleanup in class CqQueryImplorg.apache.geode.cache.query.CqExceptionpublic org.apache.geode.cache.query.CqAttributes getCqAttributes()
getCqAttributes in interface org.apache.geode.cache.query.CqQuerypublic org.apache.geode.cache.query.CqListener[] getCqListeners()
public void execute()
throws org.apache.geode.cache.query.CqClosedException,
org.apache.geode.cache.query.RegionNotFoundException,
org.apache.geode.cache.query.CqException
execute in interface org.apache.geode.cache.query.CqQueryorg.apache.geode.cache.query.CqClosedExceptionorg.apache.geode.cache.query.RegionNotFoundExceptionorg.apache.geode.cache.query.CqExceptionpublic <E> org.apache.geode.cache.query.CqResults<E> executeWithInitialResults()
throws org.apache.geode.cache.query.CqClosedException,
org.apache.geode.cache.query.RegionNotFoundException,
org.apache.geode.cache.query.CqException
executeWithInitialResults in interface org.apache.geode.cache.query.CqQueryorg.apache.geode.cache.query.CqClosedExceptionorg.apache.geode.cache.query.RegionNotFoundExceptionorg.apache.geode.cache.query.CqExceptionpublic void stop()
throws org.apache.geode.cache.query.CqClosedException,
org.apache.geode.cache.query.CqException
stop in interface org.apache.geode.cache.query.CqQuerystop in interface org.apache.geode.cache.query.internal.cq.InternalCqQueryorg.apache.geode.cache.query.CqClosedExceptionorg.apache.geode.cache.query.CqExceptionpublic org.apache.geode.cache.query.CqAttributesMutator getCqAttributesMutator()
getCqAttributesMutator in interface org.apache.geode.cache.query.CqQuerypublic void setProxyCache(org.apache.geode.cache.client.internal.ProxyCache proxyCache)
setProxyCache in interface org.apache.geode.cache.query.internal.cq.ClientCQpublic void createOn(org.apache.geode.cache.client.internal.Connection conn,
boolean isDurable)
createOn in interface org.apache.geode.cache.query.internal.cq.ClientCQ