@org.apache.amoro.shade.thrift.org.apache.thrift.annotation.Nullable
  public static CommitMetaProducer findByValue(int value) { 
    switch (value) {
      case 0:
        return OPTIMIZE;
      case 1:
        return INGESTION;
      case 2:
        return DATA_EXPIRATION;
      case 3:
        return CLEAN_DANGLING_DELETE;
      default:
        return null;
    }
  }
Find a the enum type by its integer value, as defined in the Thrift IDL.
@return null if the value is not found.
amoro-common/src/main/gen-java/org/apache/amoro/api/CommitMetaProducer.java