Class ExecuteCQOperationContext
java.lang.Object
org.apache.geode.cache.operations.OperationContext
org.apache.geode.cache.operations.QueryOperationContext
org.apache.geode.cache.operations.ExecuteCQOperationContext
- Direct Known Subclasses:
CloseCQOperationContext,StopCQOperationContext
Deprecated.
Encapsulates a continuous query registeration operation for both the pre-operation and
post-operation cases.
- Since:
- GemFire 5.5
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.geode.cache.operations.OperationContext
OperationContext.OperationCode -
Constructor Summary
ConstructorsConstructorDescriptionExecuteCQOperationContext(String cqName, String queryString, Set regionNames, boolean postOperation) Deprecated.Constructor for the EXECUTE_CQ operation. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Deprecated.Return the name of the continuous query.Deprecated.Return the operation associated with theOperationContextobject.Methods inherited from class org.apache.geode.cache.operations.QueryOperationContext
getQuery, getQueryParams, getQueryResult, getRegionNames, isPostOperation, modifyQuery, setPostOperation, setQueryResult, setRegionNamesMethods inherited from class org.apache.geode.cache.operations.OperationContext
isClientUpdate, isClientUpdate
-
Constructor Details
-
ExecuteCQOperationContext
public ExecuteCQOperationContext(String cqName, String queryString, Set regionNames, boolean postOperation) Deprecated.Constructor for the EXECUTE_CQ operation.- Parameters:
cqName- the name of the continuous query being registeredqueryString- the query string for this operationregionNames- names of regions that are part of the query stringpostOperation- true to set the post-operation flag
-
-
Method Details
-
getOperationCode
Deprecated.Return the operation associated with theOperationContextobject.- Overrides:
getOperationCodein classQueryOperationContext- Returns:
- the
OperationCodeof this operation
-
getName
Deprecated.Return the name of the continuous query.- Returns:
- the name of the continuous query
-
ResourcePermissioninstead