final public Deserializer getDeserializer() {
    if (deserializer == null) {
      try {
        deserializer = HiveMetaStoreUtils.getDeserializer(SessionState.getSessionConf(),
            tPartition, table.getTTable());
      } catch (MetaException e) {
        throw new RuntimeException(e);
      }
    }
    return deserializer;
  }
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