org.apache.hadoop.hive.ql.exec
Class ArchiveUtils.HarPathHelper

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.ArchiveUtils.HarPathHelper
Enclosing class:
ArchiveUtils

public static class ArchiveUtils.HarPathHelper
extends Object

HarPathHelper helps to create har:/ URIs for locations inside of archive.


Constructor Summary
ArchiveUtils.HarPathHelper(HiveConf hconf, URI archive, URI originalBase)
          Creates helper for archive.
 
Method Summary
 URI getHarUri(URI original, org.apache.hadoop.hive.shims.HadoopShims shim)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchiveUtils.HarPathHelper

public ArchiveUtils.HarPathHelper(HiveConf hconf,
                                  URI archive,
                                  URI originalBase)
                           throws HiveException
Creates helper for archive.

Parameters:
archive - absolute location of archive in underlying filesystem
originalBase - directory for which Hadoop archive was created
Throws:
HiveException
Method Detail

getHarUri

public URI getHarUri(URI original,
                     org.apache.hadoop.hive.shims.HadoopShims shim)
              throws HiveException
Throws:
HiveException


Copyright © 2014 The Apache Software Foundation. All rights reserved.