org.apache.hadoop.hive.ql.exec
Class ScriptOperator.PathFinder

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.ScriptOperator.PathFinder
Enclosing class:
ScriptOperator

public class ScriptOperator.PathFinder
extends Object

Maps a relative pathname to an absolute pathname using the PATH enviroment.


Constructor Summary
ScriptOperator.PathFinder(String envpath)
          Construct a PathFinder object using the path from the specified system environment variable.
 
Method Summary
 File getAbsolutePath(String filename)
          Returns the full path name of this file if it is listed in the path.
 void prependPathComponent(String str)
          Appends the specified component to the path list.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptOperator.PathFinder

public ScriptOperator.PathFinder(String envpath)
Construct a PathFinder object using the path from the specified system environment variable.

Method Detail

prependPathComponent

public void prependPathComponent(String str)
Appends the specified component to the path list.


getAbsolutePath

public File getAbsolutePath(String filename)
Returns the full path name of this file if it is listed in the path.



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