GemFire 6.6.3

com.gemstone.gemfire.cache.operations
Class ExecuteCQOperationContext

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
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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.gemstone.gemfire.cache.operations.OperationContext
OperationContext.OperationCode
 
Constructor Summary
ExecuteCQOperationContext(String cqName, String queryString, Set regionNames, boolean postOperation)
          Constructor for the EXECUTE_CQ operation.
 
Method Summary
 String getName()
          Return the name of the continuous query.
 OperationContext.OperationCode getOperationCode()
          Return the operation associated with the OperationContext object.
 
Methods inherited from class com.gemstone.gemfire.cache.operations.QueryOperationContext
getQuery, getQueryResult, getRegionNames, isPostOperation, 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

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 registered
queryString - the query string for this operation
regionNames - names of regions that are part of the query string
postOperation - true to set the post-operation flag
Method Detail

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.


GemFire 6.6.3

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