ResourcePermission
instead@Deprecated public class QueryOperationContext extends OperationContext
OperationContext.OperationCode
Constructor and Description |
---|
QueryOperationContext(String queryString,
Set regionNames,
boolean postOperation)
Deprecated.
Constructor for the query operation.
|
QueryOperationContext(String queryString,
Set regionNames,
boolean postOperation,
Object[] queryParams)
Deprecated.
Constructor for the query operation.
|
Modifier and Type | Method and Description |
---|---|
OperationContext.OperationCode |
getOperationCode()
Deprecated.
Return the operation associated with the
OperationContext object. |
String |
getQuery()
Deprecated.
Return the query string of this query operation.
|
Object[] |
getQueryParams()
Deprecated.
Get the bind parameters for the query
|
Object |
getQueryResult()
Deprecated.
Get the result of the query execution.
|
Set |
getRegionNames()
Deprecated.
Get the names of regions that are part of the query string.
|
boolean |
isPostOperation()
Deprecated.
True if the context is for post-operation.
|
void |
modifyQuery(String query)
Deprecated.
Modify the query string.
|
void |
setPostOperation()
Deprecated.
Set the post-operation flag to true.
|
void |
setQueryResult(Object queryResult)
Deprecated.
Set the result of query operation.
|
void |
setRegionNames(Set regionNames)
Deprecated.
Set the names of regions that are part of the query string.
|
isClientUpdate, isClientUpdate
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 flagpublic QueryOperationContext(String queryString, Set regionNames, boolean postOperation, Object[] queryParams)
queryString
- the query string for this operationregionNames
- names of regions that are part of the query stringpostOperation
- true to set the post-operation flagqueryParams
- the bind parameters for the querypublic OperationContext.OperationCode getOperationCode()
OperationContext
object.getOperationCode
in class OperationContext
OperationCode
of this operationpublic boolean isPostOperation()
isPostOperation
in class OperationContext
public 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.public Object[] getQueryParams()