VMware GemFire Java API Reference
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 public class ExecuteCQOperationContext extends QueryOperationContext
Deprecated.since Geode1.0, useResourcePermissioninsteadEncapsulates 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
Constructors Constructor Description ExecuteCQOperationContext(java.lang.String cqName, java.lang.String queryString, java.util.Set regionNames, boolean postOperation)Deprecated.Constructor for the EXECUTE_CQ operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetName()Deprecated.Return the name of the continuous query.OperationContext.OperationCodegetOperationCode()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, setRegionNames
-
Methods inherited from class org.apache.geode.cache.operations.OperationContext
isClientUpdate, isClientUpdate
-
-
-
-
Constructor Detail
-
ExecuteCQOperationContext
public ExecuteCQOperationContext(java.lang.String cqName, java.lang.String queryString, java.util.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 Detail
-
getOperationCode
public OperationContext.OperationCode getOperationCode()
Deprecated.Return the operation associated with theOperationContextobject.- Overrides:
getOperationCodein classQueryOperationContext- Returns:
- the
OperationCodeof this operation
-
getName
public java.lang.String getName()
Deprecated.Return the name of the continuous query.- Returns:
- the name of the continuous query
-
-