public static ChangeAction fromByteValue(byte value) {
    switch (value) {
      case 0:
        return INSERT;
      case 1:
        return UPDATE_BEFORE;
      case 2:
        return UPDATE_AFTER;
      case 3:
        return DELETE;
      default:
        throw new UnsupportedOperationException(
            "Unsupported byte value '" + value + "' for row kind.");
    }
  }
Creates a {@link ChangeAction} from the given byte value. Each {@link ChangeAction} has a byte
value representation.

@see #toByteValue() for mapping of byte value and {@link ChangeAction}.
amoro-format-iceberg/src/main/java/org/apache/amoro/data/ChangeAction.java