@Deprecated // @deprecated in favour of {@link HCatPartition.#getPartitionKeyValMap()}. To be removed in Hive 0.16.
  public Map<String, String> getPartitionSpec() {
    return hcatPartition == null? partitionKeyValues : hcatPartition.getPartitionKeyValMap();
  }
Gets the partition spec.

@return the partition spec
hcatalog/webhcat/java-client/src/main/java/org/apache/hive/hcatalog/api/HCatAddPartitionDesc.java