org.apache.geode.cache.operations

## Class ExecuteFunctionOperationContext

- java.lang.Object
- - org.apache.geode.cache.operations.OperationContext
  - - org.apache.geode.cache.operations.ExecuteFunctionOperationContext

- Deprecated.
  since Geode1.0, use `ResourcePermission` instead

      public class ExecuteFunctionOperationContext
      extends OperationContext

  OperationContext for Function execution operation. This is for the pre-operation case
  Since:
    GemFire 6.0

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.geode.cache.operations.OperationContext

      `OperationContext.OperationCode`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExecuteFunctionOperationContext(java.lang.String functionName, java.lang.String regionName, java.util.Set keySet, java.lang.Object arguments, boolean optimizeForWrite, boolean isPostOperation)` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `getArguments()` Deprecated.
    `java.lang.String` | `getFunctionId()` Deprecated.
    `java.util.Set` | `getKeySet()` Deprecated.
    `OperationContext.OperationCode` | `getOperationCode()` Deprecated. Return the operation code associated with the `OperationContext` object.
    `java.lang.String` | `getRegionName()` Deprecated.
    `java.lang.Object` | `getResult()` Deprecated.
    `boolean` | `isOptimizeForWrite()` Deprecated.
    `boolean` | `isPostOperation()` Deprecated. True if the context is for post-operation.
    `void` | `setIsPostOperation(boolean isPostOperation)` Deprecated.
    `void` | `setResult(java.lang.Object oneResult)` Deprecated.

    - ### Methods inherited from class org.apache.geode.cache.operations.OperationContext

      `isClientUpdate, isClientUpdate`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ExecuteFunctionOperationContext

          public ExecuteFunctionOperationContext(java.lang.String functionName,
                                                 java.lang.String regionName,
                                                 java.util.Set keySet,
                                                 java.lang.Object arguments,
                                                 boolean optimizeForWrite,
                                                 boolean isPostOperation)

      Deprecated.

  - ### Method Detail

    - #### getOperationCode

          public OperationContext.OperationCode getOperationCode()

      Deprecated.
      Description copied from class: `OperationContext`
      Return the operation code associated with the `OperationContext` object.
      Specified by:
        `getOperationCode` in class `OperationContext`

    - #### isPostOperation

          public boolean isPostOperation()

      Deprecated.
      Description copied from class: `OperationContext`
      True if the context is for post-operation. The `OperationContext` interface encapsulates the data both before the operation is performed and after the operation is complete. For example, for a query operation the `Query` object as well as the list of region names referenced by the query would be part of the context object in the pre-processing stage. In the post-processing stage the context object shall contain results of the query.
      Specified by:
        `isPostOperation` in class `OperationContext`

    - #### getFunctionId

          public java.lang.String getFunctionId()

      Deprecated.

    - #### getRegionName

          public java.lang.String getRegionName()

      Deprecated.

    - #### isOptimizeForWrite

          public boolean isOptimizeForWrite()

      Deprecated.

    - #### getResult

          public java.lang.Object getResult()

      Deprecated.

    - #### getKeySet

          public java.util.Set getKeySet()

      Deprecated.

    - #### getArguments

          public java.lang.Object getArguments()

      Deprecated.

    - #### setResult

          public void setResult(java.lang.Object oneResult)

      Deprecated.

    - #### setIsPostOperation

          public void setIsPostOperation(boolean isPostOperation)

      Deprecated.