org.apache.hadoop.hive.ql
Class Context

java.lang.Object
  extended by org.apache.hadoop.hive.ql.Context

public class Context
extends Object


Constructor Summary
Context(HiveConf conf)
           
 
Method Summary
 void clear()
           
 org.apache.hadoop.fs.Path getResDir()
           
 org.apache.hadoop.fs.Path getResFile()
           
 String getScratchDir()
           
 DataInput getStream()
           
 void makeScratchDir()
           
 void removeScratchDir()
           
 void setResDir(org.apache.hadoop.fs.Path resDir)
           
 void setResFile(org.apache.hadoop.fs.Path resFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Context

public Context(HiveConf conf)
Method Detail

makeScratchDir

public void makeScratchDir()
                    throws Exception
Throws:
Exception

getScratchDir

public String getScratchDir()

removeScratchDir

public void removeScratchDir()
                      throws Exception
Throws:
Exception

getResFile

public org.apache.hadoop.fs.Path getResFile()
Returns:
the resFile

setResFile

public void setResFile(org.apache.hadoop.fs.Path resFile)
Parameters:
resFile - the resFile to set

getResDir

public org.apache.hadoop.fs.Path getResDir()
Returns:
the resDir

setResDir

public void setResDir(org.apache.hadoop.fs.Path resDir)
Parameters:
resDir - the resDir to set

clear

public void clear()

getStream

public DataInput getStream()


Copyright © 2009 The Apache Software Foundation