public HCatPartitionIterator getPartitionIterator() {
    return new HCatPartitionIterator(hcatTable, partitionSpecProxy.getPartitionIterator());
  }
Getter for an Iterator to the first HCatPartition in the HCatPartitionSpec.
@return HCatPartitionIterator to the first HCatPartition.
hcatalog/webhcat/java-client/src/main/java/org/apache/hive/hcatalog/api/HCatPartitionSpec.java