public static HiveStorageHandler getStorageHandler(Configuration conf, PartInfo partitionInfo) throws IOException {
    return HCatUtil.getStorageHandler(
      conf,
      partitionInfo.getStorageHandlerClassName(),
      partitionInfo.getSerdeClassName(),
      partitionInfo.getInputFormatClassName(),
      partitionInfo.getOutputFormatClassName());
  }
Create an instance of a storage handler defined in storerInfo. If one cannot be found
then FosterStorageHandler is used to encapsulate the InputFormat, OutputFormat and SerDe.
This StorageHandler assumes the other supplied storage artifacts are for a file-based storage system.
@param conf job's configuration will be used to configure the Configurable StorageHandler
@param storerInfo StorerInfo to definining the StorageHandler and InputFormat, OutputFormat and SerDe
@return storageHandler instance
@throws IOException
hcatalog/core/src/main/java/org/apache/hive/hcatalog/common/HCatUtil.java