|
GemFire 5.7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.cache.operations.OperationContext
com.gemstone.gemfire.cache.operations.QueryOperationContext
public class QueryOperationContext
Encapsulates a cache query operation for both the pre-operation and post-operation cases.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.gemstone.gemfire.cache.operations.OperationContext |
|---|
OperationContext.OperationCode |
| Constructor Summary | |
|---|---|
QueryOperationContext(String queryString,
Set regionNames,
boolean postOperation)
Constructor for the query operation. |
|
| Method Summary | |
|---|---|
OperationContext.OperationCode |
getOperationCode()
Return the operation associated with the OperationContext
object. |
String |
getQuery()
Return the query string of this query operation. |
Object |
getQueryResult()
Get the result of the query execution. |
Set |
getRegionNames()
Get the names of regions that are part of the query string. |
boolean |
isPostOperation()
True if the context is for post-operation. |
void |
modifyQuery(String query)
Modify the query string. |
void |
setPostOperation()
Set the post-operation flag to true. |
void |
setQueryResult(Object queryResult)
Set the result of query operation. |
void |
setRegionNames(Set regionNames)
Set the names of regions that are part of the query string. |
| Methods inherited from class com.gemstone.gemfire.cache.operations.OperationContext |
|---|
isClientUpdate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryOperationContext(String queryString,
Set regionNames,
boolean postOperation)
queryString - 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 |
|---|
public OperationContext.OperationCode getOperationCode()
OperationContext
object.
getOperationCode in class OperationContextOperationCode of this operationpublic boolean isPostOperation()
isPostOperation in class OperationContextpublic void setPostOperation()
public String getQuery()
public void modifyQuery(String query)
query - the new query string for this query.public Set getRegionNames()
public void setRegionNames(Set regionNames)
regionNames - names of regions being queriedpublic Object getQueryResult()
public void setQueryResult(Object queryResult)
queryResult - the new result of the query operation.
|
GemFire 5.7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||