public Operation getCorrespondingUpdateOp() {
    if (isCreate()) {
      switch (opDetails) {
        case OP_DETAILS_SEARCH:
          return Operation.SEARCH_UPDATE;
        case OP_DETAILS_LOCAL_LOAD:
          return Operation.LOCAL_LOAD_UPDATE;
        case OP_DETAILS_NET_LOAD:
          return Operation.NET_LOAD_UPDATE;
        case OP_DETAILS_PUTALL:
          return Operation.PUTALL_UPDATE;
        default:
          return Operation.UPDATE;
      }
    } else {
      return this;
    }
  }
Returns the update operation that corresponds to this operation. For a create operation the
corresponding update op is returned. For all other operations <code>this</code> is returned.

@return the update operation that corresponds to this operation
geode-core/src/main/java/org/apache/geode/cache/Operation.java