public String toString() {
    return String.format("PartitionDesc(partition=%s, location=%s, ifNotExists=%s)",
               partition, location, ifNotExists);
  }
A description of the partition to create.
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/PartitionDesc.java