public Operation getCorrespondingCreateOp() {
    if (isUpdate()) {
      switch (opDetails) {
        case OP_DETAILS_SEARCH:
          return Operation.SEARCH_CREATE;
        case OP_DETAILS_LOCAL_LOAD:
          return Operation.LOCAL_LOAD_CREATE;
        case OP_DETAILS_NET_LOAD:
          return Operation.NET_LOAD_CREATE;
        case OP_DETAILS_PUTALL:
          return Operation.PUTALL_CREATE;
        default:
          return Operation.CREATE;
      }
    } else {
      return this;
    }
  }
Returns the create operation that corresponds to this operation. For an update operation the
corresponding create op is returned. For all other operations <code>this</code> is returned.

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