GemFire 7.0.1

com.gemstone.gemfire.cache.operations
Class CloseCQOperationContext

java.lang.Object
  extended by com.gemstone.gemfire.cache.operations.OperationContext
      extended by com.gemstone.gemfire.cache.operations.QueryOperationContext
          extended by com.gemstone.gemfire.cache.operations.ExecuteCQOperationContext
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.gemstone.gemfire.cache.operations.OperationContext
OperationContext.OperationCode
 
Constructor Summary
CloseCQOperationContext(String cqName, String queryString, Set regionNames)
          Constructor for the CLOSE_CQ operation.
 
Method Summary
 OperationContext.OperationCode getOperationCode()
          Return the operation associated with the OperationContext object.
 boolean isPostOperation()
          True if the context is for post-operation.
 
Methods inherited from class com.gemstone.gemfire.cache.operations.ExecuteCQOperationContext
getName
 
Methods inherited from class com.gemstone.gemfire.cache.operations.QueryOperationContext
getQuery, getQueryResult, getRegionNames, modifyQuery, setPostOperation, setQueryResult, setRegionNames
 
Methods inherited from class com.gemstone.gemfire.cache.operations.OperationContext
isClientUpdate, isClientUpdate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloseCQOperationContext

public CloseCQOperationContext(String cqName,
                               String queryString,
                               Set regionNames)
Constructor for the CLOSE_CQ operation.

Parameters:
cqName - the name of the continuous query being closed
queryString - the query string for this operation
regionNames - names of regions that are part of the query string
Method Detail

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

GemFire 7.0.1

Copyright © 1997-2013 VMware, Inc. All rights reserved.