public byte getOpType() {
    return opType;
  }
Return whether the operation is a create or update or unknown.

The user should check against {@link PutOperationContext#CREATE},
{@link PutOperationContext#UPDATE}, {@link PutOperationContext#UNKNOWN}. For the
{@link PutOperationContext#UNKNOWN} case, the authorization callback should explicitly invoke
{@link Region#containsKey} to determine if it is create or update when required.

@return one of {@link PutOperationContext#CREATE}, {@link PutOperationContext#UPDATE},
        {@link PutOperationContext#UNKNOWN}
geode-core/src/main/java/org/apache/geode/cache/operations/PutOperationContext.java