com.gemstone.gemfire.cache.operations
Class ExecuteCQOperationContext
java.lang.Object
com.gemstone.gemfire.cache.operations.OperationContext
com.gemstone.gemfire.cache.operations.QueryOperationContext
com.gemstone.gemfire.cache.operations.ExecuteCQOperationContext
- Direct Known Subclasses:
- CloseCQOperationContext, StopCQOperationContext
public class ExecuteCQOperationContext
- extends QueryOperationContext
Encapsulates a continuous query registeration operation for both the
pre-operation and post-operation cases.
- Since:
- 5.5
ExecuteCQOperationContext
public ExecuteCQOperationContext(String cqName,
String queryString,
Set regionNames,
boolean postOperation)
- 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
getOperationCode
public OperationContext.OperationCode getOperationCode()
- Return the operation associated with the
OperationContext
object.
- Overrides:
getOperationCode in class QueryOperationContext
- Returns:
- the
OperationCode of this operation
getName
public String getName()
- Return the name of the continuous query.
Copyright © 1997-2011 VMware, Inc. All rights reserved.