com.gemstone.gemfire.cache.operations
Class CloseCQOperationContext
java.lang.Object
com.gemstone.gemfire.cache.operations.OperationContext
com.gemstone.gemfire.cache.operations.QueryOperationContext
com.gemstone.gemfire.cache.operations.ExecuteCQOperationContext
com.gemstone.gemfire.cache.operations.CloseCQOperationContext
public class CloseCQOperationContext
- extends ExecuteCQOperationContext
Encapsulates a OperationContext.OperationCode.CLOSE_CQ operation for the pre-operation
case.
- Since:
- 5.5
CloseCQOperationContext
public CloseCQOperationContext(String cqName,
String queryString,
Set regionNames)
- Constructor for the CLOSE_CQ operation.
- Parameters:
cqName - the name of the continuous query being closedqueryString - the query string for this operationregionNames - names of regions that are part of the query string
getOperationCode
public OperationContext.OperationCode getOperationCode()
- Return the operation associated with the
OperationContext
object.
- Overrides:
getOperationCode in class ExecuteCQOperationContext
- Returns:
OperationCode.CLOSE_CQ.
isPostOperation
public boolean isPostOperation()
- True if the context is for post-operation.
- Overrides:
isPostOperation in class QueryOperationContext
Copyright © 2002-2009 GemStone Systems, Inc. All Rights Reserved.