public String getName() {
    try {
      return Warehouse.makePartName(table.getPartCols(), tPartition.getValues());
    } catch (MetaException e) {
      throw new RuntimeException(e);
    }
  }
Initializes this object with the given variables

@param table
         Table the partition belongs to
@param tPartition
         Thrift Partition object
@throws HiveException
          Thrown if we cannot initialize the partition
ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java