public static Builder create(HCatPartition partition) throws HCatException {
    return new Builder(partition);
  }
Constructs a Builder instance, using an HCatPartition object.
@param partition An HCatPartition instance.
@return A Builder object that can build an appropriate HCatAddPartitionDesc.
@throws HCatException
hcatalog/webhcat/java-client/src/main/java/org/apache/hive/hcatalog/api/HCatAddPartitionDesc.java