public void addToPartition(PartitionFieldData elem) {
    if (this.partition == null) {
      this.partition = new java.util.ArrayList<PartitionFieldData>();
    }
    this.partition.add(elem);
  }
Returns true if field specId is set (has been assigned a value) and false otherwise
amoro-common/src/main/gen-java/org/apache/amoro/api/DataFile.java